vmware-tanzu-labs / educates-training-platform

A platform for hosting interactive workshop environments in Kubernetes, or on top of a local container runtime.
https://docs.educates.dev
Apache License 2.0
63 stars 15 forks source link

Duplicate log message when linking local registry to Kind cluster nodes. #409

Closed GrahamDumpleton closed 3 weeks ago

GrahamDumpleton commented 3 weeks ago

Describe the bug

Message:

Adding local image registry config to Kind nodes

appears twice in the following:

% ./client-programs/bin/educates-darwin-amd64 create-cluster --cluster-only
Cluster config used is saved to:  /Users/graham/Library/Application Support/educates/educates-cluster-config.yaml
Creating cluster "educates" ...
 ✓ Ensuring node image (kindest/node:v1.29.2) đŸ–ŧ
 ✓ Preparing nodes đŸ“Ļ  
 ✓ Writing configuration 📜 
 ✓ Starting control-plane 🕹ī¸ 
 ✓ Installing CNI 🔌 
 ✓ Installing StorageClass 💾 
 ✓ Waiting ≤ 1m0s for control-plane = Ready âŗ 
 â€ĸ Ready after 15s 💚
Set kubectl context to "kind-educates"
You can now use your cluster with:

kubectl cluster-info --context kind-educates --kubeconfig /Users/graham/.kube/config

Not sure what to do next? 😅  Check out https://kind.sigs.k8s.io/docs/user/quick-start/
Deploying local image registry
{"status":"Pulling from library/registry","id":"2"}
{"status":"Digest: sha256:4fac7a8257b1d7a86599043fcc181dfbdf9c8f57e337db763ac94b0e67c6cfb5"}
{"status":"Status: Image is up to date for registry:2"}
Linking local image registry to cluster
Adding local image registry config to Kind nodes
Adding local image registry config to Kind nodes
Educates cluster has been created succesfully

Additional information

No response