Add progressDeadlineSeconds validation

This commit is contained in:
stefanprodan
2018-11-27 16:35:39 +02:00
parent c7e7785b06
commit 9c342e35be
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -9,6 +9,9 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: podinfo
# the maximum time in seconds for the canary deployment
# to make progress before it is rollback (default 60s)
progressDeadlineSeconds: 60
# HPA reference (optional)
autoscalerRef:
apiVersion: autoscaling/v2beta1
+2
View File
@@ -23,6 +23,8 @@ spec:
- service
- canaryAnalysis
properties:
progressDeadlineSeconds:
type: number
targetRef:
properties:
apiVersion:
+2
View File
@@ -26,6 +26,8 @@ spec:
- service
- canaryAnalysis
properties:
progressDeadlineSeconds:
type: number
targetRef:
properties:
apiVersion: