red:

kubectl cluster-info

Example Command OutputKubernetes control plane is running at https://A5F8F4142FB12DDCDE9F21F6E9B07A18.gr7.us-east-1.eks.amazonaws.com

CoreDNS is running at https://A5F8F4142FB12DDCDE9F21F6E9B07A18.gr7.us-east-1.eks.amazonaws.com/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

A similar process is possible with ECR container registries:

zenml service-connector verify aws-session-token --resource-type docker-registry

Example Command Output

Service connector 'aws-session-token' is correctly configured with valid credentials and has access to the following resources:

┏━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓

┃   RESOURCE TYPE    │ RESOURCE NAMES                               ┃

┠────────────────────┼──────────────────────────────────────────────┨

┃ 🐳 docker-registry │ 715803424590.dkr.ecr.us-east-1.amazonaws.com ┃

┗━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

zenml service-connector login aws-session-token --resource-type docker-registry

Example Command Output

⠏ Attempting to configure local client using service connector 'aws-session-token'...

WARNING! Your password will be stored unencrypted in /home/stefan/.docker/config.json.

Configure a credential helper to remove this warning. See

https://docs.docker.com/engine/reference/commandline/login/#credentials-store

The 'aws-session-token' Docker Service Connector connector was used to successfully configure the local Docker/OCI container registry client/SDK.

The following can be used to check that the local Docker client is correctly configured:

docker pull 715803424590.dkr.ecr.us-east-1.amazonaws.com/zenml-server

Example Command Output

Using default tag: latest

latest: Pulling from zenml-server

e9995326b091: Pull complete

f3d7f077cdde: Pull complete

0db71afa16f3: Pull complete

6f0b5905c60c: Pull complete

9d2154d50fd1: Pull complete

d072bba1f611: Pull complete

20e776588361: Pull complete

3ce69736a885: Pull complete

c9c0554c8e6a: Pull complete