Skip to content

Commit

Permalink
annotate nodes for tilt
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed May 1, 2020
1 parent ab3205d commit 4f9eca2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion site/static/examples/kind-with-registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ containerdConfigPatches:
EOF

# connect the registry to the cluster network
docker network connect "kind" "${reg_name}"
docker network connect "kind" "${reg_name}"

# tell https://tilt.dev to use the registry
for node in $(kind get nodes --name "${KIND_CLUSTER_NAME}"); do
kubectl annotate node "${node}" "tilt.dev/registry=localhost:${reg_port}";
done

0 comments on commit 4f9eca2

Please sign in to comment.