mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
* feat: health check for openshift DeploymentConfig Signed-off-by: ishitasequeira <isequeir@redhat.com> * Address PR comments Signed-off-by: ishitasequeira <isequeir@redhat.com>
66 lines
No EOL
1.7 KiB
YAML
66 lines
No EOL
1.7 KiB
YAML
kind: DeploymentConfig
|
|
apiVersion: apps.openshift.io/v1
|
|
metadata:
|
|
name: example
|
|
namespace: default
|
|
spec:
|
|
strategy:
|
|
type: Rolling
|
|
rollingParams:
|
|
updatePeriodSeconds: 1
|
|
intervalSeconds: 1
|
|
timeoutSeconds: 600
|
|
maxUnavailable: 25%
|
|
maxSurge: 25%
|
|
resources: {}
|
|
activeDeadlineSeconds: 21600
|
|
triggers:
|
|
- type: ConfigChange
|
|
replicas: 3
|
|
revisionHistoryLimit: 10
|
|
test: false
|
|
selector:
|
|
app: httpd
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: httpd
|
|
spec:
|
|
containers:
|
|
- name: httpd
|
|
image: >-
|
|
image-registry.openshift-image-registry.svc:5000/openshift/httpd:latest
|
|
ports:
|
|
- containerPort: 8080
|
|
protocol: TCP
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
imagePullPolicy: Always
|
|
restartPolicy: Always
|
|
terminationGracePeriodSeconds: 30
|
|
dnsPolicy: ClusterFirst
|
|
securityContext: {}
|
|
schedulerName: default-scheduler
|
|
status:
|
|
observedGeneration: 1
|
|
details:
|
|
message: config change
|
|
causes:
|
|
- type: ConfigChange
|
|
availableReplicas: 3
|
|
conditions:
|
|
- type: Available
|
|
status: 'True'
|
|
lastUpdateTime: '2021-08-25T23:48:29Z'
|
|
lastTransitionTime: '2021-08-25T23:48:29Z'
|
|
message: Deployment config has minimum availability.
|
|
- type: Progressing
|
|
status: 'True'
|
|
lastUpdateTime: '2021-08-25T23:48:29Z'
|
|
lastTransitionTime: '2021-08-25T23:48:15Z'
|
|
reason: NewReplicationControllerAvailable
|
|
message: replication controller "example-1" successfully rolled out
|
|
replicas: 3
|
|
readyReplicas: 3 |