kubernetes

How To Build K8s Cluster On Centos7

## 1.Machine Information ``` [root@kube-gmg-03-master-1 ~]# uname -a Linux kube-gmg-03-master-…

TwoPunch created at April 6, 2022, 11:43 a.m.

K8s Dial Tcp Connect: No Route To Host

## error Inexplicably encountered `pod container` startup failure: `Back-off restarting failed c…

TwoPunch created at Dec. 11, 2021, 1:20 p.m.

Docker Failed To Start Daemon: Error Initializing Graphdriver: Driver Not Supported

## error When kubelet node `join`, error `vfs not support` is reported ``` [ERROR SystemVeri…

TwoPunch created at Dec. 11, 2021, 1:13 p.m.

K8s Join User “System:Anonymous“ Cannot Get Resource “Configmaps“ In Api Group ““ In The Namespace

## error ``` error execution phase preflight: couldn't validate the identity of the API Server:…

TwoPunch created at Dec. 11, 2021, 1:09 p.m.

K8s Es Memory Locking Requested For Elasticsearch Process But Memory Is Not Locked

## error ``` [root@hadoop03 elk-01]# kubectl get pods -n elk NAME …

TwoPunch created at Dec. 11, 2021, 1:07 p.m.

K8s Cannot Set Property Tasksaccounting, Or Unknown Property

## error  ``` Dec 01 05:45:45 k8s-node-01 kubelet[34875]: E1201 05:45:45.755701 34875 node_co…

TwoPunch created at Dec. 11, 2021, 1:04 p.m.

Crashloopbackoff、Reason: Get Https://10.96.0.1:443/Version: Dial Tcp 10.96.0.1:443: I/O Timeout

## solution ### view logs 1. Logs view the specific error reason, and found that the reason …

TwoPunch created at Dec. 11, 2021, 1:02 p.m.

K8s Prometheus Grafana No Data To Display

## solution Pay attention to whether the system time is consistent with the time of `pod` (prome…

TwoPunch created at Dec. 11, 2021, 12:53 p.m.

K8s Error Retrieving Resource Lock Default/Fuseim.Pri-Ifs: Unauthorized

## error When `helm` installs `prometheus`, `nfs-client-provisioner ServiceAccount` is placed in…

TwoPunch created at Dec. 11, 2021, 12:51 p.m.

Error Execution Phase Preflight: [Preflight] Some Fatal Errors Occurred: [Error Port-6443]

## 1\. Problem description When building a k8s cluster, there is a step to initialize the cluste…

TwoPunch created at Dec. 11, 2021, 12:43 p.m.

[Error Swap]: Running With Swap On Is Not Supported. Please Disable Swap

## environment * Ubuntu 20.04 LTS * Docker 20.10.8 * Kubernetes 1.22.1 * Node: master…

doporos created at Sept. 13, 2021, 4:48 p.m.

Use Kubeadm To Build K8s Cluster

Since I want to study KubeEdge later, and KubeEdge supports up to version 1.19, the k8s version I u…

doporos created at Aug. 27, 2021, 11 p.m.

Error Execution Phase Check-Etcd: Etcd Cluster Is Not Healthy: Failed To Dial Endpoint Https://Xxx:2379...

## error info  Kubeadm error when adding a new master node: ``` error execution phase check-…

doporos created at Aug. 27, 2021, 10:35 p.m.

Kubeadm Add New Master Or Node, Unknown Flag --Experimental-Upload-Certs

## At master01 ### Generate a new token ``` [root@k8s-master01 ~]# kubeadm token create --pr…

doporos created at Aug. 25, 2021, 4:51 p.m.

Install Kubesphere In Kubernetes

## Install helm Create a helm folder, manually [download](https://get.helm.sh/helm-v3.2.1-linux-…

doporos created at Aug. 25, 2021, 4:46 p.m.

Get "Http://127.0.0.1:10252/Healthz": Dial Tcp 127.0.0.1:10252: Connect: Connection Refused

## solution ``` [root@k8s-master01 ~]# kubectl get cs Warning: v1 ComponentStatus is deprecate…

doporos created at Aug. 25, 2021, 4:36 p.m.
doporos created at Aug. 25, 2021, 4:31 p.m.