 for GCS, Docker and Kubernetes Python clients. Italso allows for the configuration of local Docker and Kubernetes CLIs.

The GCP Service Connector is part of the GCP ZenML integration. You can either

install the entire integration or use a pypi extra to install it independently

of the integration:

pip install "zenml[connectors-gcp]" installs only prerequisites for the GCP

Service Connector Type

zenml integration install gcp installs the entire GCP ZenML integration

It is not required to install and set up the GCP CLI on your local machine to

use the GCP Service Connector to link Stack Components to GCP resources and

services. However, it is recommended to do so if you are looking for a quick

setup that includes using the auto-configuration Service Connector features.

──────────────────────────────────────────────────────────────────────────────────

Fetching details about the GCP kubernetes-cluster resource type (i.e. the GKE cluster):

zenml service-connector describe-type gcp --resource-type kubernetes-cluster

Example Command Output

╔══════════════════════════════════════════════════════════════════════════════╗

║      🌀 GCP GKE Kubernetes cluster (resource type: kubernetes-cluster)       ║

╚══════════════════════════════════════════════════════════════════════════════╝

Authentication methods: implicit, user-account, service-account, oauth2-token,

impersonation

Supports resource instances: True

Authentication methods:

🔒 implicit

🔒 user-account

🔒 service-account

🔒 oauth2-token

🔒 impersonation

Allows Stack Components to access a GKE registry as a standard Kubernetes

cluster resource. When used by Stack Components, they are provided a

pre-authenticated Python Kubernetes client instance.

The configured credentials must have at least the following GCP permissions

associated with the GKE clusters that it can access:

container.clusters.list

container.clusters.get

In addition to the above permissions, the credentials should include permissions