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
6
votes
1 answer

Can't delete dangling k8s load balancer due to http target proxy that doesn't exist

I'm trying to delete the forwarding rule, target proxy, url map and backend services that belong to an extinct k8s ingress. I successfully delete the forwarding rule and target proxy but then when I go to delete the url-map I get this: gcloud…
6
votes
2 answers

Kubernetes rename cluster

New to Kubernetes. How do I rename the cluster after kubeadm init. The default cluster name is kubenetes and I want to rename it to something more meaningful. Searched all around and can not find any instructions. Thanks!
user558100
  • 63
  • 1
  • 3
5
votes
1 answer

Kubernetes - How to debug Failed Scheduling "0 nodes are available"

I often find myself trying to spin up a new pod, only to get an error saying that no node is available. Something like: 0/9 nodes are available: 1 node(s) had no available volume zone, 8 node(s) didn't match node selector. I'm always at a loss when…
aspyct
  • 340
  • 6
  • 19
5
votes
3 answers

How to configure Redis Cluster inside a Kubernetes cluster to be accessible by external applications

I'm having trouble exposing my Redis Cluster on Kubernetes to external applications. Using a Kubernetes load balancer service, I'm able to assign an external IP to Redis which provides initial connectivity. The trouble is, whenever the client…
shrumm
  • 116
  • 1
  • 9
5
votes
3 answers

Google Cloud Run - How to mount FileStore / NFS?

Our application requires the presence of data on two filestores. On our current Kubernetes configuration, we use a persistent volume like so: apiVersion: v1 kind: PersistentVolume metadata: name: fileserver-input spec: capacity: storage:…
5
votes
1 answer

Kubernetes, Docker and vm.max_map_count

While attempting to run ElasticSearch on K8 I ran into an error that would kill the container: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] Fortunately this is pretty well documented and I was able to…
5
votes
1 answer

OpenShift: Cronjob is executed in wrong timezone despite master configuration is correct

I have a configured a cronjob in OpenShift. Its crontab entry looks like this: spec: schedule: "0 3 * * 1-5" jobTemplate: So it should run at 03:00 in the morning on weekdays. All cluster nodes are configured to use our local timezone, CET,…
simonszu
  • 343
  • 5
  • 14
5
votes
9 answers

AWS EKS update-kubeconfig does not respect --role-arn flag

Whenever I run the following command with the role that that was used to create the eks cluster... aws eks update-kubeconfig --name eks-cluster --role-arn arn:aws:iam::999999999999:role/eksServiceRole ... I get the following error: An error…
Kurt Mueller
  • 161
  • 1
  • 2
  • 6
5
votes
1 answer

Configuring Kubernetes Service as a UPnP Device

Problem I have set up a two-node bare-metal kubernetes cluster configured with weavenet and metallb. I would like services hosted on this cluster to discover and interact with UPnP devices on my home network. I believe that for this to work, the…
5
votes
2 answers

Kubernetes: detect and auto-update deployment on image update

We're running multiple, globally distributed Kubernetes clusters that need to run the same software. When we release an update to this software (as a Docker image uploaded to a private Docker repo), our current deployment pipeline needs to iterate…
shevron
  • 326
  • 2
  • 4
  • 10
5
votes
1 answer

In AWS EKS, what security group allows access to master node from kubernetes client?

When I create a EKS cluster, I can access the master node from anywhere. Even though, the control plane security group only allows the worker to control plane connectivity (default configuration). How can the access to the control plane be limited…
Paddy
  • 455
  • 1
  • 5
  • 8
5
votes
1 answer

Kops / Kubernetes: No context set in kubecfg, name is required

Someone else in my org did the initial setup Kubernetes setup with Kops on AWS, so we already have the S3 bucket config and the cluster running. My local env KOPS_STATE_STORE is pointing to the previously setup S3 bucket. The CLUSTER_NAME env is set…
alyx
  • 231
  • 1
  • 9
5
votes
5 answers

kubectl cannot authenticate with AWS EKS

I cannot get kubectl to authenticate with the EKS Kubernetes instance my coworker created. I've followed the documentation: the AWS CLI can run aws eks commands (I'm an AWS Full Administrator), and the heptio authenticatior is in my path and can…
spiffytech
  • 1,043
  • 2
  • 11
  • 16
5
votes
2 answers

Is there any way to attach an existing volume (one I just restored from a snapshot) to a PVC?

I have a mongodb-replicaset created with the helm chart. The chart creates PVCs based on the StorageClass I provide. I annotate my volumes with a tag picked up by a cron job that snapshots the volumes. In the event I need to restore from backup…
monty0
  • 201
  • 2
  • 7
5
votes
1 answer

Routing traffic through OpenVPN on Kubernetes with Calico

I am running a kubernetes cluster on the IBM container service. I have an OpenVPN pod set up, which successfully allows clients to connect. Clients have fixed IPs assigned using CCD (in the range 10.240.0.0/16). I would like other pods in my cluster…
Hayden Ball
  • 51
  • 1
  • 2