github.com/argoproj/argo-cd@v1.8.7/resource_customizations/apps/StatefulSet/actions/testdata/statefulset.yaml (about)

     1  apiVersion: apps/v1
     2  kind: StatefulSet
     3  metadata:
     4    creationTimestamp: "2019-09-13T08:52:54Z"
     5    generation: 2
     6    labels:
     7      app.kubernetes.io/instance: extensions
     8    name: statefulset
     9    namespace: statefulset
    10    resourceVersion: "7471813"
    11    selfLink: /apis/apps/v1/namespaces/statefulset/statefulsets/statefulset
    12    uid: dfe8fadf-d603-11e9-9e69-42010aa8005f
    13  spec:
    14    podManagementPolicy: OrderedReady
    15    replicas: 3
    16    revisionHistoryLimit: 10
    17    selector:
    18      matchLabels:
    19        app: statefulset
    20    serviceName: statefulset
    21    template:
    22      metadata:
    23        labels:
    24          app: statefulset
    25      spec:
    26        containers:
    27        - image: k8s.gcr.io/nginx-slim:0.8
    28          imagePullPolicy: IfNotPresent
    29          name: nginx
    30          resources: {}
    31          terminationMessagePath: /dev/termination-log
    32          terminationMessagePolicy: File
    33        dnsPolicy: ClusterFirst
    34        restartPolicy: Always
    35        schedulerName: default-scheduler
    36        securityContext: {}
    37        terminationGracePeriodSeconds: 30
    38    updateStrategy:
    39      rollingUpdate:
    40        partition: 0
    41      type: RollingUpdate
    42  status:
    43    collisionCount: 0
    44    currentReplicas: 3
    45    currentRevision: statefulset-85b7f767c6
    46    observedGeneration: 2
    47    readyReplicas: 3
    48    replicas: 3
    49    updateRevision: statefulset-85b7f767c6
    50    updatedReplicas: 3