apiVersion: apps.kruise.io/v1beta1
kind: StatefulSet
metadata:
  name: statefulset-test
  namespace: kruise
  generation: 2
  labels:
    app: sample
spec:
  replicas: 2
  selector:
    matchLabels:
      app: sample
  template:
    metadata:
      labels:
        app: sample
    spec:
      containers:
      - name: nginx
        image: nginx:alpine
  updateStrategy:
    rollingUpdate:
      paused: true
        
status:
  observedGeneration: 2
  replicas: 2
  updatedAvailableReplicas: 2
  updatedReadyReplicas: 2
  conditions:
  - lastTransitionTime: "2021-09-21T22:35:31Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: 'False'
    type: FailedCreatePod
