k8s deployment -- node component deployment
Introduction to kubelet components
kubernetes is a distributed cluster management system. Every node needs to run a worker to manage the life cycle of the container. The worker program is kubelet
The main function of kubelet is to obtain the desired state of pod/container on a node (what container to run, the number of copies to run, how to c ...
Added by gioahmad on Mon, 10 Feb 2020 10:19:01 +0200
kubernetes tutorial (4) node component installation
node related component installation
docker installation
Install the latest version of docker
wget -qO- https://get.docker.com/ | sh
kubelet installation
Download the kubelet executable binary file and place it in the directory / opt/kubernetes/bin
New directory / var/lib/kubelet
Add kubelet.service file to / usr/lib/s ...
Added by mwalsh on Sun, 09 Feb 2020 21:49:43 +0200
Kubernetes multi node binary network deployment (example!!!)
Previous review
To deploy a k8s multi node, you must first deploy a k8s cluster with a single master node
For details, please refer to:
blog.csdn.net/caozhengtao1213/article/details/103987039
Content of this article
1. Deploy Master2
2.Nginx load balancing deployment keepalived service
3.node no ...
Added by killsite on Sun, 09 Feb 2020 15:05:17 +0200
Resource Management (k8s)Resource
Resource Management (k8s) Resource (above)
Article Directory
Resource Management (k8s) Resource (above)
Initial knowledge
Core Design
How to use
Limit test
What happens if memory is too small
What about modifying limits to limit memory/CPU overruns
How about tuning requests memory/CPU
Turn reque ...
Added by sr20rps13 on Fri, 17 Jan 2020 03:25:27 +0200
kubernetes Series Tutorials Offline+Online Upgrade kubernetes to 1.15
1. Overview of kubernetes upgrade
Kubernetes version upgrade iteration is very fast, update every three months, many new functions iterate quickly in the new version. In order to keep consistent with the community version function, upgrade the kubernetes cluster, the community has upgraded the cluster through the kubeadm tool, the upgrade step ...
Added by Josien on Thu, 16 Jan 2020 20:02:43 +0200
kubelet Sign Certificate Expiration Resolution
phenomenonAn internal error occurred on the harbor mirror platform server and the request could not be completed
InvestigationLogging on to dashboard finds that the node state is not ready, and then logs on to the nodeWhen you see that they are indeed not ready, your instinct is to rerun the kubelet, kube-proxy services and return them to the ...
Added by utdfederation on Sun, 05 Jan 2020 09:45:05 +0200
Kubernetes 1.12.1 quick upgrade
Kubernetes 1.12.1 quick upgrade includes three main steps: upgrade kubedm / kubectl / kubelet version, pull image, upgrade kubernetes cluster.
1. Upgrade kubeadm/kubectl/kubelet version
apt install kubeadm=1.12.1 kubectl=1.12.1 kubelet=1.12.1
To view the container image version of this version:
kubeadm config images list
The output is as ...
Added by chetan1 on Thu, 19 Dec 2019 16:25:01 +0200
K8s Resource Pod (first article)
Resource configuration format:
apiVersion: The version used to define an api group.
Kind: Used to define resource types.
Metadata: Used to define metadata, what it contains, the name of a resource, its tags, the namespace to which it belongs, and so on.
sepc:
Used to define the expected state of a resource.
status: The actual state of the res ...
Added by cocell on Fri, 13 Dec 2019 05:51:57 +0200
kubernetes command summary Set
kubernetes command summary Set
Turn off virtual memory
swapoff -a
vim /etc/fstabl
#/dev/mapper/centos-swap swap
View docker environment variables
systemctl show --property=Environment docker
Set agent cancel agent
export http_proxy="http://127.0.0.1:8123/"
unset http_proxy
View token
kubeadm token list
Get token command in SA
kubectl ...
Added by bobc on Sat, 07 Dec 2019 13:28:49 +0200
Kubernetes deployment: Node deployment
Nodes only need to install kubelet service, and all node s need to install Kube proxy
Deploy kubelet
1. Binary package preparationCopy the package from to all node s.
[root@node-01 ~]# cd /usr/local/src/kubernetes/server/bin/
[root@node-01 bin]# for n in `seq 204 206`;do scp kubelet 10.31.90.$n:/data/kubernetes/bin/ ;done
[root@node-01 bin]# f ...
Added by gyoung on Wed, 04 Dec 2019 16:42:47 +0200