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

Can a Kubernetes pod span nodes?

The Docs say... A pod (as in a pod of whales or pea pod) is a group of one or more containers (such as Docker containers), the shared storage for those containers, and options about how to run the containers. Pods are always co-located and…
Bruno Bronosky
  • 4,429
  • 3
  • 24
  • 32
9
votes
1 answer

How could I find the Kubernetes POD restart reasons

In have scaled my pods to 20 in my cluster and when I see the next day the few of the scaled pods were recreated. When I say POD recreated, it is getting deleted and created freshly and the timestamp of the recreated pod and the scaled pods vary. I…
Nikhil
  • 151
  • 1
  • 1
  • 6
9
votes
4 answers

kube-proxy won't start in Minikube because of permission denied issue with /proc/sys/net/netfilter/nf_conntrack_max

After updating Arch Linux (sudo pacman -Syu) and restarting the system, Minikube fails to start because of kube-proxy. The logs show it was trying to modify /proc/sys/net/netfilter/nf_conntrack_max but it ran into a permission denied issue. I tried…
RedGiant
  • 211
  • 3
  • 14
8
votes
1 answer

Kubernetes deployment "failed to pull image" with local registry, minikube

I'm getting a "Failed to pull image" error on my deployment in minikube with a local registry, despite other deployments using the same image registry working as expected. My workflow is to build the image from a Dockerfile called docker.collection…
Ben
  • 241
  • 1
  • 3
  • 10
8
votes
3 answers

How do I give a docker container its own routable IP on the original network?

Main question Imagine this scenario. A network of 192.168.0.0/24. A computer with hostname 'Docker-Host' is running a docker engine at 192.168.0.2 'Docker-Host' has sshd server running On 'Docker-Host' , I'm running a application in a container…
TrevorKS
  • 233
  • 1
  • 2
  • 6
8
votes
3 answers

Kubernetes - how to map docker run command-line parameters to kubectl command line

I need to run this Docker command in Kubernetes: docker run -p 8080:8080 sagemath/sagemath sage -notebook I can map everything across except "-notebook" - does anyone know how to do that? Here is what I have so far, and of course it doesn't work…
A X
  • 382
  • 2
  • 8
  • 23
8
votes
1 answer

Static IP with "kubectl expose" on Google Container Engine stays in state forever

I am trying to expose a kubernetes "deployment" via the kubectl expose command, wih a static IP address, on Google Container Engine. With an ephemeral IP, everything works fine: kubectl expose deployment my-application \ --type="LoadBalancer"…
Adrian Smith
  • 276
  • 4
  • 9
8
votes
2 answers

Pod keeps restarting and is in a CrashLoopBackOff state

One of our pods won't start and is constantly restarting and is in a CrashLoopBackOff state: NAME READY STATUS RESTARTS …
Dexter J.
  • 93
  • 1
  • 1
  • 3
8
votes
1 answer

Worker Group VS Node Group EKS

I am trying to use https://registry.terraform.io/modules/terraform-aws-modules/eks/aws/12.2.0(Terraform AWS EKS provider) What is the difference between worker nodes and node group?
8
votes
2 answers

How to rewrite url to backend while preserving browser url in nginx ingress?

I'm trying to rewrite the path to the service while preserving the browser url with nginx ingress on kubernetes. What I need is this: http://example.com/path => http://service http://example.com/path/bar =>…
Natan
  • 183
  • 1
  • 2
  • 8
8
votes
4 answers

How do I check the max pod capacity of a Kubernetes node

I am busy setting up new k8s cluster. I am using rke with the --max-pods: 200 kubelet: # https://rancher.com/docs/rke/latest/en/config-options/services/services-extras/#extra-args extra_args: - max-pods: 200 #…
nelaaro
  • 584
  • 4
  • 9
  • 25
7
votes
1 answer

Google Kubernetes Engine node pool does not autoscale from 0 nodes

I am trying to run a machine learning job on GKE, and need to use a GPU. I created a node pool with Tesla K80, as described in this walkthrough. I set the minimum node size to 0, and hoped that the autoscaler would automatically determine how many…
7
votes
1 answer

WEBRTC MCU/SFU inside kubernetes - Port Ranges?

I am using janus-gateway as a webrtc media server for group videocalling. Previously I had deployed it in a single node using docker-compose but now I want to be able to scale it horizontally. For this, I am trying to use kubernetes but I am facing…
Abdul Basit
  • 171
  • 1
  • 2
7
votes
1 answer

Amazon EKS: how to configure S3 access for worker nodes?

How can I configure an EKS cluster to automatically allow S3 access from worker nodes? I've set up an EKS cluster following the Getting Started guide and have run the example Guest Book app. Now I want to use Snakemake to run bioinformatics…
7
votes
2 answers

From docker containers to Google Kubernetes

This one is a little theoretical but please bear with me. Currently I have a server running a few Docker containers (4 or 5, depending on day and time). I plan to add another one, just like the first, and maybe even a third one. Now, my question is…
dlyk1988
  • 1,644
  • 4
  • 24
  • 36