mirror of https://github.com/helm/helm
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.
47 lines
1.4 KiB
47 lines
1.4 KiB
config:
|
|
resources:
|
|
- name: master-address-firewall
|
|
properties:
|
|
allowed:
|
|
- IPProtocol: tcp
|
|
ports:
|
|
- '4505'
|
|
- '4506'
|
|
network: https://www.googleapis.com/compute/v1/projects/my-project/global/networks/default
|
|
sourceRanges:
|
|
- 0.0.0.0/0
|
|
type: compute.v1.firewall
|
|
- name: master-address
|
|
properties:
|
|
disks:
|
|
- autoDelete: true
|
|
boot: true
|
|
deviceName: boot
|
|
initializeParams:
|
|
sourceImage: https://www.googleapis.com/compute/v1/projects/debian-cloud/global/images/debian-7-wheezy-v20140619
|
|
type: PERSISTENT
|
|
machineType: https://www.googleapis.com/compute/v1/projects/my-project/zones/my-zone/machineTypes/f1-micro
|
|
metadata:
|
|
items:
|
|
- key: startup-script
|
|
value: startup-script-value
|
|
networkInterfaces:
|
|
- accessConfigs:
|
|
- name: External NAT
|
|
type: ONE_TO_ONE_NAT
|
|
network: https://www.googleapis.com/compute/v1/projects/my-project/global/networks/default
|
|
zone: my-zone
|
|
type: compute.v1.instance
|
|
layout:
|
|
resources:
|
|
- name: python_template_with_env_name
|
|
properties:
|
|
masterAddress: master-address
|
|
zone: my-zone
|
|
resources:
|
|
- name: master-address-firewall
|
|
type: compute.v1.firewall
|
|
- name: master-address
|
|
type: compute.v1.instance
|
|
type: python_template_with_env.py
|