New Project
Installing
It is a lightweight wrapper to run k3s
(Rancher Lab’s minimal Kubernetes distribution) in docker.
Great tool to work with Istio
.
Requires Docker
to use k3d
.
Requires kubectl
to interact with Kubernetes cluster.
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
Download and install Istio's client.
$ curl -L https://istio.io/downloadIstio | sh -
# Move the folder to /opt (Optional - may require sudo)
$ mv istio-1.24.2 /opt/istio-1.24.2
# Enter Istio package delivery directory (If package is istio-1.24.2)
$ cd /opt/istio-1.24.2
# Or add to .bash_profile if in WSL2
$ export PATH=$PWD/bin:$PATH
Install Istio on the cluster with the default profile.
istioctl install
Setup
Creating Cluster
k3d cluster create -p "8000:30000@loadbalancer" --agents 2
k3d
makes it easy to bind the host port into the Cluster. Other tools may not be that simple.
Last updated