https://github.com/ayushsgithub/k8s_learnings
HandsOn with k8s cluster in minikube
https://github.com/ayushsgithub/k8s_learnings
Last synced: 4 months ago
JSON representation
HandsOn with k8s cluster in minikube
- Host: GitHub
- URL: https://github.com/ayushsgithub/k8s_learnings
- Owner: ayushsgithub
- Created: 2023-09-05T11:03:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-18T08:15:37.000Z (over 2 years ago)
- Last Synced: 2025-01-10T22:40:48.895Z (about 1 year ago)
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Repository for the Kubernetes Learnings from TechWorld with Nana
- [Nana's YouTube Video](https://www.youtube.com/watch?v=s_o8dwzRlu4&ab_channel=TechWorldwithNana)
#### K8s manifest files
* mongo-config.yaml
* mongo-secret.yaml
* mongo.yaml
* webapp.yaml
#### K8s commands
##### start Minikube and check status
minikube start --vm-driver=docker
minikube status
##### get minikube node's ip address
minikube ip
##### get basic info about k8s components
kubectl get node
kubectl get pod
kubectl get svc
kubectl get all
##### get extended info about components
kubectl get pod -o wide
kubectl get node -o wide
##### get detailed info about a specific component
kubectl describe svc {svc-name}
kubectl describe pod {pod-name}
##### get application logs
kubectl logs {pod-name}
##### stop your Minikube cluster
minikube stop