Under Kubernetes cluster deployment
k8s general environmental plan
Environmental equipment
Two master nodes, two node nodes and two node nodes are installed with nginx for load balancing, failover and floating address vip
Deployment process
Turn off firewall and security functions
systemctl stop firewalld.servicesetenforce 0
Copy the kubernetes directory to master2 (last exp ...
Posted by pullaratt on Mon, 10 Feb 2020 04:32:39 -0800
Kubernetes data persistence Storage Class creates PV automatically
Through Bo Wen Storage Volume of Kubernetes It can be seen that the process of Kubernets to realize data persistence is as follows:Build NFS underlying storage - > create PV - > create PVC - > create podFinally, the container in the pod will realize data persistence!
From the above process, it seems that there is no problem, but after ...
Posted by icd_lx on Mon, 10 Feb 2020 01:10:55 -0800
Windows play Kubernetes series 3-Centos installation K8S
References of previous articles:
Windows play Kubernetes series 1-VirtualBox installation Centos
Windows play Kubernetes series 2-Centos install Docker
Install K8S
yum install -y kubeadm
The corresponding dependency packages will also be installed on kubelet, kubeadm, kubectl and kubernetes CNI
kubeadm: one click deployment tool of k8 cluster, ...
Posted by jeffery on Sun, 09 Feb 2020 05:50:50 -0800
K8S single master deployment 3: apiserver + controller manager + schedule
All the following operations are carried out at the master end
Server role assignment
role
address
Installation components
master
192.168.142.220
kube-apiserver kube-controller-manager kube-scheduler etcd
node1
192.168.142.136
kubelet kube-proxy docker flannel etcd
node2
192.168.142.132
kubelet kube-proxy docker flannel etcd
1, A ...
Posted by wdallman on Fri, 07 Feb 2020 08:46:14 -0800
Storage Volume of Kubernetes
In a series of virtualization solutions, data persistence is a problem that we need to be very concerned about, as is the case with dokcer and Kubernetes. But in Kubernetes, there's a concept of data volumes.
1, Volume introduction
We often say: container, pod are very short! What it means is that the life cycle of both the container and Pod i ...
Posted by r00tk1LL on Wed, 05 Feb 2020 19:30:15 -0800
Extended etcd cluster node with certificate
background
A 7-node k8s cluster and a master node's disk are abnormal, which often causes the etcd of the node to write to the card, and then drags down the etcd cluster. Therefore, it is considered to migrate the etcd of the node.
As shown in the figure above, the disk of the tstr501384 node is ...
Posted by turkman on Wed, 05 Feb 2020 00:30:35 -0800
Diagram the core data structure of the kubernetes scheduler framework
Framework is the second implementation of the kubernetes extension. Compared to Scheduler Extender's extension based on remote independent services, the Framework core implements a localized specification process management mechanism based on extension points
1. Expand Achieving Goals
The design of the Framework has been clearly described in th ...
Posted by nikkieijpen on Sun, 02 Feb 2020 10:48:54 -0800
Ingress unified access portal (ingress nginx)
The main purpose of this practice is to unify the entry, no longer expose the port through LoadBalancer and other ways, but use the reverse proxy load balancing function provided by Ingress as our only entry.
kubernetes version is 1.16.0
Deploying tomcat
Deploy Tomcat but only allow intranet access. ...
Posted by rgpayne on Wed, 22 Jan 2020 07:16:20 -0800
vpa of k8s resource
Publish a k8s deployment video: https://edu.csdn.net/course/detail/26967
Course Content: Various k8s deployment modes.Includes minikube deployment, kubeadm deployment, kubeasz deployment, rancher deployment, k3s deployment.Includes development test environment deployment k8s and production environme ...
Posted by alfieshooter on Mon, 20 Jan 2020 20:02:17 -0800
k8s~Implementation of adding ingress to a service
Reasons for ingress
ClusterIP can only be accessed within a cluster
With NodePort, the test environment works fine, and when hundreds of services are running in a cluster, port management for NodePort is a disaster.
The LoadBalance approach is limited to cloud platforms, and ELB s are typically deployed on cloud platforms at additional cost. ...
Posted by boon4376 on Sat, 18 Jan 2020 17:45:48 -0800