Tweak timings of the pre-post-sync example

This commit is contained in:
Jesse Suen committed 2018-07-18 02:15:05 -07:00
1 parent e3a5ac20fc
commit 5eb3352b40
4 files changed
+5 -5

No files matched your search

@@ -54,8 +54,8 @@ local params = std.extVar("__ksonnet/params").components["guestbook-ui"];
"exec": {
"command": [ "sh", "-c", "exit 0" ],
},
"initialDelaySeconds": 30,
"periodSeconds": 120,
"initialDelaySeconds": 10,
"periodSeconds": 30,
}
}
]
+1 -1
View File
@@ -12,7 +12,7 @@
name: "pre-post-sync",
replicas: 1,
servicePort: 80,
type: "LoadBalancer",
type: "ClusterIP",
},
"pre-sync-job": {},
"post-sync-job": {},
+1 -1
View File
@@ -11,6 +11,6 @@ spec:
containers:
- name: sleep
image: alpine:latest
command: ["sleep", "20"]
command: ["sleep", "10"]
restartPolicy: Never
backoffLimit: 0
+1 -1
View File
@@ -11,6 +11,6 @@ spec:
containers:
- name: sleep
image: alpine:latest
command: ["sleep", "20"]
command: ["sleep", "10"]
restartPolicy: Never
backoffLimit: 0