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.

2352 questions
0
votes
0 answers

Calico : Virtual Network Interfaces not created by calico

I had been using calico-policy-only (v 3.22) mode with kubernetes 1.24.1 in my worker nodes. Recently worker nodes were upgraded to 1.25.4 , so for compatibility we had to upgrade calico as well to ver 3.25. Calico poliy only…
devcodes
  • 101
  • 2
0
votes
1 answer

Crashing cluster after kubeadm init on VPS

Problem Whenever I create my cluster, and deploy Flannel, it works for maybe ~5 minutes. When I check the cluster info by kubectl cluster-info, it shows the correct information. After a while, it simply shows The connection to the server…
Bas
  • 101
  • 1
0
votes
0 answers

Achieving HA Kubernetes Cluster with Combined Control Plane and Worker Nodes

I have a question regarding the possibility of achieving a high-availability (HA) Kubernetes cluster by combining three nodes that serve both as control plane and worker nodes. My understanding is that each worker node can connect to its respective…
Fritz
  • 103
  • 3
0
votes
1 answer

Trying to install Kubernetes in RHEL 8.5 (CRI-O) - getting error

Trying to install Kubernetes in RHEL 8.5 (CRI-O) - getting error Error: Failed to download metadata for repo 'devel_kubic_libcontainers_stable: Downloading error(s):…
0
votes
0 answers

Rancher 2 RKE cluster component kube-api-auth is throwing an error with v1Authenticate request

I’m facing a strange error in my RKE1 k8s cluster. Running 1.24.13 on vsphere. kube-api-auth is constantly throwing these errors in the logs: time="2023-06-08T09:21:09Z" level=info msg="Starting Rancher Kube-API-Auth service on…
0
votes
1 answer

Trying to get Nginx redirect working in a pod

So, I'm trying to do a very basic Nginx redirect from https://strnordicfin.eu/magnesium-fakta to https://strnordicse.eu/ntr/some/magnesium/ (just training domains, no worries). My nginx-config looks like this, worker_processes 1; events {…
0
votes
1 answer

How kubernetes can expose port when docker not allows exposing port after creation

As far as i know, in docker you have to describe the ports that will be used on container while creating it, and you cannot add any other ports afterwards. But as i see, in kubernetes you can "expose" the ports after the creation of the pods. So…
0
votes
1 answer

How to handle kubernetes workload crash-loop under load

Here is what I consider a quite generic situation for which I'm not sure what the best solution is. Consider you have a k8s workload where pods need 10-30seconds to be Ready. If at some point you get a load spike that start to crash your pods for…
mveroone
  • 474
  • 7
  • 22
0
votes
1 answer

K8S cluster pod can't solve service name if pod on different node from coredns pod

I created a k8s Cluster v1.26.0 with kubeadm and I am using Calico as CNI. I deploy calico with the helm chart and I followed the steps by the Calico official page and chart. The container engine is containerd. The nodes Node are Centos 8 and we…
0
votes
0 answers

Frequent DiskPressure in Kubernetes Nodes

I'm currently facing an issue where one of my Kubernetes nodes keeps experiencing DiskPressure, leading to pod evictions and disruption of services. Despite our best efforts, we are struggling to identify the root cause of this problem. I'm seeking…
Ceereals
  • 1
  • 1
0
votes
0 answers

DNS resolution is not working in k8 pods after k8 version upgraded to v1.25

We have upgraded our Kubernetes version from v1.24 to v1.25. We have used kubespray (version v1.2.21) for cluster creation. The cluster is upgraded successfully to v1.25. But once we deploy pods, not able to connect to outside networks like…
0
votes
0 answers

How to enable overlay inside of crio containers?

For Gitlab ci/cd I have the following infrastructure: There is a Gitlab instance, which is connected to a kubernetes cluster(crio engine), via a gitlab kubernetes runner. When there is a commit, the runner picks up the job and runs it in a…
iaquobe
  • 101
0
votes
0 answers

Why is k3d Node 'k3d-gitops-playground-server-0'restarting for more than a minute now?

I a trying to reproduce gitops playground After bash <(curl -s \ https://raw.githubusercontent.com/cloudogu/gitops-playground/main/scripts/init-cluster.sh) \ && sleep 2 && docker run --rm -it --pull=always -u $(id -u) \ -v…
MikiBelavista
  • 333
  • 2
  • 5
  • 12
0
votes
1 answer

Customizing capability in migrating pod security admission

From my understanding, in the pod security admission(PSA), there is no customization feature. We can only select one of the security levels (privileged, baseline or restricted) Now, there is a pod which uses capability CAP_NET_ADMIN only. But, as…
JayJay-K
  • 1
  • 1
0
votes
1 answer

Kubeadm - Kubernetes: Failed to fetch https://packages.cloud.google.com/apt/dists/kubernetes-xenial/main/binary-arm64

I am trying to deploy kubernetes (kubeadm cluster) on ARM64 based Ubuntu 20.04 virtual machine. I am getting the follwoing error when deploying kubeadm: xxx@controller01:~$ sudo mkdir -p /etc/apt/keyrings/ xxx@controller01:~$ curl -fsSL…
Khaled
  • 101
  • 1
1 2 3
99
100