- Install K8S cluster Minikube
kubectl config use-context minikube
- Point your terminal’s docker-cli to the Docker Engine inside minikube (Useful for building docker images directly inside minikube)
eval $(minikube docker-env)
Build the docker image the same terminal and to verify if the image is build inside minikube image registry
minikube image ls --format table
The image build should start with docker.io/library/${new-image}
Install istio
After installing istioctl
run the following to instal istion in the minikube cluster
istioctl install
- To enable terminal in web terminal in argorollout
Edit configmap kubectl edit configmap argocd-cm -n argocd
and add
data:
exec.enabled: "true"
Patch the argocd-server Role kubectl edit roles.rbac.authorization.k8s.io -n argocd argocd-server
resources:
- pods/exec
Example: Mapping Hostnames with Ports