Deploying Grafana on Kubernetes using Deployment and NodePort Service

This title was summarized by AI from the post below.

🚀 Day 57 of #100DaysOfDevOps – Deploying Grafana on Kubernetes Today’s task: Deploy a Grafana app in Kubernetes using a Deployment. Expose it via a NodePort Service (32000) to access the Grafana login page. Task breakdown: 1️⃣ Checked cluster info and nodes (kubectl cluster-info, kubectl get nodes). 2️⃣ Created a Deployment YAML for grafana-deployment-datacenter. 3️⃣ Created a Service YAML of type NodePort. 4️⃣ Applied both YAMLs with kubectl apply -f. 5️⃣ Verified Deployment and Pods status (kubectl get deployments, kubectl get pods). Key Learnings: 󠁯•󠁏󠁏 Deployments provide replica management & rolling updates. 󠁯•󠁏󠁏 NodePort makes the service available outside the cluster - handy for quick testing. •󠁏󠁏 Keeping YAMLs modular (deployment + service separately) improves maintainability.

To view or add a comment, sign in

Explore content categories