Fundamentals Flashcards
1
Q
How to run Kubernetes on M1 mac
A
use the command: minikube start –driver=docker –alsologtostderr
as the hyperkit driver doesn’t work
2
Q
How to get info on kubernetes nodes ?
A
kubectl get nodes
3
Q
How to check latest version of minikube ?
A
minikube update-check
4
Q
How to stop and delete a. minikube cluster ?
A
minikube stop and minikube delete
5
Q
How to get info of your kubernetes cluster ?
A
kubectl cluster-info
6
Q
How to check namespaces and what are they ?
A
kubectl get namespaces
Namespaces are a way isolate applications and services
7
Q
How to check pods in all namespace ?
A
kubectl get pods -A
8
Q
A
kubectl get services -A