An open API service indexing awesome lists of open source software.

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

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