github.com/argoproj/argo-cd/v2@v2.10.9/resource_customizations/apps.openshift.io/DeploymentConfig/testdata/healthy_zero_replicas.yaml (about)

     1  kind: DeploymentConfig
     2  apiVersion: apps.openshift.io/v1
     3  metadata:
     4    name: example
     5    namespace: default
     6  spec:
     7    strategy:
     8      type: Rolling
     9      rollingParams:
    10        updatePeriodSeconds: 1
    11        intervalSeconds: 1
    12        timeoutSeconds: 600
    13        maxUnavailable: 25%
    14        maxSurge: 25%
    15      resources: {}
    16      activeDeadlineSeconds: 21600
    17    triggers:
    18      - type: ConfigChange
    19    replicas: 3
    20    revisionHistoryLimit: 10
    21    test: false
    22    selector:
    23      app: httpd
    24    template:
    25      metadata:
    26        creationTimestamp: null
    27        labels:
    28          app: httpd
    29      spec:
    30        containers:
    31          - name: httpd
    32            image: >-
    33              image-registry.openshift-image-registry.svc:5000/openshift/httpd:latest
    34            ports:
    35              - containerPort: 8080
    36                protocol: TCP
    37            resources: {}
    38            terminationMessagePath: /dev/termination-log
    39            terminationMessagePolicy: File
    40            imagePullPolicy: Always
    41        restartPolicy: Always
    42        terminationGracePeriodSeconds: 30
    43        dnsPolicy: ClusterFirst
    44        securityContext: {}
    45        schedulerName: default-scheduler
    46  status:
    47    availableReplicas: 0
    48    conditions:
    49      - lastTransitionTime: '2022-02-02T12:22:22Z'
    50        lastUpdateTime: '2022-02-02T12:23:53Z'
    51        message: replication controller "jenkins-1" successfully rolled out
    52        reason: NewReplicationControllerAvailable
    53        status: 'True'
    54        type: Progressing
    55      - lastTransitionTime: '2022-02-02T14:11:11Z'
    56        lastUpdateTime: '2022-02-02T14:11:11Z'
    57        message: Deployment config does not have minimum availability.
    58        status: 'False'
    59        type: Available
    60    details:
    61      causes:
    62        - type: ConfigChange
    63      message: config change
    64    latestVersion: 1
    65    observedGeneration: 5
    66    replicas: 0
    67    unavailableReplicas: 0
    68    updatedReplicas: 0