docs: add kubectl configuration instructions for GKE access (#514)
Added documentation for configuring kubectl to access existing GKE clusters for both production and staging environments.
This commit is contained in:
parent
6e38137ce4
commit
bd6c711627
1 changed files with 14 additions and 0 deletions
|
|
@ -160,6 +160,20 @@ Backups are encrypted using Restic. To access the backup data:
|
|||
|
||||
## Troubleshooting
|
||||
|
||||
To configure kubectl to access an existing GKE cluster:
|
||||
|
||||
```bash
|
||||
# Login
|
||||
gcloud auth login
|
||||
gcloud auth application-default login
|
||||
|
||||
# For production
|
||||
gcloud container clusters get-credentials mcp-registry-prod --zone us-central1-b --project mcp-registry-prod
|
||||
|
||||
# For staging
|
||||
gcloud container clusters get-credentials mcp-registry-staging --zone us-central1-b --project mcp-registry-staging
|
||||
```
|
||||
|
||||
### Check Status
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Reference in a new issue