kubectl -n kubesphere-controls-system get deploy kubectl-admin -o yaml
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
creationTimestamp: "2020-04-01T19:33:39Z"
generation: 1
name: kubectl-admin
namespace: kubesphere-controls-system
resourceVersion: "2912"
selfLink: /apis/apps/v1/namespaces/kubesphere-controls-system/deployments/kubectl-admin
uid: 6a27921d-5e66-4c53-8ff2-006088de24d5
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
username: admin
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
username: admin
spec:
containers:
- image: kubesphere/kubectl:v1.0.0
imagePullPolicy: IfNotPresent
name: kubectl
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: kubesphere-cluster-admin
serviceAccountName: kubesphere-cluster-admin
terminationGracePeriodSeconds: 30
status:
availableReplicas: 1
conditions:
- lastTransitionTime: "2020-04-01T19:33:52Z"
lastUpdateTime: "2020-04-01T19:33:52Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2020-04-01T19:33:39Z"
lastUpdateTime: "2020-04-01T19:33:52Z"
message: ReplicaSet "kubectl-admin-6c664db975" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
observedGeneration: 1
readyReplicas: 1
replicas: 1
updatedReplicas: 1