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
1
vote
1 answer

What does this logs mean? (kubelet)

Today one worker node of kubernetes cluster was in freeze at around 5:30-5:40 and I try to find out what the reason of it stucking, in order to this I look in /var/log/syslog. There are tons of log, but in interested time I see some strange logs.…
VladF
  • 11
  • 1
1
vote
1 answer

Pods are not communicating with each other after patching podcidr

I am trying to add new node to my K8s cluster, after adding it in cluster i started getting following error in canal pod- Error registering network: failed to acquire lease: node "e2e-98-15.ssdcloudindia.net" pod cidr not assigned To fix this i ran…
1
vote
0 answers

Handling a deployment in prod with in memory data with uwsgi & kubernetes

I'm in a bit of a bind here and I'm looking for pointers as to how to best manage my situation: So, I have a Flask app with uwsgi and I'm deploying this to Kubernetes with 2 pods. UWSGI configuration is 1 process and 4 threads are we're really…
Saturnian
  • 111
  • 1
1
vote
1 answer

azure kubernetes service - not able to pull images from ACR - connection refused - inconsistent

the issue started out of nowhere without any apparent change that we did. All of a sudden, deployments to our AKS (Kubernetes Version 1.23.8) clusters would randomly fail with errors like the below. To my undersatnding this means that the images…
1
vote
0 answers

kubeadm has a empty token list

I'm running a k8s cluster to study and when I run kubeadm token list on the master node doesn't do anything, just jump to another line. And there is no file /etc/kubernetes/pki/tokens.csv on the master node. root@k8s-master:~# kubeadm token list…
rodolpho
  • 23
  • 4
1
vote
1 answer

kubernetes - limiting count and frequency of image pulls cluster wide

I am getting image pull outage due to reaching the image pull count limit from docker hub, see "Events" section of the output of pod describe below. It seems a pod in the kubernetes cluster I have setup is not finding the image on docker hub and…
Allan K
  • 111
  • 2
1
vote
0 answers

Long latency to reply a TCP ACK

k8s environment(4 nodes, rke 1.21.5) We noticed there is randomly significant latency in socket data transferring between different k8s pods. Latency could be as long as 15 seconds in some cases. By analysing tcpdump, we found that in some cases,…
skyfire
  • 11
  • 1
1
vote
1 answer

ETCD restore granularity

I'm studying some backup and restore solutions for Kubernetes and Openshift, typically with Velero. So, I'm not familiar with ETCD backups, but I would like to ask about the granularity level of etcd snapshots restore. Does ETCD snapshots only allow…
1
vote
1 answer

nginx rewrite rules wildcards

I am trying to do the following nginx redirect /product/reports/v1/stores(/|$)(.*) to /stores(/|$)(.*) seems like it should be simple but I can not get it to work. My intention is to use the nginx.ingress.kubernetes.io/rewrite-target: annotation
Adam
  • 11
  • 1
1
vote
0 answers

Why is access to Kubernetes lost if I turn on the IPVS mode?

The problem is that after enabling the IPVS mode in the kube-proxy, everything works fine for me. But as soon as I install Traefik, I immediately lose connection with Kubernetes. OS: CentOS 7.9 $ uname -rs Linux…
Maksim
  • 11
  • 1
1
vote
0 answers

Default Grafana K8s app PV issue: FailedBinding persistentvolume-controller no persistent volumes available for this claim and no storage class is set

I am simply trying to deploy this Grafana app as-is, no changes to the YAML have been made: https://grafana.com/docs/grafana/latest/setup-grafana/installation/kubernetes/ VMs are Ubuntu 20.04 LTS. The Kubernetes cluster is made up of the…
SamAndrew81
  • 264
  • 1
  • 5
  • 20
1
vote
1 answer

Check if config map or secret is used?

Using kubectl or the Azure Kubernetes Services portal, how can I check whether a certain config map or secret is used by any resources?
D.R.
  • 145
  • 4
1
vote
1 answer

Running NFS server on Kube StatefulSet pod

I have a Kubernetes cluster setup with 2 StatefulSets in a Kube Namespace: NFSserver Statefulset defined with a "headless" service that has 1 pod with an attached persistent volume and running an NFS server exporting that Volume. DataClient…
DavidG
  • 113
  • 3
1
vote
1 answer

"kubeadm-config" in the kube-system namespace used for getting configuration information was not found

I have a Kubernetes cluster created by Kubeadm. My current version of the cluster is v1.19.2 and trying to upgrade to v1.20.15-0 Now I am trying to upgrade the kubeadm cluster via kubeadm upgrade plan but I got below error : [upgrade/config] FATAL:…
Muhaimin Aiman
1
vote
0 answers

How to get JSON-tokenized logs into cloudwatch with fluent bit in EKS 1.22 (containerd)

I would like to get the message of my log entry into AWS with correct json tokenization from CRI application logs when running in AWS EKS (version 1.22) My application outputs valid json, but the log line is prepended with YYYY-MM-DDTHH:MM:SS.MILLIZ…
Anonymouslemming
  • 801
  • 2
  • 14
  • 25