kubernetes component - kubectl command line tool management

Main points:1. Overview of kubectl2. kubectl syntax3. kubectl Management Commands4. Similarities and differences between create and apply commands5. Example demonstration1. Overview of kubectl Kubectl is a command line interface for running commands against the Kubernetes cluster.The configuration file for Kubectl is in the $HOME/.kube directo ...

Posted by Zay on Tue, 18 Feb 2020 08:18:40 -0800

Automatic creation of pv for K8S data persistence

1. Types of data persistence:1.emptyDir: Can only be used as temporary storage.If the container is deleted, the data still exists, and if the Pod is deleted, the data is deleted.2.HostPath: Less scenarios increase the coupling between Pod and nodes.3.PV, PVC: based on NFS services.The PV state must be Available, the access mode must be the sam ...

Posted by rdoylelmt on Sun, 16 Feb 2020 15:26:03 -0800

Secret and ConfigMap for Kubernetes Data Persistence

ConfigMap and Secret are two special types of storage volumes in Kubernetes. ConfigMap is a resource object mainly used to provide configuration data to customize program behavior. However, some sensitive configuration information, such as user name, password, key and so on, are usually configured by a resource object such as Secret, which sto ...

Posted by mattlatos on Fri, 14 Feb 2020 13:11:59 -0800

Dynamic Expansion of Cloud Disk Data Volume Using Ali Cloud CSI Plugin

Using cloud disks to store volumes often requires a cloud disk of appropriate capacity when the service is initialized, but as data grows, the capacity of the data disk cannot meet demand and needs to be expanded. In the expansion scenario of traditional applications, it is often necessary to stop the application manually, back up the data disk ...

Posted by Peter Anselmo on Wed, 12 Feb 2020 17:36:09 -0800

(enterprise environment deployment) K8S multi node deployment load balancing UI page

Enterprise environment deployment) K8S multi node deployment load balancing UI page Environment to prepare: 6 platform centos7 equipment:192.168.136.167 master01192.168.136.168 node1192.168.136.169 node2192.168.136.170 master02192.168.136.171 lb1192.168.136.172 lb2VIP: 192.168.1.100 Experimental steps: 1: Self signed ETCD ...

Posted by xiosen on Mon, 10 Feb 2020 07:01:12 -0800

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