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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to get info on kubernetes nodes ?

A

kubectl get nodes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to check latest version of minikube ?

A

minikube update-check

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to stop and delete a. minikube cluster ?

A

minikube stop and minikube delete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to get info of your kubernetes cluster ?

A

kubectl cluster-info

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How to check namespaces and what are they ?

A

kubectl get namespaces

Namespaces are a way isolate applications and services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How to check pods in all namespace ?

A

kubectl get pods -A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
A

kubectl get services -A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly