Questions tagged [kubernetes]

For questions about Kubernetes, an open-source system for automating deployment, scaling, and management of containerized applications.

About Kubernetes (from kubernetes.io)

Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications.

It groups containers that make up an application into logical units for easy management and discovery. Kubernetes builds upon 15 years of experience of running production workloads at Google, combined with best-of-breed ideas and practices from the community.

Resources

915 questions
54
votes
6 answers

What does "Does not have minimum availability" in k8s mean?

What does "Does not have minimum availability" mean? A GitHub discussion was found, but it is not clear to me what the error message means.
030
  • 13,383
  • 17
  • 76
  • 178
35
votes
9 answers

How to get kubernetes pod network CIDR

I have a running k8s cluster initialized with kubeadm. On initialization, I did not pass the option --pod-network-cidr How do I get the CIDR of the pod network I tried Looking at the /etc/kubernetes/manifests/kube-apiserver.yaml which seems to be…
Tran Triet
  • 879
  • 3
  • 11
  • 21
34
votes
4 answers

How to copy files recursively to a Kubernetes pod?

I want to copy files recursively to a Kubernetes pod I tried kubectl cp -r I got: error: unknown shorthand flag: 'r' in -r What are the best ways to transfer whole directories recursively into a pod.
David West
  • 1,533
  • 3
  • 18
  • 25
25
votes
5 answers

Copy multiple files using * wildcard from kubernetes container

I have several files named out1, out2, ... in my Kubernetes container. I want to copy them to my local computer. I am using: $ kubectl cp pod:/path/out* . But I am getting an error: tar: Removing leading `/' from member names tar:…
user674669
  • 355
  • 1
  • 3
  • 6
21
votes
1 answer

What functional differences are there between kubernetes, rancher and mesos?

What are the main feature differences the popular container orchestration tools kubernetes, rancher, and mesos? What would lead you to choose one over the other?
tayworm
  • 670
  • 3
  • 8
19
votes
4 answers

Use one Helm chart for ALL microservices?

This is a follow up question to my post Parameterized Kubernetes manifest files?. I understand more about Helm now, after lots of reading, including the Learn Helm book (which I recommend). I still have this understanding that each microservice will…
Chris F
  • 477
  • 1
  • 4
  • 17
18
votes
2 answers

Kubernetes - How to show all service accounts

How do I show all service accounts In Kubernetes? I have tried kubectl get --all-namespaces all. It does not show service accounts. How can I use kubectl to list all service accounts?
David West
  • 1,533
  • 3
  • 18
  • 25
16
votes
2 answers

How can I add an additional IP / hostname to my Kubernetes certificate?

I've recently followed this guide to set up Kubernetes on my local Raspberry Pi cluster. I can access it fine on my LAN; however I'd like to be able to access it remotely as well. I've already set up port forwarding on my router, but when I try to…
soapergem
  • 201
  • 1
  • 2
  • 10
16
votes
2 answers

Docker In Kubernetes Deployment

I am using a third party library that creates sibling docker containers via: docker run -d /var/run/docker.sock:/var/run/docker.sock ... I am trying to create a Kubernetes deployment out of the above container, but currently getting: Cannot…
rys
  • 339
  • 1
  • 3
  • 9
14
votes
2 answers

Combine Docker Swarm and Kubernetes

My company is trying to play a little catch-up in the DevOps space. I have been doing a lot of research on containerization of applications and the orchestration systems that go with it. I came across an article (one that I wish I had saved) where…
EvanM
  • 248
  • 1
  • 6
14
votes
2 answers

How do I automate deployments with Kubernetes?

Assuming I have Kubernetes deployed via Rancher and Jenkins is building new images and pushing them to DockerHub upon check-in of new code to GitHub, how do I automate getting new images deployed? Another way to ask the question might be, “I used to…
Greg
  • 141
  • 2
14
votes
2 answers

Properly shutdown k3s on local machine

I've just installed k3s on my notebook (Ubuntu). Works fine. Great project. However, i do not need it to run 24/7 so, how do I properly shutdown the k3s cluster. Oddly, I cannot find anything about this in the documentation. Thanks
Moonlit
  • 243
  • 1
  • 2
  • 5
13
votes
2 answers

Docker Container capacity planning

I'm running my application on 4 Virtual Machines with 8 3.2 GHz Virtual CPUs and 32 GB, however, I will be splitting up the processes into separate containers. I am not sure how many containers to run per host. What are the typical numbers? For…
shrao
  • 139
  • 3
12
votes
7 answers

Is there one website that contains all relevant DevOps news and gets updated on a daily basis?

I am looking for some DevOps news channel like https://nos.nl/teletekst#101 that shows the headlines of the Dutch news. I am aware of https://tweakers.net/ and github.com, but this does not contain all interesting news on one page. Basically, I…
030
  • 13,383
  • 17
  • 76
  • 178
12
votes
5 answers

How to solve 'upstream connect error or disconnect/reset before headers. reset reason: connection termination' in Istio?

I try to setup an aws load balancer (ELB) with SSL follow the instruction at #6566 Certificate was attached on ELB. However, I got the issue "upstream connect error or disconnect/reset before headers. reset reason: connection termination" when…
pcuong
  • 261
  • 1
  • 2
  • 6
1
2 3
60 61