Questions tagged [kubeadm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
47 views

KubeADM cluster: how to configure DNS properly

I have the following project that I use to create my own Kubernetes cluster on the local machine (macOS) via KubeAdm: https://github.com/sasadangelo/k8s-cluster Basically, I started from this project ...
0
votes
1answer
91 views

Kubernetes: kubeadm join fails in private network

I'm trying to set up a HA Kubernetes cluster on Hetzner Cloud following this guide. I've created 6 servers, 3 control plane hosts and 3 workers. When trying to use kubeadm to join the second server to ...
1
vote
1answer
55 views

How to check if a node in k8s cluster got rebooted

k8s master checks for kubelet status at frequent intervals. Maybe we can change that time and that makes the node not-ready. But that doesn't always mean that the node got rebooted. How to change ...
0
votes
1answer
51 views

Choosing Public IP or VPC IP for creating Kubernetes cluster

I have 3 compute engines (VMs) from a cloud provider, and I can connect to them using my SSH key and their public IP. I want to run a Kubernetes cluster (1 master, 2 workers) using kubelet on these ...
0
votes
1answer
53 views

kubeadm tool fail to initialize cluster when --advertise ip address is DNS Entry instead of actual IP address

I'm initializing the cluster using kube-adm tool and its failing.The reason is when kube-api server comes up , it looks for configuration and in configuration we have set "--advertise-address&...
1
vote
2answers
362 views

How can I find which kubernetes certificate has expired?

I have a kubeadm installed kubernetes cluster. Recently it stopped working. kubelet is running but seems stuck in initialization phases. I think the root cause is this recurring log in kube-apiserver: ...
1
vote
1answer
35 views

How to change the hostname on the single-node K8s node

Environments: OS: Ubuntu 18.04.5 LTS Kubernetes: v1.16.15 deployment tool: kubeadm v1.16.15 I initialize a single-node K8s on my workstation with the following configuraions: --- apiVersion: kubeadm....
1
vote
1answer
144 views

coredns pods stuck in Pending state

I'm trying to learn k8s and since I happen to have access to OpenStack cloud I figured I'll try to install k8s on it, following this wiki. So far I was able to initialize cluster, install weave CNI, ...
0
votes
1answer
25 views

Unable to install a Pod network add-on due to refused connection to localhost:8080

I'm trying to create a kubernetes cluster (my first :D) using kubeadm under the control plane node - a VM Centos7-. Environment: kubeadm version : v1.21.1 Kubernetes version: v1.21.1 VM Centos 7 (2 ...
0
votes
0answers
15 views

I want to get aws kinesis data using Kubeless

I built a controller that detect writing to kinesis. (kinesistriggers.kubeless.io)enter link description here When this controller detects a write to kinesis python function associated with the stream ...
0
votes
1answer
145 views

Which certificate does kubelet use?

This is a kubeadm based 1.16 cluster. The way I understand mTLS work between an apiserver & kubelet is: apiserver -> kubelet --kubelet-client-certificate & --kubelet-client-key => The ...
1
vote
1answer
185 views

Warnings in kubeadm after migrating from docker to containerd

I run a kubernetes cluster, installed with kubeadm. I recently upgraded from 1.19 to 1.20 and migrated the container runtime from docker to containerd, since docker is now deprecated. I configured ...
-1
votes
1answer
360 views

Changing Kubernetes cluster IP addres

I have a single-node Kubernetes cluster that I need to change IP. I see that the current IP is within many configuration files, which is not a big problem. The bigger problem is that when I changed ...
1
vote
0answers
70 views

Kubernetes in RasPi 4B does not detect RAM

I'm trying to set up a Kubernetes cluster on a bunch of Raspberry Pi 4B nodes. I adopted the setup I use for my v-kube-cluster (Kubernetes in virtual boxed using vagrant). See https://github.com/...
2
votes
1answer
112 views

Kube-apiserver crashing

I am trying to create a kubernetes cluster on my local machine. I created 3 vm's (two master and a slave). I am using kubespray(v2.15.0) to create my cluster, But my kube-apiserver contianer keeps ...
0
votes
1answer
1k views

How to renew a certificate in Kubernetes 1.12

Hi I am currently working on renewing my certificate on Kubernetes version 1.12. The certificate expires after a month. Before the certificate expires We need to renew the certificate and apply it to ...
0
votes
0answers
97 views

How can I safely NFS mount /var/lib/kubelet in a kubernetes cluster with diskless worker nodes?

Background: I have a bare metal Kubernetes cluster. The master node is diskful, however all of the worker nodes are diskless, and PXE boot off of a machine which provides their OS image and non-...
0
votes
0answers
440 views

Kubernetes : kube-dns service not accessible via ClusterIP

Following an upgrade to v1.19.7 with kubeadm, my pods are unable to request the kube-dns service via the service's ClusterIP. When using the kube-dns pod IP address instead, DNS resolution works. kube-...
0
votes
0answers
42 views

How To Install Kubernetes Cluster on Multiple Subnet workers (Bare Metal)

My question is how to install kubernetes Cluster from the give below Requirement. 3 Master Nodes IP Range 10.90.10.0/24 Master1 :10.90.10.20 Master2: 10.90.10.21 Master3: 10.90.10.22 3 Worker ...
2
votes
1answer
567 views

What is the proper way to modify kubelet and control-plane configuration with kubeadm?

I've installed a kubernetes (v1.20.0) cluster with 3 masters and 3 nodes using kubeadm init and kubeadm join, all on Ubuntu 20.04. Now I need to update the configuration and Add --cloud-provider=...
0
votes
1answer
112 views

Kubernetes - Controller-manager and Scheduler is not listening on ports 10251-10252

I have installed kubernetes using kubeadm tool and has version 1.20.0 but it seems that the controller-manager and scheduler is not listening on 10251 and 10252 ports. due to this prometheus is unable ...
1
vote
1answer
2k views

How to disable kubectl insecure approval towards the kube apiserver

I am trying to make my Master Server-API more secure in order to avoid allowing non https requests to go through. Sample of config: $ kubectl config view apiVersion: v1 clusters: - cluster: server:...
0
votes
0answers
27 views

Update kube-apiserver static pod after etcd member removal

I have created a 3 master 3 worker cluster with kubeadm along with etcd cluster as system services running on master nodes.Configured etcd clusters as external endpoints and they are running on the ...
1
vote
1answer
264 views

docker won't run k8s containers (including control plane): “unable to find user 0: invalid argument”

I have had a k8s cluster running for a while without issues. A few days ago, it wouldn't start and when the kubelet starts it creates a number of control-plane containers (in an apparent infinite loop)...
0
votes
1answer
41 views

Why kubectl is required to be installed on every node while setting up cluster using kubeadm?

According to kubernetes documentation here, https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#installing-kubeadm-kubelet-and-kubectl Setting up a Kubernetes ...
0
votes
1answer
241 views

Kubernetes services timing out on accessing pods on different workers

I'm trying to stand up a pair of kubernetes workers on EC2 instances, and running into a problem where the service does not appear to "see" all of the pods that it should be able to see. My ...
0
votes
1answer
894 views

Update apiserver certificates for HA k8s cluster

I have HA k8s cluster that was created by kubeadm. I would like to update API server certificate to add additional SANs. For this purpose I followed some steps described in another post, but what I ...
0
votes
0answers
94 views

Run kubeadm upgrade node in second node point to first node

I am stuck in a problem and I have no idea how to solve it. I am trying to upgrade my cluster from 1.15.7 to 1.16.12. I am using kubeadm to do it. I am running in the first node (named k8s-1): yum ...
1
vote
1answer
2k views

kubeadm init fails when I use --apiserver-advertise-address

I am Installing a standalone Kubernetes cluster (kubeadm version is 1.14) on RHEL 7.7 Operating System. I have a Load Balancer (Private LB with a private IP address) configured for my Kubernetes ...
0
votes
1answer
1k views

How to setup cri-o with kubeadm and kubelet on Kubernetes 1.18.2?

I am relatively new to Kubernetes and although that I am able to launch the master node (join workers / master nodes) by using the default socket (/var/run/dockershim.sock) I would like to use the cri-...
0
votes
1answer
115 views

What is the difference between kubeadm token create and kubeadm token generate?

I have recently starting experimenting with Kubernetes. I have a cluster and everything looks good. I am trying to create a fully automation Ansible script to join / remove workers / master nodes at ...
2
votes
1answer
551 views

AWS Cloud Provider Integration with Kubernetes - Nodes stuck with “uninitialized: true” taint after bootstrapping

Summary I am attempting to bootstrap a Kubernetes cluster on AWS using Kubeadm. Please before you suggest them, I am not interested in using EKS or another bootstrapping solution like Kops, Kubespray,...
1
vote
1answer
500 views

Online Kubernetes (kubeadm) control plane certificate renewal

kubeadm creates certificates for the Kubernetes control plane that are valid for one year. They will be renewed on every Kubernetes upgrade. Since it is definitely a good idea to update a Kubernetes ...
0
votes
1answer
182 views

Calico-node pods not becoming READY until iptables is disabled - Kubernetes on RHEL 7

I have provisioned a Kubernetes cluster on RHEL 7 and deployed Calico to it. The calic-node pods running on the master and worker nodes do not become ready until I SSH into the master and temporarily ...
0
votes
1answer
307 views

Bootstrapping a Kubernetes cluster using Kubeadm on RHEL 7 - Issues with firewall

I'm trying to bootstrap a Kubernetes cluster on RHEL 7.8 but I'm having some issues with my firewall. nftables is not supported in Kubernetes and iptables-legacy must be installed instead. While the ...
0
votes
1answer
954 views

Kubernetes kube-proxy NodePort with IPv6

I am trying to expose a service using NodePort on a on premise bare metal kubernetes (1.17) cluster (calico for CNI and CRI-O 1.17) All nodes (Ubuntu 18.04) have IPv4 and IPv6 adresses and are ...
5
votes
4answers
6k views

How do I check the max pod capacity of a Kubernetes node

I am busy setting up new k8s cluster. I am using rke with the --max-pods: 200 kubelet: # https://rancher.com/docs/rke/latest/en/config-options/services/services-extras/#extra-args extra_args: ...
1
vote
1answer
2k views

kube-apiserver high much ram usage

I have a Kubernetes cluster with 4 nodes and around 100 pods and kube-apiserver start with flag --target-ram-mb=512 kube-apiserver consumes ~3GB of RAM and it is growing (pprof) top Showing nodes ...
0
votes
2answers
850 views

kubeadm - ERROR start version '' not supported

Recently I upgraded Kubernetes cluster from version 1.5.3 to 1.6.1 using kubeadm. Now I would like to upgrade from version 1.6.1 to 1.6.2 but I'm facing this error: [root@master ~]#kubeadm upgrade ...
0
votes
1answer
244 views

Disable Source NAT for Calico

The default settings that kubeadm + calico use is to NAT any incoming connection that is not from a pod_ip. I have calico publishing the service network to my outside LAN, and would rather the ...
1
vote
1answer
6k views

Is it possible to change CIDR network flannel and Kubernetes

Is it possible to change CIDR network flannel on running Kubernetes cluster? If yes what will happen with the launched pods? Thanks
1
vote
0answers
2k views

kubeadm fails to init with timed out waiting for the condition

I've set up a new server in digital ocean, ubuntu 16.04. installed docker from the ubuntu repos and set up kuberenetes according to this guide: https://kubernetes.io/docs/setup/independent/install-...
0
votes
1answer
123 views

kubeapi server as kubernetes pod

My apologies if this is not the correct place to ask this. I'm a bit baffled by the cluster that some kubernetes deployment scripts generate (like kubeadm). It seems that kube-api server itself runs ...