ReplicSet Flashcards
pass CKA
1
Q
List all aliases
A
kubectl get rs
2
Q
difference between replicaset and replica controller
A
ReplicaSet uses set-based selectors while replication controllers use equitybased selectors
3
Q
REPLICA SET IS A ______ COMMAND
A
DECLARITIVE
SELECT ALL RESOURCES WITH KEY EQUAL TO NAME AND VALUE EQUAL TO this OR that
4
Q
REPLICA CONTROLLER IS A ____ COMMAND
A
IMPERATIVE
SELECT ALL RESOURCES THAT ARE STRICTLY THIS AND THAT
5
Q
What does a CONTROLLER do?
A
A CONTROLLER BUILDS OTHER OBJECTS TO REACH A DESIRE DSTATE, AND THEN CONSTANTLY MONITORS AND MAINTAINS THAT DESIRED STATE