Difference between revisions of "ReplicaSet"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* <code>[[kubectl get replicaset]]</code> | * <code>[[kubectl get replicaset]]</code> | ||
* <code>[[kubectl get rs]]</code> | * <code>[[kubectl get rs]]</code> | ||
+ | * <code>[[kubectl delete]] replicasets --all</code> | ||
[[kubectl get]] replicaset | [[kubectl get]] replicaset | ||
Line 15: | Line 16: | ||
ReplicaSet [[OpLog]]: Enabled | ReplicaSet [[OpLog]]: Enabled | ||
− | + | ||
Revision as of 09:21, 16 December 2022
https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
kubectl get replicaset
kubectl get rs
kubectl delete replicasets --all
kubectl get replicaset No resources found in default namespace.
kubectl get replicaset No resources found.
ReplicaSet OpLog: Enabled
kubectl get all | grep replicaset.apps replicaset.apps/metrics-server-6467f65c76 1 1 1 2d4h replicaset.apps/my-release-kubernetes-dashboard-5bf6f9f78 1 1 1 2d3h<
Related terms
kubectl scale
:kubectl scale --replicas=3 rs/foo
- Kubernetes deployments
kubectl expose
kind: ReplicaSet
See also
- ReplicaSet,
kubectl get replicaset, kubectl describe replicaset, kind: ReplicaSet, ScalingReplicaSet
, replicaset-controller - Kubernetes services,
kubectl get services, kubectl describe service
,kubectl create service
[loadbalancer
|nodeport
|clusterip
|externalname ], kubectl expose
,headless service, service.beta.kubernetes.io
- Kubernetes Workloads:
Deployment
,ReplicaSet, StatefulSet, DaemonSets, Job, CronJob
,.apps/
Advertising: