Created
May 24, 2017 12:57
-
-
Save pbzdyl/2c3e93c54464a158beff1edb6c203a88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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