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

Connection to a private k8s cluster: failed to find any PEM

I have a Kubernetes cluster which is running in a private cloud. I want to run some commands from another VM but I receive this: [root@runner-tmp ~]# kubectl get pods --kubeconfig local-cluster.yaml error: tls: failed to find any PEM data in…
DobreMihaela
  • 41
  • 1
  • 6
3
votes
0 answers

How to provision baremetal kuberenetes cluster using magnum with only one vlan?

There does not seem to be a guide that follows through on how to deploy a baremetal Kubernetes cluster using magnum. I got to the point of having the baremetal servers turn on and initiate the pxe request, however, the dnsmasq server does not…
3
votes
1 answer

Minikube mount datadir at minikube start

So I actually want to start my minikube cluster with a special directory mounted on it, on /data. This directory contains my db datas. For this I try: minikube start \ --driver=docker \ --extra-config=apiserver.service-node-port-range=1-35000…
nail0x
  • 43
  • 4
3
votes
1 answer

New Kubernetes cluster setup Calico: "Failed to stat() nodename file: stat /var/lib/calico/nodename: no such file or directory"

i have trouble to add a CNI to a kubernetes master node, the CNI plugin does not have access to certain files or folders. The logs from Calico and Flannel say that certain files or folders are not accessable (In the post I only refer to Calico). I…
Kokos Bot
  • 63
  • 1
  • 6
3
votes
2 answers

Why are pods failing to schedule due to resources when node has plenty available?

The pods in my application scale with 1 pod per user (each user gets their own pod). I have the limits for the application container set up like so: resources: limits: cpu: 250m memory: 768Mi requests: cpu: 100m …
Ben Davis
  • 250
  • 1
  • 4
  • 16
3
votes
1 answer

Do I need to run kubectl apply kube-flannel.yaml on worker node?

I run kubeadm init successfully on my kubernete master node. And then I run kubectl apply -f kube-flannel.yml My understanding is that flannel needs to be installed on all nodes. However, none of online tutorial say that I need to apply…
Max Li
  • 131
  • 1
3
votes
1 answer

What Are the Hardware Requirements of Kubernetes Master Node

We are trying to setup one cluster with 25 worker nodes and 1 master node. Before doing that, we need to choose the hardware, especially for the master node. How to estimate the hardware resources we need? Do hardware requirements of the master node…
Steve Peng
  • 509
  • 1
  • 8
  • 18
3
votes
2 answers

How to change the default certificate chain in Kubernetes Ingress

I'm using AKS on Azure and Ingress with Let's Encrypt certificate (configured by https://docs.microsoft.com/en-us/azure/aks/ingress-static-ip) The certificate chain defaults to DST Root CA X3 but I would like to change it to alternative ISRG Root…
3
votes
1 answer

How do you get the external ip-address from inside a running Pod in a Kubernetes cluster?

Some services require their external ip-address as provided by a loadbalancer-object like Metallb at runtime (say for example an LHOST or pasv_address). Let's say you have build an image based on Alpine:latest. Attached to the pod, there seems to be…
wandawata
  • 61
  • 1
  • 6
3
votes
1 answer

failed loading custom repository config /etc/yum.repos.d/kubernetes.repo in CentOS 8

I am add a custom repository config in CentOS 8 like this in my kvm virtual machine like this: [root@localhost ~]# cat /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes …
Dolphin
  • 301
  • 1
  • 6
  • 14
3
votes
1 answer

Is it viable to run your own private Kubernetes-Cluster?

I am currently doing some research for my company concerning Kubernetes. We want to evaluate hosting our own Kubernetes-cluster from our bare-metal servers inside our private computing centre. I only ever worked with managed Kubernetes (like Google…
OHithere
  • 33
  • 4
3
votes
2 answers

Kubernetes cluster shared storage and backup solutions

Which shared storage solutions are common for Kubernetes cluster to implement shared storage persistence for containers? NFS on NAS / iSCSI somehow? How do you backup the data on a Kubernetes with this type of storage?
2
votes
1 answer

rabbitmq kubernetes with NFS mount

I tried to set up a rabbitmq cluster in a kubernetes envirnoment that has NFS PVs with the help of this tutorial. Unfortunately it seems like the rabbitmq wants to change the owner of /usr/lib/rabbitmq, but when I have a NFS directory mounted there,…
Al Hoo
  • 121
  • 1
2
votes
1 answer

What is the point of running self managed kubernetes cluster?

I have been researching k8s lately. I am a bit confused by the idea of self managing k8s cluster in the cloud. I have read about people doing it, but still I am not sure what are the price benefits if you are already running services on VMs in the…
hahcho
  • 123
  • 5
2
votes
2 answers

MountVolume.MountDevice failed operation with the given Volume ID already exists

Environment: Kubernetes cluster with 1 master and 3 nodes Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-66-generic x86_64) (VMWARE VMs) screenshot from dashboard Pod (simple nginx image) cannot be mounted to a specified Volume in Kubernetes cluster with…
Alec
  • 23
  • 1
  • 5