Skip to content

Commit 3a3497a

Browse files
committed
Added section about configuring the registry used by Tilt.
1 parent 6c348a0 commit 3a3497a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

modules/contributor/pages/testing_on_kubernetes.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,19 @@ v0.30.13, built
6767
You can now either hit the spacebar to open the Tilt user interface, or manually navigate to the url shown.
6868

6969
NOTE: The port used will be different for every repository from the Stackable organisation, in order to allow running multiple deployment workflows at the same time without getting port conflicts.
70+
71+
=== Configuring the Registry Used
72+
If you are using a local Kubernetes like Kind, K3s or similar for your development Tilt will work right out of the box for you, as it will directly push the images to your local Kubernetes cluster (see https://docs.tilt.dev/personal_registry.html for more information).
73+
74+
If you are using a remote cluster, Tilt will push the generated container images to a remote registry, in order for your Kubernetes to be able to access them.
75+
We have configured `docker.stackable.tech/sandbox` as the default registry, as this is what all our developers use.
76+
External contributors will not have access to this registry and need to override this to a registry of their choice.
77+
78+
Overriding the default registry can be done by providing a file called `tilt_options.json` in the same directory as the Tiltfile.
79+
80+
[source, json]
81+
----
82+
{
83+
"default_registry": "docker.stackable.tech/soenkeliebau",
84+
}
85+
----

0 commit comments

Comments
 (0)