k8s Practice: Controller

Environmental description: host name Operating System Version ip docker version kubelet version To configure Remarks master Centos 7.6.1810 172.27.9.131 Docker 18.09.6 V1.14.2 2C2G Remarks node01 Centos 7.6.1810 172.27.9.135 Docker 18.09.6 V1.14.2 2C2G Remarks node02 Centos 7.6.1810 172.27.9.136 Docker 18.09.6 V1.14.2 2C2G Remarks ...

Added by genesysmedia on Wed, 07 Aug 2019 13:33:31 +0300

Installation of kubernetes lowB

kubernetes Off-line Installation Package, only three steps Basic environment Close firewall selinux $ systemctl stop firewalld && systemctl disable firewalld $ setenforce 0 Open forwardsysctl -w net.ipv4.ip_forward=1<!--more-->Close swap swapoff -aDelete the line with swap in the / etc/fstab file and ignore it if not Install thes ...

Added by Locked on Wed, 07 Aug 2019 10:36:05 +0300

kubeadm source code analysis

k8s Offline Installation Package Three-step installation, incredibly simple kubeadm source code analysis To be honest, kubeadm's code is not very good in quality. Several key points to start with are the core things kubeadm did: kubeadm generates certificates in / etc/kubernetes/pki directory kubeadm generates static pod yaml configuration, al ...

Added by Megahertza on Wed, 07 Aug 2019 10:33:47 +0300

Deploying kubernetes through kubeadm

1. Server environment preparation 2. Server environment initialization (operates on all nodes) 1. Modify/etc/hosts file [root@localhost ~]# cat >> /etc/hosts <<EOF192.168.10.102    master192.168.10.103    node1192.168.10.104    node2192.168.10.105    node3192.168.10.106    node4EOF 2. Close selinux [root@localhost ~]# sed -i "s/SE ...

Added by adguru on Tue, 06 Aug 2019 21:13:45 +0300

kubectl Installation and Nginx Configuration Introduced by kubernetes

Links to the original text: https://github.com/opsnull/follow-me-install-kubernetes-cluster kubectl Installation and Nginx Configuration Introduced by kubernetes Using nginx 4 layer transparent proxy function, K8S nodes (master and worker ...

Added by unclebob on Tue, 06 Aug 2019 14:03:57 +0300

istio use tutorials

Off-line installation packages for various versions of kubernetes install Install k8s Strong Interruption Advertisement Three-step installation, not much to say helm installation is recommended for production environments. <!--more--> release address As I used version 2.9.1 yum install -y socat # This does not pretend to be wrong. ...

Added by strangesoul on Wed, 31 Jul 2019 21:55:21 +0300

Filling mechanism of default parameters in kubelet service startup process

This article traces how the default values of parameters are injected during kubelet startup. We know that in order to start the kubelet service, we first need to construct the configuration object of kubelet, that is, the kubeletconfig.KubeletConfiguration structure. // NewKubeletCommand creates a *cob ...

Added by cahva on Wed, 31 Jul 2019 16:29:39 +0300

Kubernetes Implements Guestbook Message Board

Base environment System version: CentOS Linux release 7.5.1804 (Core) Kubernetes version: kubernetes 1.3 Project Background Guestbook message board system will be built through Pod, RC, Service and other resource objects, and a "Hello World" message will be displayed in the web page after successful launch.Its system architecture is ...

Added by suncore on Tue, 30 Jul 2019 22:15:59 +0300

k8s practice 17:kubernetes docking nfs storage to realize pvc dynamic creation of allocation binding pv on demand

1.Pre-start ideas.The deployment and simple configuration application of pv&pvc were tested before, which realized the purpose of storing data of pod application into PVC and decoupling with pod.The previous operation is full manual operation, manual creation of pv, manual creation of pvc, if the cluster pod less, so that the operation can ...

Added by if on Wed, 24 Jul 2019 13:30:13 +0300

K8S DIY SERIES - 2.3 - PV & PVC

Preface In experiment 2.2 - Deployment, we successfully transformed wordpress+mysql based on Pod deployment into Deployment-based deployment. Deployment-based deployment has many advantages, such as supporting Rolling Update and horizontal expansion. However, there is a problem that when our Deployment is modified or Pod is deleted and reconstr ...

Added by joviyach on Thu, 20 Jun 2019 23:57:25 +0300