You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaced Update and Create commands with Apply
Added flag to pass in gke cluster and shared vpc TF state storage buckets
Refactored the k8s api check to use a connect gw cred
Co-authored-by: Nick Eberts <[email protected]>
7.**Run `gkekitctl create` to run the Toolkit.** By default, this command sets up a single-cluster GKE environment. ([Configuration here](cli/pkg/cli_init/samples/default-config.yaml)). Enter your project ID when prompted.
49
+
7.**Run `gkekitctl apply` to run the Toolkit.** By default, this command sets up a single-cluster GKE environment. ([Configuration here](cli/pkg/cli_init/samples/default-config.yaml)). Enter your project ID when prompted.
50
50
51
51
```shell
52
-
./gkekitctl create
52
+
./gkekitctl apply
53
53
```
54
54
```shell
55
55
# expected output
@@ -73,9 +73,13 @@ time="2022-02-04T21:58:00Z" level=info msg="🌎 5 Namespaces found in cluster=g
73
73
74
74
## Update
75
75
76
-
If you want to update your environment change the config file and run the update command. This is a great way to add or remove clusters.
76
+
If you want to update your environment change the config file and re-run the apply command. This is a great way to add or remove clusters.
77
77
```bash
78
-
./gkekitctl update --config <config file name>
78
+
## Local tf state
79
+
./gkekitctl apply --config <"config file name">
80
+
81
+
## If you are using remote TF state
82
+
./gkekitctl apply --config <"config file name"> --gkestate <"bucket name used for state file"> --vpcstate <"if using sharevpc, bucket name for shared vpc state file">
0 commit comments