germasql.blogg.se

Install kubernetes cluster on centos kubeadm
Install kubernetes cluster on centos kubeadm










install kubernetes cluster on centos kubeadm
  1. #Install kubernetes cluster on centos kubeadm install#
  2. #Install kubernetes cluster on centos kubeadm software#

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.

    install kubernetes cluster on centos kubeadm

    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.

    install kubernetes cluster on centos kubeadm

    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.

    #Install kubernetes cluster on centos kubeadm 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).
  • Kubernetes can be installed and deployed using following methods: From the master node we manage the cluster and its nodes using ‘ kubeadm‘ and ‘ kubectl‘ command. Cluster nodes is known as worker node or Minion. In Kubernetes setup we have one master node and multiple nodes. Kubernetes is also known as k8s and it was developed by Google and donated to “Cloud Native Computing foundation”

    #Install kubernetes cluster on centos kubeadm software#

    In other words Kubernetes is an open source software or tool which is used to orchestrate and manage docker containers in cluster environment. Kubernetes is a cluster and orchestration engine for docker containers.












    Install kubernetes cluster on centos kubeadm