Questions tagged [kubernetes]

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.

For more details, visit the official Kubernetes page.

2075 questions
2
votes
1 answer

Kubernetes + Rancher: multiple VLANs

I intend to deploy a k8s + Rancher cluster on my local network, but my environment has several VLANs, with pfsense acting as a firewal and router between such VLANs. My cluster resides in XCP-NG as a hypervisor and I will inform the VLANs that it…
user562397
  • 21
  • 2
2
votes
1 answer

Kubernetes not regenerating SSL Certificate

I have tried and tried many different things, and I'm unable to land into a solution. The certificate was issued once using letsencrypt, but was never refreshed. Could you people give me a hint on what I'm doing wrong? This is my current setup: …
fceruti
  • 225
  • 1
  • 3
  • 12
2
votes
2 answers

Are oversubscription and overcommitment the same?

I see the terms being used together in the context of QoS and compute resource usage in the cloud, but I am lacking a formal definition of the terms and how they relate. For example, this documentation states: In an overcommitted environment, it is…
1
vote
0 answers

Axios in a Node.js container on Kubernetes is returning “ECONNREFUSED 127.0.0.1:30561”?

Full error message: connect ECONNREFUSED 127.0.0.1:30561 at TCPConnectWrap.afterConnect The axios request is running in a Node.js environment (Next.js), which is where the error occurs, strangely the axios request works perfectly fine when it is…
thatguyjono
  • 111
  • 2
1
vote
1 answer

GlusterFS Volume Creation Suggestion

I have to deploy multiple Openshift Clusters from 3 nodes to 10 nodes. For 3 nodes i am creating volumes as replicated. But for 4 and above it doesn't look nice to create replicated volume, so each node has 300GB disk and replicating it to 10 nodes…
ImranRazaKhan
  • 115
  • 2
  • 13
1
vote
1 answer

pod's name from an environment variables defined in yaml

how can I create a yaml file for pod that get its name from a environment variables defined in yaml file. I have tried this but it is not allowed. metadata: generateName: $(HOSTNAME) . . . env: - name: HOSTNAME valueFrom: …
esxzawq
  • 121
  • 1
  • 10
1
vote
2 answers

Pod stuck on ContainerCreating due to FailedMount

I have a sporadic issue specifically with big volumes (~2TB) where the pod in my Kubernetes cluster is stuck on "ContainerCreating" with the reason : failed to mount the volume as "xfs", it already contains unknown data, probably partitions. Mount…
Wael Gabsi
  • 11
  • 1
  • 3
1
vote
1 answer

Kubernetes MySQL cluster in a private cloud

I'm interested in MySQL cluster formed from 1 primary and 2 secondaries. Usually in a public cloud we use external storage use services such as RDS so replication and failover handled behind this service you can recreate failed pod on a different…
laimison
  • 519
  • 2
  • 7
  • 16
1
vote
1 answer

kubectl not showing new context created in GCP

From client A, I created a new kubernetes cluster in GCP as follows: $ gcloud container clusters create my-new-cluster --num-nodes 3 From client A, I can see the new context was created: $ kubectl config get-contexts CURRENT NAME …
jersey bean
  • 125
  • 1
  • 7
1
vote
1 answer

Kubenet Style Networking in GKE

I was doing some research on GKE, and was trying to understand the way the pod networking was set up. It surprised me to see that pods received IPs in the GKE cluster's subnet, and that those IPs were addressable from other devices in the VPC. I was…
Workman
  • 11
  • 2
1
vote
1 answer

kubernetes metrics-server giving context deadline exceeded

I am using multiple GKE managed clusters on version 1.14.8-gke.12 in a shared VPC setting. Suddenly, one of my clusters has stopped giving proper metrics for HPA. The metric server is up and running, but this is the output on HPA: NAME …
Aditya Aggarwal
  • 113
  • 1
  • 5
1
vote
1 answer

Pod age longer than node age on preemptible node in GKE

We are running a Google Kubernetes Engine cluster where all the nodes are marked "preemptible". From the Google documentation: Preemptible VMs are Compute Engine VM instances that last a maximum of 24 hours and provide no availability…
user35042
  • 2,601
  • 10
  • 32
  • 57
1
vote
1 answer

Kubernetes CluterIssuer Challenge timeouts

Setup: DigitalOcean K8S Cluster w/ 2 nodes and 1 Ingress-NGINX LoadBalancer (no special configuration) I was wondering why certificate requests fail and found in the logs of the Challenge, that the self check GET request runs into timeout: Waiting…
Chris
1
vote
1 answer

kube-apiserver high much ram usage

I have a Kubernetes cluster with 4 nodes and around 100 pods and kube-apiserver start with flag --target-ram-mb=512 kube-apiserver consumes ~3GB of RAM and it is growing (pprof) top Showing nodes accounting for 1.42GB, 82.29% of 1.73GB…
user2265148
  • 11
  • 1
  • 2
1
vote
1 answer

Kubernetes CNI Hairpin Traffic

I setup a Kubernetes cluster using Kubernetes the Hard Way tutorial, and the connection is hanging whenever a Pod connects to another Pod on the same node through a ClusterIP (hairpin traffic). If I access the pods directly, without going through…
aarosil
  • 111
  • 5