mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-20 07:42:49 +00:00
Split out the Tilt registry to separate YAML files. Expand the Tilt section a bit to clarify what happens when running on cluster-that-don't-look-like-dev-ones.
15 lines
650 B
Plaintext
15 lines
650 B
Plaintext
k8s_yaml('../k8s/tilt-registry.yaml')
|
|
default_registry('localhost:30555')
|
|
docker_build('dockercoins/hasher', 'hasher')
|
|
docker_build('dockercoins/rng', 'rng')
|
|
docker_build('dockercoins/webui', 'webui')
|
|
docker_build('dockercoins/worker', 'worker')
|
|
k8s_yaml('../k8s/dockercoins.yaml')
|
|
|
|
# Uncomment the following line to let tilt run with the default kubeadm cluster-admin context.
|
|
#allow_k8s_contexts('kubernetes-admin@kubernetes')
|
|
|
|
# While we're here: if you're controlling a remote cluster, uncomment that line.
|
|
# It will create a port forward so that you can access the remote registry.
|
|
#k8s_resource(workload='registry', port_forwards='30555:5000')
|