Using Skupper with Minikube
Prerequisites
You must install Minikube and start a cluster.
You must have a version of
kubectl
compatible with your Minikube Kubernetes version. You can also use thekubectl
built in to Minikube.
Cluster access
Minikube does not offer a dedicated login command, but you can re-run
the minikube start
command in each console session you wish to
configure. This initializes the required kubeconfigs in each case.
export KUBECONFIG=$HOME/.kube/config-west
minikube start
export KUBECONFIG=$HOME/.kube/config-east
minikube start
Running minikube tunnel
Skupper requires IP connectivity to at least one cluster in order to
form links between clusters. If you are using Minikube to test
Skupper, one of your Minikube clusters must have external network
access. To enable network access, run minikube tunnel
in the
background after running minikube start
.
Make sure you run minikube tunnel
with the same kubeconfig and
Minikube profile you used for minikube start
. In the Hello World
example, the tunnel is required only for the cluster containing the
West namespace.
export KUBECONFIG=$HOME/.kube/config-west
minikube tunnel
The tunnel must run continuously while you are using it, so you will likely want to run it in its own console session, separate from the console you use to interact with the West namespace.
See Using minikube tunnel for more information.