Skip to content

Commit

Permalink
Suggest setting context using cluster variable so that it works with …
Browse files Browse the repository at this point in the history
…non-default clusters
  • Loading branch information
polycaster authored and jkohen committed Jan 15, 2019
1 parent ae5c3a3 commit 19ae64a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion kube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,20 @@ Required environment variables:
* `KUBE_CLUSTER`: cluster name parameter for the sidecar
* `GCP_REGION`: GCP region parameter for the sidecar
* `GCP_PROJECT`: GCP project parameter for the sidecar
* `SIDECAR_IMAGE_TAG`: Version parameter for the sidecar

If your cluster is not the default context:

```sh
kubectl config use-context <kubernetes_context>
```

## `patch.sh`

Inject sidecar into Deployments or StatefulSets:

```sh
./patch.sh <deployment|statefulset> <name>
./patch.sh <deployment|statefulset> <name>
```

Additional environment variables:
Expand Down

0 comments on commit 19ae64a

Please sign in to comment.