Kubernetes CKA sample exam question 51 with answer

Question
There are two pods named o3db-* in namespace project-c13.
C13 management asked you to scale the pods down to one replica to save resources

Answer
Get all objects in the project-c13 namespace. Those pods may belong to another object:

kubectl -n project-c13 get all
Can be observed that 2 pods and a StatefulSet that created those pods - o3db. Scale it:
kubectl -n project-c13 scale sts o3db --replicas=1
Verify:
kubectl -n project-c13 get all