Categories
python devops kubernetes javascript newsletter security microk8s ingress linode cicd nginx docker-compose tutorial argocd prometheus secrets rag ai flask aws monitoring news coding docker helm dev claude bitnami cloud eks weekly-reads typescript technews argo gitops debates linux ansible claude-code devorialesLATEST
- Create a Deployment
- Check the Pods
- Expose a Service
- Scale to 3 replicas
root@lab:~# kubectl create deploy web --image=nginx --replicas=2
deployment.apps/web created
root@lab:~# kubectl get pods
NAME READY STATUS RESTARTS AGE
web-7d9c4b8f6c-2xkqp 1/1 Running 0 9s
web-7d9c4b8f6c-m8zt5 1/1 Running 0 9s
root@lab:~#
What does the next step want?
A Service in front of the Pods. kubectl expose can make one from the Deployment.
Become a Certified Kubernetes Administrator
- Solve real problems in a real cluster terminal
- Stuck? Ask the AI tutor for a hint
- Open what you deployed in your browser
Featured DevOps & Cloud Articles
Don't miss these highlighted posts