kubectl scale --replicas=3 -f KUBERNETES_CONF_FILE_PATH
kubectl scale --replicas=3 rs/REPLICA_SET_NAME
ReplicationController
managed the replicas to maintain the specified replicas but now ReplicaSet
is used instead of it.
ReplicaSet
supports set-based selector requirements, it supports a new selector that can do selection based on filtering according a set of values.
ReplicationController
kubectl -n NAMESPACE get rc
ReplicaSet
kubectl -n NAMESPACE get rs