Add Pre/PostSync job example

This commit is contained in:
Jesse Suen committed 2018-07-11 18:24:18 -07:00
1 parent 96a019c088
commit 144fd97a0c
10 files changed
+162

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
{
global: {
// User-defined global parameters; accessible to all component and environments, Ex:
// replicas: 4,
},
components: {
// Component-level parameters, defined initially from 'ks prototype use ...'
// Each object below should correspond to a component in the components/ directory
"guestbook-ui": {
containerPort: 80,
image: "gcr.io/heptio-images/ks-guestbook-demo:0.1",
name: "pre-post-sync",
replicas: 1,
servicePort: 80,
type: "LoadBalancer",
},
"pre-sync-job": {},
"post-sync-job": {},
},
}