k8s-lab/k3s/rpi/my-stuff/instructions.txt

6 lines
498 B
Plaintext
Raw Normal View History

2025-06-21 20:36:29 +00:00
# In order to pull images from the private container, you need to create a secret with the Docker registry auth details:
kubectl create secret docker-registry -n my-stuff k3crpi-auth --docker-server=YOUR_REGISTRY_URL --docker-username=YOUR_REGISTRY_USER --docker-password=YOUR_REGISTRY_PASS
# NOTE: You have to include the port number in the YOUR_REHISTRY_URL otherwise the pods will fail to pull from the registry (e.g. "kubectl create ...blabla... --docker-server=my.reg.com:5000 ...blabla..."