Category: Cloud Status: base
Connects to a Google Kubernetes Engine cluster for managing namespaces, workloads, and running kubectl-style operations via the Kubernetes API.
| Field | Default | Description |
|---|---|---|
| credentials_name | (empty) | Name of the GCP service account JSON credentials file |
| host | localhost | Kubernetes API server hostname |
| port | 443 | Kubernetes API server port |
| cluster_ca | (empty) | Cluster CA certificate (base64-encoded, filled automatically) |
Google Cloud service account JSON key file. The service account must have the Kubernetes Engine Developer (or Admin) role.
To set up credentials:
1. Open https://console.cloud.google.com/iam-admin/serviceaccounts
2. Create a service account and assign the Kubernetes Engine Developer role
3. Create and download a JSON key
4. Upload the key file to dbwebtool and set credentials_name
Requires the kubernetes Python package:
pip install kubernetes
Enable these Google APIs for your project: - Kubernetes Engine API: https://console.cloud.google.com/apis/library/container.googleapis.com - Cloud Billing API: https://console.cloud.google.com/apis/library/cloudbilling.googleapis.com