aldikhan13

Installing Kubernetes On Arch Linux

Mar 19th, 2022 (edited)
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. How to install Kubernetes on arch linux distro follow this step by step, before install Kubernetes on local computer, you need Docker in your local computer.
  2.  
  3. 1. sudo pacman -S minikube kubectl kube-proxy
  4. 2. after installing success, put minikube start in your terminal
  5. 3. check installing success or not and put minikube status or kubectl version in your terminal,
  6. for make sure installing success
  7. 4. testing kubernetes is work or not, pull nginx image from docker hub, docker pull nginx
  8. 5. kubectl create deployment webserver --image=nginx --port=80 --replicas=3
  9. 6. kubectl expose deployment webserver --name=webserver --type=LoadBalancer --port=8080 --target-port=80
  10. 7. after create deployment and service success, put minikube service --all
  11. 8. copy ip address webserver and put into browser
  12. 9. done nginx is running on kubernetes
Add Comment
Please, Sign In to add comment