Problems encountered in deployment of kubernetes 1.13.3 heapster

Background: Recently, I saw the k8s tutorial of Marco. In the chapter of container resource requirements, resource limitations and headstar, the kubectl top and grafana figures in the tutorial were not shown at last. Heapster will be discarded in later versions, so there is no need to struggle. I'm just curious. Next, I will talk about the pro ...

Added by ksimpkins on Wed, 04 Dec 2019 00:50:07 +0200

pod status always shows ContainerCreating

Today, when learning kubernetes, I started an msyql service and ran the command [root@liuxuchong kubernetes]# kubectl create -f mysql-rc.yaml replicationcontroller "mysql" created [root@liuxuchong kubernetes]# kubectl get all NAME DESIRED CURRENT READY AGE rc/mysql 1 1 0 6m NAME CLUSTER-IP ...

Added by tjohnson_nb on Sun, 10 Nov 2019 17:22:12 +0200

kubeadm of Kubernetes Series Builds k8s Cluster

Kubeadm Builds k8s Cluster Note: The Kubernetes series uses 1.15 versions of kuberntetes.+ 1 Master Node Installation 1.1 System Environment Configuration 1.1.1 Setting Host Name hostnamectl set-hostname kmaster-01 hostnamectl set-hostname knode-01 hostnamectl set-hostname knode-02 vi /etc/ho ...

Added by kingnutter on Sat, 21 Sep 2019 10:00:01 +0300

kunernets uses helm to install tiller trampling pit

helm installation reference: https://www.kubernetes.org.cn/4619.html Helm is composed of client-side command line tool and server-side tiller. Helm installation is very simple. Download the helm command line tool under / usr/local/bin of master node node 1. Download version 2.9.1 here: wget https://storage.googleapis.com/kubernetes-helm/helm ...

Added by Phate on Fri, 06 Sep 2019 08:22:10 +0300

Using prometheus to monitor traefik, redis, k8s cluster nodes and kubelet

1. Data indicators of Prometheus are obtained through an open HTTP(S) data interface. We do not need to install monitoring agent s separately. We only need to expose a metrics interface. Prometheus will pull data regularly. For some ordinary HTTP services, we can reuse this service directly. Add A / metrics interface to expose Prometheus2. Som ...

Added by eashton123 on Mon, 26 Aug 2019 18:18:36 +0300

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

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