elevate-labs : nodejs-demo-app into K8s config (Task 5)
TASK 5: Build a Kubernetes Cluster Locally with Minikube
##Objective: Deploy and manage apps in Kubernetes.
##Tools: Minikube, kubectl, Docker
Deliverables: YAML files, screenshots of pods/services
Hints:
a.Install Minikube & start the cluster.
b.Create deployment.yaml for an app.
c.Expose app using service.yaml.
d.Use kubectl get pods to verify.
e.Scale deployments using kubectl scale.
f.Use kubectl describe for logs.
Outcome: You’ll understand Kubernetes basics and deployments.
Interview Questions:
1.What is Kubernetes?
2.What is the role of kubelet?
3.Explain pods, deployments, and services.
4.How do you scale in Kubernetes?
5.What is a namespace?
6.Difference between ClusterIP, NodePort, LoadBalancer.
7.What are config maps?
8.How do you perform rolling updates?