Skip to content

Instantly share code, notes, and snippets.

@pbzdyl pbzdyl/Terminal
Created May 24, 2017

Embed
What would you like to do?
resources:
- name: my-cluster
type: container.v1.cluster
properties:
zone: europe-west1-b
cluster:
name: my-cluster
nodePools:
- name: pool-1
initialNodeCount: 5
config:
machineType: n1-standard-1
diskSizeGb: 100
imageType: COS
oauthScopes:
- https://www.googleapis.com/auth/compute
- https://www.googleapis.com/auth/devstorage.read_only
- https://www.googleapis.com/auth/cloud.useraccounts.readonly
- https://www.googleapis.com/auth/service.management.readonly
- https://www.googleapis.com/auth/logging.write
- https://www.googleapis.com/auth/monitoring.write
resources:
- name: my-cluster
type: container.v1.cluster
properties:
zone: europe-west1-b
cluster:
name: my-cluster
initialNodeCount: 1
nodeConfig:
machineType: n1-standard-1
diskSizeGb: 100
imageType: COS
oauthScopes:
- https://www.googleapis.com/auth/compute
- https://www.googleapis.com/auth/devstorage.read_only
- https://www.googleapis.com/auth/cloud.useraccounts.readonly
- https://www.googleapis.com/auth/service.management.readonly
- https://www.googleapis.com/auth/logging.write
- https://www.googleapis.com/auth/monitoring.write
$ gcloud deployment-manager deployments create my-deployment --config <path-to-your-yml-file>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.