Questions tagged [kubelet]

The Kubernetes kubelet is the primary “node agent” that runs on each node. Questions about the kubelet are most likely OFF TOPIC FOR STACK OVERFLOW; consider asking cluster administration questions on another site like Server Fault.

The kubelet is a core part of that the primary “node agent” that runs on each node. The kubelet works in terms of a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn’t manage containers which were not created by Kubernetes.

Application developers rarely need to be directly concerned with the kubelet operation or administration. Most questions about the kubelet are not programming-related and are off-topic for Stack Overflow; other sites like Server Fault or DevOps Stack Exchange would be more appropriate places to ask. On-topic questions might include, for example, the Go k8s.io/kubernetes/pkg/kubelet package.

Reference: http://kubernetes.io/docs/admin/kubelet/

343 questions
0
votes
1 answer

Can't reach Kubernetes service from outside of node when kube-proxy in iptables mode

I have a Single-Node (master+node) Kubernetes deployment running on CoreOS, with kube-proxy running in iptables mode, flannel for container networking, without Calico. kube-proxy.yaml apiVersion: v1 kind: Pod metadata: name: kube-proxy …
Pricey
  • 308
  • 3
  • 13
0
votes
1 answer

getting 'Unauthorized' when testing kubernetes api-server

I have Container Linux by CoreOS alpha (1284.2.0) and I try to install kubernetes 1.5.2 on. I notice that the kube-proxy pod fails and I searched and I noticed that the api-server manifest might not be configured properly. I configured kubectl on…
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
1 answer

DataStoreError: Invalid ETCD_CA_CERT_FILE. Certificate Authority cert is required and must be a readable file path

I have two CoreOS stable (1185.5.0) servers at home. I try to install kubernetes controller and worker on these two. i use the coreos-kubernetes scripts to install from https://github.com/coreos/coreos-kubernetes/tree/master/multi-node/generic, and…
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
0 answers

GKE Persistant-disk container randomly dies and won't remount because of unmount pending

For some reason our google containers sometimes restart which we cannot find the cause of , this is fine i guess if they start up quick again which is sadly not the case. The issue seems to be that the persistant disk volume isn't unmounted quick…
JazzCat
  • 4,243
  • 1
  • 26
  • 40
0
votes
2 answers

configure kubelet to use rkt instead of docker on coreos

I'm trying to deploy master node as described in https://coreos.com/kubernetes/docs/latest/deploy-master.html on CoreOS beta (1153.4.0). I'm using the following kubeconfig yaml file: current-context: tuxin-coreos-context apiVersion: v1 clusters: …
ufk
  • 30,912
  • 70
  • 235
  • 386
-1
votes
0 answers

Is Swap memory feature available in kubernetes (not as alpha feature)

I am using kuberentes 1.24. In 1.22 swap memory is available as an alpha feature https://kubernetes.io/blog/2021/08/09/run-nodes-with-swap-alpha/ . Is this feature available in k8s 1.24. Thanks in advance
Ankit
  • 607
  • 1
  • 5
  • 12
-1
votes
1 answer

Singal node Kubernetes cluster Cent OS 8 is throwing "Container runtime network not ready" networkReady="NetworkReady=false"

I'm continuing to get error ""Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Networ" while setting up single node Kubernetes cluster on CentOs 8, already tried to install CNI plug in with…
SandOfTime
  • 692
  • 6
  • 15
-1
votes
1 answer

enabling PodSharingNamespace for kubelets / Perf Setup on kubernetes

I was going through a tutorial that said Ensure you are using Kubernetes 1.10+ and the following settings are enabled: Feature-gate PodShareProcessNamespace=true is turned on for both apiserver and kubelet I have searched online but am unable to…
-1
votes
1 answer

How does kubelet interpret the results of healthcheck end point?

Below is the Pod resource type for deploying a container: apiVersion: v1 kind: Pod metadata: name: my-container labels: app: myapp rel: stable spec: containers: - name: my-container image: myimage:latest resources: …
overexchange
  • 15,768
  • 30
  • 152
  • 347
-1
votes
1 answer

kubeadm init failing while initializing a Kubernetes cluster

execution logs from kubeadm init VM OS Version - RHEL 8.2 (4.18.0-193.el8.x86_64) Docker Version - 19.03.8 Kubernetes Version - 1.18.0 H/W Configuration - 4 CPU and 16 GB RAM (90% available) $$kubeadm init --kubernetes-version="v1.18.0"…
Balu R
  • 87
  • 1
  • 1
  • 10
-1
votes
1 answer

Kubelet custom path monitoring

I'm running kubernetes 1.8.5 and was wondering if there is a way to tell the Kubelet to monitor /var/lib/docker instead of / on the host.
-2
votes
1 answer

Kubernetes: Frequently unable to communicate with kublet api (connection refused)

I'm deploying a new kubernetes cluster on a single node (Ubuntu 22.04) The problem is I frequently get this error when running any kubectl commands (hostnames changed) The connection to the server k8cluster.example.com:6443 was refused - did you…
Aditya K
  • 173
  • 2
  • 9
-2
votes
1 answer

minikube won't start after a reboot

After rebooting Ubuntu 22 minikube will not start. It shows this error message: [kubelet-check] It seems like the kubelet isn't running or healthy. ... Unfortunately, an error has occurred: timed out waiting for the condition This error is…
Dean Schulze
  • 9,633
  • 24
  • 100
  • 165
1 2 3
22
23