Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.84 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.84 KB

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