5. LAB-3 Kubectl
{ :no_toc }
Table of contents
kubectl
Check resources
Helping manual
Read information
Read node’s information
Read node’s detail information
Read running container’s information
Running Container
Running multi-containers
Assignment-1
- fix it to show the message “Hello to K8s” when you access the ‘webserver’.
Assignment-2
Create httpd container as name ‘webserver2’ that has 3 replicas and make it export it to yaml file and name ‘webserver2’.
Modify replicas number to 5 in yaml and then recreate containers.