Docs: update kubernetes deploy (#11044)
This commit is contained in:
@@ -40,13 +40,13 @@ Configure `kubectl` to connect to your cluster by using `kubectl use-context my-
|
||||
`gcloud container clusters get-credentials CLUSTER_NAME --zone ZONE_NAME --project PROJECT_NAME`.
|
||||
|
||||
* Use `kubectl config get-contexts` to show the contexts available.
|
||||
* Run `kubectl use-context <gke context>` to access the cluster from `kubectl`.
|
||||
* Run `kubectl config use-context <gke context>` to access the cluster from `kubectl`.
|
||||
* For EKS
|
||||
* [Configure your AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html) to connect to your project.
|
||||
* Install [eksctl](https://eksctl.io/introduction/)
|
||||
* Run `eksctl utils write-kubeconfig --cluster=<CLUSTER NAME>` to make the context available to `kubectl`
|
||||
* Use `kubectl config get-contexts` to show the contexts available.
|
||||
* Run `kubectl use-context <eks context>` to access the cluster with `kubectl`.
|
||||
* Run `kubectl config use-context <eks context>` to access the cluster with `kubectl`.
|
||||
|
||||
### Configure Logs
|
||||
|
||||
@@ -118,6 +118,10 @@ data:
|
||||
|
||||
```text
|
||||
GCS_LOG_BUCKET=<your_GCS_bucket_to_write_logs_in>
|
||||
```
|
||||
|
||||
4\) Modify the `.secrets` file in the `kube/overlays/stable` directory
|
||||
```text
|
||||
# The path the GCS creds are written to. Unless you know what you are doing, use the below default value.
|
||||
GOOGLE_APPLICATION_CREDENTIALS=/secrets/gcs-log-creds/gcp.json
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user