params.libsonnet 580 B

1234567891011121314151617181920
  1. {
  2. global: {
  3. // User-defined global parameters; accessible to all component and environments, Ex:
  4. // replicas: 4,
  5. },
  6. components: {
  7. // Component-level parameters, defined initially from 'ks prototype use ...'
  8. // Each object below should correspond to a component in the components/ directory
  9. "guestbook-ui": {
  10. containerPort: 80,
  11. image: "gcr.io/heptio-images/ks-guestbook-demo:0.2",
  12. name: "pre-post-sync",
  13. replicas: 1,
  14. servicePort: 80,
  15. type: "LoadBalancer",
  16. },
  17. "pre-sync-job": {},
  18. "post-sync-job": {},
  19. },
  20. }