kdocs
GitHub
T&O - Servers
T&O - Servers
  • Gateway
    • API Gateway
    • Kong API Gateway
      • New Project
  • Service Mesh
    • Service Mesh
    • Istio
      • New Project
  • Virtualization
    • Docker
      • Dockerfile
      • Docker Compose
      • Optimizing Images
    • Kubernetes
  • Web Servers
    • Nginx
  • Windows
    • WSL 2
Powered by GitBook
On this page
  • Installing
  • k3d
  • Istioctl
  • Setup
  • Creating Cluster
  • Configure Istio in k3d
  1. Service Mesh
  2. Istio

New Project

PreviousIstioNextDocker

Last updated 3 months ago

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 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

You may Creating Cluster before installing Istio in the cluster.

istioctl install

Setup

Creating Cluster

k3d cluster create -p "8000:30000@loadbalancer" --agents 2

Bind the host 8000 with the cluster's 30000, because it is the port region to work with Kubernetes node ports.

k3d makes it easy to bind the host port into the Cluster. Other tools may not be that simple.

Install Istio on the cluster with the default .

k3d
kubectl
Istioctl
profile
Configure Istio in k3d