shutterkillo.blogg.se

Kubeadm centos 7 install
Kubeadm centos 7 install











kubeadm centos 7 install

~]# sed -i -follow-symlinks 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux Login to your kubernetes master node and set the hostname and disable selinux using following commands ~]# hostnamectl set-hostname 'k8s-master' Perform the following steps on Master Node Step 1: Disable SELinux & setup firewall rules

kubeadm centos 7 install

Installations Steps of Kubernetes 1.7 on CentOS 7 / RHEL 7

  • Pod – Pod can be defined as a multi-tier or group of containers that are deployed on a single worker node or docker host.
  • In other words we can say it is used for port translation.
  • Kube-Proxy – It routes the traffic to appropriate containers based on ip address and port number of the incoming request.
  • Kubelet – It is an agent which runs on every worker node, it connects to docker and takes care of creating, starting, deleting containers.
  • On Worker Nodes following components will be installed It is used by administrators to create pods, services etc.
  • Kubectl utility – It is a command line utility which connects to API Server on port 6443.
  • It stores configuration data of cluster and cluster state.
  • etcd – It is a Key value pair data base.
  • Controller Manager – Main Job of Controller manager is to monitor replication controllers and create pods to maintain desired state.
  • Scheduler – It is a program on master node which performs the scheduling tasks like launching containers in worker nodes based on resource availability.
  • API Server – It provides kubernetes API using Jason / Yaml over http, states of API objects are stored in etcd.
  • kubeadm centos 7 install

    On the Master Node following components will be installed One server will acts master node and rest two servers will be minion or worker nodes. In my setup I am taking three CentOS 7 servers with minimal installation.

    #KUBEADM CENTOS 7 INSTALL INSTALL#

    In this article we will install latest version of Kubernetes 1.7 on CentOS 7 / RHEL 7 with kubeadm utility. Kubeadm ( Multi Node Cluster in our own premises).Kops ( Multi node kubernetes setup into AWS ).Minikube ( It is a single node kubernetes cluster).













    Kubeadm centos 7 install