-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Still suffering from #4
- Loading branch information
Showing
3 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,6 +84,16 @@ The cluster must have at least 2 nodes of type e2-medium or higher. The recommen | |
|
||
1. Create master project in [Google Cloud console](https://console.cloud.google.com/cloud-resource-manager). Highly confidential Terraform state will be kept in a GCS bucket in that project. | ||
|
||
- add gcloud `gke-infra-master` configuration (please change `[email protected]` to correct address) | ||
|
||
``` | ||
PROJID="<master project name>" | ||
gcloud config configurations create gke-infra-master | ||
gcloud config set account [email protected] | ||
gcloud config set project "$PROJID" | ||
gcloud auth login --activate --no-launch-browser | ||
``` | ||
|
||
- create Terraform backend SA | ||
|
||
```sh | ||
|
@@ -186,6 +196,7 @@ Issuing commands from local machine should only be considered in the cluster dev | |
|
||
```sh | ||
gcloud config configurations activate default | ||
gcloud config configurations delete gke-infra-master | ||
gcloud config configurations delete gke-infra-dev | ||
gcloud config configurations delete gke-infra-prod | ||
``` |
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
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