Skip to content

In Kubernetes setup we have one master node and multiple slave nodes. Cluster nodes is known as worker node or Minion. From the master node we manage the cluster and its nodes using ‘kubeadm‘ and ‘kubectl‘ command.

Notifications You must be signed in to change notification settings

vevsatechnologies/Install-Kubernetes-on-CentOs

Repository files navigation

Install-Kubernetes-on-CentOs

Configure Master node

Follow commands in master.sh

Configure Slave node

Follow commands in slave.sh

Create the yaml files for:

kubectl get nodes

To check the pod

kubectl get pods

To get information about pod

kubectl describe pod pod

Configure the node for Horizontal Pod Autoscaling

Create the following yaml files

Check the HPA

kubectl describe hpa hpaName

Check the scaling using busy box

   kubectl run -i --tty load-generator --image=busybox /bin/sh
   
   while true; do wget -q -O- IPAddress:PortANumber; done
  

About

In Kubernetes setup we have one master node and multiple slave nodes. Cluster nodes is known as worker node or Minion. From the master node we manage the cluster and its nodes using ‘kubeadm‘ and ‘kubectl‘ command.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages