Registry в Minikube


Делаю:
04.10.2021


// Установка настройка
https://github.com/kameshsampath/minikube-helpers/tree/master/registry

// Что-то нужное по tekton https://developers.redhat.com/blog/2019/07/11/deploying-an-internal-container-registry-with-minikube-add-ons#what_do_we_need_


$ minikube start --profile ${PROFILE}
$ minikube start --profile addons enable registry


$ cd ~/tmp
$ git clone https://github.com/kameshsampath/minikube-helpers
$ cd minikube-helpers/registry


$ kubectl apply -n kube-system \
  -f registry-aliases-config.yaml \
  -f node-etc-hosts-update.yaml \
  -f patch-coredns-job.yaml


$ minikube --profile marley-minikube ssh -- sudo cat /etc/hosts


Testing


$ cd ~/tmp
$ git clone https://github.com/kameshsampath/minikube-registry-aliases-demo

$ cd minikube-registry-aliases-demo


eval $(minikube --profile ${PROFILE} docker-env)


skaffold dev --port-forward


$ curl localhost:8080