minikube tunnel
.
Prerequisites
Before you begin, ensure you have the following installed:- A supported hypervisor or container runtime:
kubectl
(Kubernetes command-line tool)
Installation
Minikube
Installing kubectl
Starting Your Local Cluster
Connecting Ankra to Your Local Cluster
To begin deploying services through Ankra, you need to import your Minikube cluster into the platform by connecting the Ankra Agent to your local cluster.- Navigate to the Clusters tab in the Ankra UI.
- Click Import Cluster.
- Enter the Cluster Name.
- Connect a GitHub Credential and select a GitHub repository.
- The chosen repository will be where Ankra stores the YAML configuration files for the services deployed onto your local cluster from the Ankra Library.
- Run the Helm command provided in the Ankra UI to connect the Ankra Agent to your local cluster.
- Once your cluster is imported, you will be able to view the cluster dashboard and begin installing add-ons.
Optional: If your services will be of type LoadBalancer
, you will need to start the Minikube tunnel by running the following command in a separate terminal to provide them with a public IP address: