Reputation: 911
Searching the web for how to deploy a locally build docker image in kubernetes, I found solutions in combination with minikube only.
For example: minikube
So I'm wondering, is it possible to use locally build docker images in an Kubernetes Cluster established by kubeadm
or is the preferred way to deploy those images to an private registry and pull it afterwards from within the cluster?
Upvotes: 1
Views: 815
Reputation: 5041
Using a private registry is definitely the way to do it. Some may rely on a third-party registry, others would deploy it in kubernetes. Solutions may include Artifactory, Nexus, Portus, Harbor, GitLab, docker-registry, ... most of which may use s3 storage and would scale horizontally.
Now, with minikube, hosting a registry might not be practical: you could indeed build your images directly on your host. But you shouldn't do this anywhere else.
Upvotes: 2