Mastering kubectl: Kubernetes Deployments and Scaling

🔧 Lab Title:  5 - Main kubectl commands 🚀 Project Steps PDF Your Easy-to-Follow Guide :https://lnkd.in/gRdiBmaz 🔗 GitLab Repo Code:https:https://lnkd.in/gKfqqhiv 🔗 DevsecOps Portfolio:https://lnkd.in/g6AP-FNQ 💼 DevOps Portfolio: https://lnkd.in/gT-YQE5U 🔗 Kubernetes Portfolio:https://lnkd.in/gUqZrdYh 🔗 GitLab CI/CD Portfolio:https://lnkd.in/g2jhKsts Summary:  Today, I worked on managing Kubernetes deployments using kubectl. I listed active deployments and pods, deleted MongoDB and NGINX deployments, verified resource cleanup, created a new NGINX deployment with a YAML manifest, and scaled it from 1 to 2 replicas. This reinforced declarative management of workloads and dynamic scaling in Kubernetes. Tools Used:  kubectl: Manage and inspect Kubernetes resources via CLI.  YAML: Define Kubernetes deployments declaratively. Skills Gained:  • Inspect deployments, pods, and replicasets to monitor cluster state 🔍  • Delete deployments and confirm cleanup of related pods and replicasets 🧹  • Create declarative YAML manifests for Kubernetes workloads 📄  • Apply and update deployments using kubectl apply for scaling 🛠️ Challenges Faced:  • Ensuring complete cleanup of replicasets after deployment deletion.  • Correctly editing YAML files to update replica counts. Why It Matters:  This lab strengthens core Kubernetes skills: declarative resource management, deployment lifecycle control, and workload scaling. Mastery of these practices is essential for effective cluster operation and application reliability in production environments. 📌 hashtag#Kubernetes hashtag#kubectl hashtag#YAML hashtag#Deployments hashtag#Scaling hashtag#CloudNative hashtag#DevOps 🚀 Next: 6 - YAML Configuration File!

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories