How to deploy a Nginx application in Kubernetes using minikube on Windows Server 2019
How to deploy a Nginx application in Kubernetes using minikube on Windows Server 2019
In my last video, we have discussed how to set up and run a Kubernetes Cluster, letโs in this video discuss how we can deploy NGINX service on our cluster.
the objectives are:
Create an nginx deployment.
Use kubectl to list information about the deployment.
Update the deployment
The kubectl create line below will create a deployment named my-nginx to ensure that there are always a nginx pod running.
kubectl create deployment –image nginx my-nginx
You can list the pods to see what is up and running:
kubectl get pods
You can also see the deployment that was created:
kubectl get deployment
You can also scale the deployment to ensure there is two nginx pods running:
kubectl scale deployment –replicas 2 my-nginx
You can now list the pods to see there is two up and running:
kubectl get pods
๐ธ Support channel & make donation :
https://www.paypal.me/aminenina/10
๐ธ Subscribe for more videos :
Youtube: https://www.youtube.com/user/aminosninatos
๐ธ Follow me On Social Media
Facebook : https://www.facebook.com/aminosninatos/
***********************************************************************
๐ธ How To Check Bad Blocks Or Bad Sectors On a Hard Disk In Linux
https://www.youtube.com/watch?v=jE-I9…
๐ธ Linux How To Partition a Hard Drive Using the Parted Command
https://www.youtube.com/watch?v=2IoEW…
๐ธ Checking or Repairing a File System using fsck in Linux
https://www.youtube.com/watch?v=CcV_M…
๐ธ How To Monitor the Health of Your Hard Drive in Linux using SMART
https://www.youtube.com/watch?v=z1z9R…
๐ธ Linux iotop: Monitor your disk Input/Output
https://www.youtube.com/watch?v=pWG4v…
๐ธ How To use the โduโ (Disk Usage) Command in Linux
https://www.youtube.com/watch?v=RA4bM…
๐ธ How To View Manipulate System Logs In Linux Using Journalctl Command
https://www.youtube.com/watch?v=NE-fT-Fwvgw&t=3s
๐ธ How To Sync And Backup Files In Linux Using Rsync Command
https://www.youtube.com/watch?v=aIMbg7vG6Rg&t=10s
๐ธ Linux cURL Command Tips and Tricks
https://www.youtube.com/watch?v=hA3BAALWFJI
๐ธ Linux tail and multitail commands
https://www.youtube.com/watch?v=QnPyWNyCn-U
๐ธ Linux How To view Log Files
https://www.youtube.com/watch?v=CEYhs_9L01M&t=2s
๐ธ How To use the History Command On Linux
https://www.youtube.com/watch?v=RkxIWlypB-s
๐ธ Tips and Tricks How To manipulate Text Files on Linux
https://www.youtube.com/watch?v=Zk9M1w55XO0
๐ธ How to Archive, Compress and Extract Files Using the tar Command on Linux
https://www.youtube.com/watch?v=8j-ZzOfbclM&t=2s
๐ธ Linux – How to split larger files into smaller parts
https://www.youtube.com/watch?v=DaC5AWjmQXk
๐ธ Linux commands : Top
https://www.youtube.com/watch?v=RM7ck63mcHQ
***********************************************************************
#Kubernetes#Nginx#minikube
Comments are closed.