github.com/argoproj/argo-cd@v1.8.7/resource_customizations/apps/DaemonSet/actions/testdata/daemonset-restarted.yaml (about)

     1  apiVersion: apps/v1
     2  kind: DaemonSet
     3  metadata:
     4    annotations:
     5      deprecated.daemonset.template.generation: "3"
     6    creationTimestamp: "2019-09-13T08:52:50Z"
     7    generation: 3
     8    labels:
     9      app.kubernetes.io/instance: extensions
    10    name: daemonset
    11    namespace: statefulset
    12    resourceVersion: "7472656"
    13    selfLink: /apis/apps/v1/namespaces/statefulset/daemonsets/daemonset
    14    uid: de04d075-d603-11e9-9e69-42010aa8005f
    15  spec:
    16    revisionHistoryLimit: 10
    17    selector:
    18      matchLabels:
    19        name: daemonset
    20    template:
    21      metadata:
    22        annotations:
    23          kubectl.kubernetes.io/restartedAt: "0001-01-01T00:00:00Z"
    24        labels:
    25          name: daemonset
    26      spec:
    27        containers:
    28        - image: k8s.gcr.io/nginx-slim:0.8
    29          imagePullPolicy: IfNotPresent
    30          name: nginx
    31          resources: {}
    32          terminationMessagePath: /dev/termination-log
    33          terminationMessagePolicy: File
    34        dnsPolicy: ClusterFirst
    35        restartPolicy: Always
    36        schedulerName: default-scheduler
    37        securityContext: {}
    38        terminationGracePeriodSeconds: 30
    39    updateStrategy:
    40      rollingUpdate:
    41        maxUnavailable: 1
    42      type: RollingUpdate
    43  status:
    44    currentNumberScheduled: 4
    45    desiredNumberScheduled: 4
    46    numberAvailable: 4
    47    numberMisscheduled: 0
    48    numberReady: 4
    49    observedGeneration: 3
    50    updatedNumberScheduled: 4