Heat templates for deploying OpenStack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.8KB

  1. heat_template_version: ocata
  2. description: Triggers a Mistral workflow for the deployment of Kubernetes
  3. parameters:
  4. RoleNetIpMap:
  5. default: {}
  6. type: json
  7. ServiceData:
  8. default: {}
  9. description: Dictionary packing service data
  10. type: json
  11. ServiceNetMap:
  12. default: {}
  13. description: Mapping of service_name -> network name. Typically set
  14. via parameter_defaults in the resource registry. This
  15. mapping overrides those in ServiceNetMapDefaults.
  16. type: json
  17. DefaultPasswords:
  18. default: {}
  19. type: json
  20. RoleName:
  21. default: ''
  22. description: Role name on which the service is applied
  23. type: string
  24. RoleParameters:
  25. default: {}
  26. description: Parameters specific to the role
  27. type: json
  28. EndpointMap:
  29. default: {}
  30. description: Mapping of service endpoint -> protocol. Typically set
  31. via parameter_defaults in the resource registry.
  32. type: json
  33. outputs:
  34. role_data:
  35. description: Role data for the Kubernetes Service
  36. value:
  37. # This service template essentially tags the nodes that we want
  38. # as workers. The actual installation is performed in
  39. # kubernetes-master service template.
  40. service_name: kubernetes_worker
  41. config_settings:
  42. tripleo.kubernetes_worker.firewall_rules:
  43. '200 kubernetes-worker kubelet':
  44. dport:
  45. - 10250
  46. - 10255
  47. proto: tcp
  48. '200 kubernetes-worker external services':
  49. dport: '30000-32767'
  50. '200 kubernetes-worker flannel':
  51. dport:
  52. - 8285
  53. - 8472
  54. proto: udp
  55. '200 kubernetes-worker calico bgp':
  56. dport: 179
  57. proto: tcp
  58. '200 kubernetes-worker calico ipv4-in-ip':
  59. proto: ipv4
  60. upgrade_tasks: []
  61. step_config: ''