k8s 3master+2worker node (kept + haproxy highly available)

k8s-v1.20.10 3master&1node Experimental environment Host network information and component information K8S cluster roleIPhost nameInstalled componentsVIP192.168.0.15VIPVIPMASTER192.168.0.11k8s-master-1apiserver,controller-manager,scheduler,etcd,docker,kubectl,kubelet,kube-proxy,calico,coredns,metric-server,keepalivedMASTER192.168.0.12k8s ...

Posted by pablocullen on Sat, 16 Apr 2022 15:49:50 +0300

kubernetes installation (domestic network + Alibaba cloud)

Operating system: CentOS-7.8 kubernets version: 1.20.4 docker version: 20.10.3 This is an installation tutorial, including docker installation, kubernetes installation and Kube flannel network plug-in installation. The whole installation process uses the domestic network environment. With the support of Alibaba cloud's image service, the ins ...

Posted by jaco on Sat, 16 Apr 2022 01:22:42 +0300

[Kubernetes series Xi] Kubernetes certification, authorization and access control

1. Overview of access control As the gateway of Kubernetes cluster system, API Server is the only entrance to access and manage resource objects; The basic cluster components such as Kube controller manager, Kube scheduler, kubelet and Kube proxy, additional components such as CoreDNS and kubectl commands all need to pass through the gateway fo ...

Posted by ntbd on Fri, 15 Apr 2022 15:50:55 +0300

Kubernetes 1.20.4 fast upgrade and capacity expansion of high availability cluster

After the Spring Festival in 2021, Kubernetes is new again. Kubernetes 1.20.4 has been officially released, and highly available clusters can also be upgraded directly (hub.docker.com has been stopped, and registry.cn-hangzhou.aliyuncs.com/google_containers is used). Fast upgrade (including domestic image quick download link) includes ...

Posted by adamjblakey on Wed, 13 Apr 2022 19:33:51 +0300

Pod container application "elegant publishing"

Reprinted in https://www.cnblogs.com/kevingrace/p/13970331.html k8S itself has the mechanism of graceful termination of Pod container, sends SIGTERM termination signal and completes the graceful termination of Pod within the specified terminationGracePeriodSeconds grace time. The default value of terminationGracePeriodSeconds is 30 seconds, whi ...

Posted by wemustdesign on Wed, 13 Apr 2022 05:15:50 +0300

Kubedm quickly builds k8s clusters (single master node)

Kubedm quickly builds k8s clusters (single master node) 1, Cluster pre deployment planning hostoperating systemIPdocker versionk8s versionk8s-master1Centos7.9192.168.15.13920.10.121.23.4-0k8s-node1Centos7.9192.168.8.13520.10.121.23.4-0k8s-node2Centos7.9192.168.8.13620.10.121.23.4-0 2, Main steps Node preparation (all nodes)Deployment contain ...

Posted by myanavrin on Tue, 12 Apr 2022 23:47:17 +0300

Kubernetes_pod status - policy - start - Multi container - type

k8s cluster with multiple msater s Creating high availability cluster with kubedm Why should there be at least three master s? A: data consistency and how to write at the same time. The data on each master is the same. raft protocol: consistency protocol paxos: used by MySQL group replication External etcd server - external etcd topology ...

Posted by GuitarGod on Tue, 12 Apr 2022 22:29:33 +0300

k8s access control

I kubernetes API access control More detailed (1) Authentication 1. There are 8 authentication methods. One or more authentication methods can be enabled. As long as one authentication method passes, other authentication methods will not be carried out. X509 Client Certs and Service Accout Tokens are usually enabled. 2.Kubernetes cluster has ...

Posted by Weiry on Mon, 11 Apr 2022 15:22:57 +0300

K8S notes - deploy k8s dashboard

1. Configure / etc/hostsDirect access to yaml download address will fail. Configure local host resolution.Choose one of the following four local parsers:185.199.108.133 raw.githubusercontent.com185.199.109.133 raw.githubusercontent.com185.199.110.133 raw.githubusercontent.com185.199.111.133 raw.githubusercontent.com2. Download yamlwget https:// ...

Posted by razz on Sun, 10 Apr 2022 19:29:20 +0300

Cluster resource management cpu and memory of k8s deployment -33-k8s

In the last article, after many tests of cpu and memory, I had an idea in my mind. Is there any relationship between cpu and memory? Under which circumstances is he the most stable service? When resources are preempted, which services will be kill ed first? With these doubts in my heart, I will continue to study. "Reliability" of ...

Posted by davey10101 on Sun, 10 Apr 2022 06:59:05 +0300