k8s practice: Prometheus Operator monitoring Kubernetes cluster

Environmental Instructions: host name Operating System Version ip docker version kubelet version helm version To configure Remarks master Centos 7.6.1810 172.27.9.131 Docker 18.09.6 V1.14.2 v2.14.3 2C2G master host node01 Centos 7.6.1810 172.27.9.135 Docker 18.09.6 V1.14.2 v2.14.3 2C2G node Node node02 Centos 7.6.1810 172.27.9.136 Doc ...

Posted on Fri, 15 Nov 2019 17:21:06 -0500 by stephenjharris

003.Kubernetes Binary Deployment Preparation

Pre-preparation 1.1 Preconditions Corresponding fully resourced Linux servers; Set the appropriate host name, refer to the command: 1 hostnamectl set-hostname k8smaster Mac and UUID are unique; If the firewall is not closed, it is recommended that the port be freed as follows: Master Node-- ...

Posted on Thu, 14 Nov 2019 14:17:15 -0500 by villager203

K8S Practice II (Pod of K8S)

I. Static Pod Static Pod is the only Pod managed by kubectl on a specific Node. It cannot be managed through API Server, associated with ReplicationController, Deployment, or DaemonSet, and kubelet cannot perform health checks on them. The static Pod is always created by kubectl and always runs on the Node where kubelet is located.There are t ...

Posted on Fri, 01 Nov 2019 15:36:20 -0400 by supermars

Master for k8s installation

Configuring and starting the Kube API server Create kube-apiserver.service /usr/lib/systemd/system/kube-apiserver.service [Unit] Description=Kubernetes API Service Documentation=https://github.com/GoogleCloudPlatform/kubernetes After=network.target After=etcd.service [Service] EnvironmentFile=-/etc/kubernetes/config ExecStart=/usr/local/bin/ku ...

Posted on Sat, 26 Oct 2019 16:37:14 -0400 by taboo

Node node of k8s installation

kubernetes node Install kubelet wget https://storage.googleapis.com/kubernetes-release/release/v1.11.0/kubernetes-server-linux-amd64.tar.gz tar -xzvf kubernetes-server-linux-amd64.tar.gz cd kubernetes tar -zxf kubernetes-src.tar.gz scp kubernetes/server/bin/{kube-proxy,kubelet} k8s-node1:/usr/local/bin/ scp kubernetes/server/bin/{kube-proxy,ku ...

Posted on Sat, 26 Oct 2019 16:14:59 -0400 by jkrettek

kubernetes manual building

01. System initialization and global variables Host allocation host name system ip address vip dev-k8s-master1 centos7.6 172.19.201.244 172.19.201.242 dev-k8s-master2 centos7.6 172.19.201.249 dev-k8s-master2 centos7.6 172.19.201.248 dev-k8s-node1 centos7.6 172.19.201.247 dev-k8s-node2 centos7.6 172.19.201.246 dev-k8s-node3 c ...

Posted on Wed, 23 Oct 2019 15:48:32 -0400 by eves

Installing kubernetes 1.16 using kubeadm

Environment Version Description: Three vmware virtual machines, system version CentOS 7.6. Kubernetes 1.16.0, the latest version. flannel v0.11 docker 18.09 kubeadm can be used to build a set of k8s cluster environment without paying attention to the details of installation and deployment, and now the version update frequency of k8s is very f ...

Posted on Sat, 19 Oct 2019 00:08:09 -0400 by AudiS2

How to use kubeadm to manage certificates?

kubeadm Management Certificate Before managing certificates, you need to know how kubernetes uses PKI certificates. Official Documents Check certificate expiration time check-expiration can be used to check certificate expiration time: kubeadm alpha certs check-expiration Output the following content; CERTIFICATE EXPIRES ...

Posted on Wed, 09 Oct 2019 22:12:06 -0400 by kansaschuck

Kubernetes V1.15 Manages NVIDIA GPU Containers

Reference link: nvidia-k8s-device-plugin k8s-1.15 Scheduling GPU Documents nvidia-docker 0. GPU host dependency 1. Download nvidia-driver (official offer is 361.93) 2. Install nvidia-docker 2.x (nvidia-docker 1.x and 2.x are completely different) 3.docker is configured as nvidia's default runtime 4. The kubernetes version is larger than 1.10 ...

Posted on Tue, 08 Oct 2019 19:37:51 -0400 by dwfait

Kubernetes Quick Start Practice

Kubernetes production environment has been running for one and a half years. After trampling numerous pits, we can share here in our leisure time, mainly to enable beginners to quickly start Kubernetes. The environment used for the following demonstrations is minikube. Create clusters First, loo ...

Posted on Wed, 25 Sep 2019 02:36:38 -0400 by scarface222