back to all posts...

How to Set Up a Kubernetes Control Plane On-Premise

by Hinzik, published on 19 November, 2026
The objective of this document is to provide guidance on how to install a local Kubernetes cluster and deploy a stateful application that is accessible from outside of the cluster.

This is an objective-oriented guide and the objective will be split into three stages:

  1. Install a local Kubernetes cluster that comprises one control-plane (master) node and three worker nodes
  2. Deploy a stateful application in the cluster
  3. Make the application accessible from outside of the cluster

The following is a quick reference for components used in this guide which has multiple alternatives to choose from:

  1. Operating System: Ubuntu LTS 24
  2. Container Runtime Interface: cri-o
  3. Container Network Interface: Flannel
  4. Container Storage Interface: OpenEBS

All scripts in this guide are run using a non-root user unless specified.

Cluster Overview

The cluster is controlled by a single master node known as the control-plane, it controls three worker nodes. The following diagram shows the pods running on each node at a certain moment. The pods running on each worker node might be different from the graph, depending on the real-time workloads and the user settings.

cluster overview

The minimum unit that runs in a node is known as pod, one pod could be composed of multiple containers but usually one container per pod. The pods in the above diagram are grouped by the features they provide when they work together as a whole, rather than which layer they belong to in the OSI model.

The components installed in stage 1 are the backbones of a Kubernetes node, they provide the core functionalities such as pod creation and execution, workload distribution, and communication between pods. The control-plane and the kubectl tool will not work properly if any of the stage 1 components is malfunctioning.

When all components in stage 1 are installed, the Kubernetes cluster can be considered as "ready". The user can use the kubectl tool to interact with the Kubernetes API, the Kubernetes API mutates the states stored in the etcd database. The etcd database stores the "desired state" of the cluster, the controller monitors the actual state running in the cluster, and updates the actual state whenever the desired state in the etcd changes. The workloads are scheduled and distributed to different worker nodes by the scheduler.

Until this point the cluster is very raw, there is no legit service running on it. We picked a service named Devtron to install for demonstration purposes, it is a web console built on the Kubernetes API for a better management experience. Devtron requires its own persistent storage, thus a Container Storage Interface is needed for storage provision. We will first install OpenEBS, the container storage interface, then devtron in stage 2.

After the application is deployed, it is only accessible from inside of the cluster. We will install kube-vip and istio in stage 3, kube-vip is a virtual IP management tool, and istio is a versatile and robust network solution that we will only use as a reverse-proxy in this guide. They will work together to expose the Devtron service so the users can access it from outside of the cluster.

Data Flow

The following diagram is a simplified representation of how the components work together to provide a service to users. Notice that the service-pod model of Devtron Backend and Devtron Postgresql are stacked for simplicity.

Connections between all parties inside the Kubernetes Cluster are mediated by kube-proxy.

architecture

When users visit the devtron frontend, the requests are sent to the node which holds the virtual IP address, the address is mapped to the istio service.

When the requests reach the istio service, the requests are forwarded to one of the istio pods. There might be multiple istio pods of the same instance behind the istio service for high-availability. The istio service manages the load balancing between its pods, and the connections between them are routed by the kube-proxy.

Eventually, the programmes running inside of the istio pod receive the requests and look for the hostnames in the headers.

After that, the istio pod forwards the requests to the right upstream, the devtron frontend service in our case. When the requests are finally sent to the frontend service, their behaviour becomes similar to a normal three-tier web app.

The connections between different services in the cluster are also managed by the kube-proxy.

Installation Overview

This section describes the installation procedure in detail, it provides extra context for beginners. For those who already have enough knowledge about Kubernetes, feel free to jump to the OS Preparation section.

Stage 1 - Cluster Installation

The first thing we are going to install after the OS is ready will be the Container Runtime Interface (CRI).

Container Runtime Interface

The container runtime is the programme that Kubernetes uses to run the containers on each node, including the Kubernetes core components per se, it is the foundation of the Kubernetes cluster. There is more than one container runtime to pick from and it has to be installed manually on each node. In this guide we picked cri-o since it is a container runtime specifically designed for Kubernetes. We install kubectl, kubelet and kubeadm together with cri-o, they are tools for the installation of the Kubernetes components that run a node.

The next step is to initialise the cluster using the kubeadm tool, but the best practice is to decide the subnet segments being assigned to the services and pods first.

Service Subnet and Pod Subnet

The Kubernetes control-planes manage two major subnets, one for pods, one for services.

A service in terms of Kubernetes is a special object that encapsulates a deployment. A deployment is a group of pods that are expected to be destroyed and recreated frequently, the pod being recreated will be considered as the same instance but the IP addresses assigned to that pod before and after are not guaranteed to be the same.

A service is therefore created to serve as a single endpoint of the pods, it provides a stable and manageable IP to access them.

Notice that the pods in one deployment are replicas of each other for scaling and high availability, pods that run different applications will never be grouped into the same deployment or service object.

pods and services subnets

Kubernetes uses 10.96.0.0/12 and 10.244.0.0/16 as the default service subnet segment and pod subnet segment respectively. The service subnet 10.96.0.0/12 is being managed by the control planes while the pod subnet 10.244.0.0/16 is being managed by a third-party network plugin that follows the container network interface (CNI) standard.

In environments where multiple Kubernetes clusters exist, we need to carefully configure the subnet segments being assigned to the services and pods inside each cluster. If all clusters in your environment use the same default network, all clusters will malfunction at some point as there is a high potential of IP conflicts.

Kubeadm and Flannel

After we choose the segments, we will initialise the control-plane using the kubeadm tool, it will install etcd, controller, scheduler, kube-proxy and the Kubernetes API server on the node for us.

We will install Flannel as our Container Network Interface, it is the network infrastructure in the cluster. Although the IPs are managed by the Kubernetes controller, the network communications are implemented by Flannel. We need to specify the pod subnet segment when installing Flannel, make sure the segment matches the one we specified in the kubeadm tool.

The final step in this stage is to join the worker nodes to the cluster, we will retrieve the command from the control-plane, and run it on the worker nodes.

Until this point, we have created a Kubernetes cluster that can be managed via the kubectl tool in CLI.

Stage 2 - Application Deployment

When the cluster is ready, we will deploy Devtron on it using Helm.

Helm is a package manager for Kubernetes that can deploy services in a few lines, we will deploy all the applications running in the cluster using Helm from this stage.

Devtron can partially replace the functionality of kubectl, we can use its graphical interface to manage the cluster instead of using CLI. This guide will not go into the details of devtron, as it could be any app that you need, the deployment procedure will be similar.

As mentioned in the cluster overview, the deployment of stateful applications depends on a storage provisioning mechanism.

Persistent Volume and Storage Class

Not every pod in Kubernetes needs long-term storage, or persistent volumes (PVs) in terms of Kubernetes. However, if users do need long-term storage for pods like those running databases, they could mount long-term storage to a pod by adding a storageClass property to its definition.

A storageClass is a Kubernetes resource that logically groups a Container Storage Interface (CSI), a path that stores the files, and a few storage-related policies together. This can then be added to a pod's definition by a user, the CSI specified in the storageClass will automatically create and mount storage to the pod during its creation stage.

The above procedure is known as dynamic provisioning, we will install OpenEBS and create a storageClass to handle it.

When all OpenEBS pods are ready, we will install Devtron using its official helm chart.

Stage 3 - Application Exposure

Kubernetes provides a few options to allow users to access the service from the outside of the cluster including NodePort, LoadBalancer, Ingress and Gateway API. This guide will follow an approach that exposes only a reverse-proxy gateway as an entry point. All other services hide behind the reverse proxy and the traffic is forwarded by it.

Since we have three worker nodes, not only can the pods run on any of them at any time, the service could also be running on any of the worker nodes. Since we are hosting services using hostnames and the DNS would only point it to one IP address, we will need some sort of virtual IP mechanism to handle this.

Kube-VIP

Kube-vip is an open source tool that manages virtual IPs in a Kubernetes cluster, it binds an IP which is accessible outside of the cluster with a service inside the cluster. In a public cloud environment, the publicly accessible IP is being managed by the cloud-provider, while in an on-premise environment this job is handled by VIP management tools such as kube-vip.

kube-vip

Notice that kube-vip only binds a virtual IP to services that meet both of the following conditions:

  1. The service type must be loadBalancer
  2. The service must have an annotation of kube-vip.io/loadbalancerIPs=<Desired-IP>

Services with type clusterIP or nodePort, or loadBalancer services with the incorrect annotation WILL NOT be affected by kube-vip.

We install kube-vip using a daemonSet manifest instead of Helm, it is one of the few components that we don't install with Helm. A daemonSet is a special type of resource in Kubernetes which automatically creates a desired pod on nodes that match its conditions.

We will install istio when all the kube-vip pods are ready, the kube-vip pods run on worker nodes only.

Istio and Gateway API

Istio is a reverse-proxy that runs inside the Kubernetes cluster, as a part of its infrastructure. The most common use case of istio is to expose it as a single endpoint that forwards HTTP(S) traffic from outside of the cluster to services inside the cluster.

istio ingress

The same functionality could be provided without istio, but it involves the exposure and management of multiple endpoints.

without istio ingress

Finally, the service can be accessed from the outside of the cluster.

OS Preparation

Scripts in this section run on ALL nodes.

The purpose of this step is to set up an OS that is remotely accessible.

It is suggested to have at least 2 CPU cores and 8 GB of RAM on each node, you may use the following storage configuration as a reference. Kubernetes files and container images will be stored under the /var/lib directory, while the files used by each pod will be stored under the /opt directory.

storage configuration for reference

After Ubuntu is ready, execute the following script to configure host information, timezone and firewall settings for remote access. The machine will be turned off after the script is executed. Restart the machine.

# remove host file record 127.0.1.1
sudo sed -i 's/^127.0.1.1/# 127.0.1.1/' /etc/hosts

# Sys log rotate

sudo sed -i 's/rotate 4/rotate 10\n        size=+4096k/' /etc/logrotate.d/rsyslog
sudo sed -i 's/weekly/daily/' /etc/logrotate.d/rsyslog

# install vm-tools
sudo apt-get install -y open-vm-tools

# set timezone
sudo timedatectl set-timezone Asia/Hong_Kong

# enable firewall for remote access
sudo ufw allow 22/tcp
sudo ufw --force enable

sudo shutdown now

Container Runtime Installation

Scripts in this section run on ALL nodes.

The purpose of this step is to install the software that runs the containers (the container runtime), and tools that will be used to install Kubernetes on each node.

The following script will install the latest version of cri-o and start the service.

#install JSON processor addon
sudo apt-get install -y jq

#Define the Kubernetes version and used CRI-O stream
CRIO_VERSION=$(curl -sL https://api.github.com/repos/cri-o/cri-o/releases| jq -r ".[0].name"|sed -E 's/v([0-9]+\.[0-9]+)\.[0-9]+/v\1/g')
# CRIO_VERSION=v1.33
KUBERNETES_VERSION=$CRIO_VERSION

echo CRIO_VERSION $CRIO_VERSION KUBERNETES_VERSION $KUBERNETES_VERSION

# Install the dependencies for adding repositories
sudo apt-get update
sudo apt-get install -y software-properties-common curl

# Add the Kubernetes repository
curl -fsSL https://pkgs.k8s.io/core:/stable:/$KUBERNETES_VERSION/deb/Release.key |
    sudo gpg --dearmor -o /etc/apt/keyrings/Kubernetes-apt-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/Kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/$KUBERNETES_VERSION/deb/ /" |
    sudo tee /etc/apt/sources.list.d/Kubernetes.list

# Add the CRI-O repository
curl -fsSL https://download.opensuse.org/repositories/isv:/cri-o:/stable:/$CRIO_VERSION/deb/Release.key |
    sudo gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://download.opensuse.org/repositories/isv:/cri-o:/stable:/$CRIO_VERSION/deb/ /" |
    sudo tee /etc/apt/sources.list.d/cri-o.list

# Install the packages
sudo apt-get update
sudo apt-get install -y cri-o kubelet kubeadm kubectl etcd-client

# Hold packages to prevent automatic updates
sudo apt-mark hold cri-o kubelet kubeadm kubectl etcd-client

# Start CRI-O
sudo systemctl start crio.service

Control-plane Initialisation

Scripts in this section run on the CONTROL-PLANE ONLY.

The purpose of this step is to install Kubernetes components on the control-plane (master node).

For the Kubernetes core components to be properly installed, we must disable memory swap in the Linux system, load certain Linux modules and allow certain ports in the firewall.

# Disable swap memory
sudo swapoff -a
sudo sed -i 's/^\/swap/#\/swap/' /etc/fstab

# Load necessary Linux modules
sudo modprobe br_netfilter
echo "br_netfilter"|sudo tee /etc/modules-load.d/br_netfilter.conf
sudo sysctl -w net.ipv4.ip_forward=1
sudo sed -i 's/^#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/' /etc/sysctl.conf

# Allow required ports in firewall for communication between nodes
sudo ufw allow 6443/tcp        # Kubernetes API Server
sudo ufw allow 2379/tcp        # etcd server
sudo ufw allow 2380/tcp        # etcd peer communication
sudo ufw allow 10250/tcp       # Kubelet API
sudo ufw allow 10259/tcp       # Kube Scheduler
sudo ufw allow 10257/tcp       # Kube Controller Manager
sudo ufw allow 8285/udp        # Flannel UDP backend
sudo ufw allow 8472/udp        # Flannel VXLAN backend
sudo ufw reload

The initialisation process of the control plane is done by the kubeadm tool, it is installed together with the container runtime in the previous step. We will use the default subnets in this guide but explicitly specify them for you to easily modify them.

# Specify the subnets used by pods and services
CLUSTER_POD_SUBNET="10.244.0.0/16"
CLUSTER_SERVICE_SUBNET="10.96.0.0/12"

# Initialise a Kubernetes control-plane
sudo kubeadm init --pod-network-cidr="$CLUSTER_POD_SUBNET" --service-cidr="$CLUSTER_SERVICE_SUBNET" --upload-certs

After kubeadm completes its installation, we will use kubectl to communicate with the Kubernetes API server.

The following commands provide necessary information to the kubectl tool, otherwise it has no information about the API server.

sudo mkdir -p /home/shared/.kube
sudo cp /etc/kubernetes/admin.conf /home/shared/.kube/config
sudo chmod a+r /home/shared/.kube/config
sudo sed -i '/^KUBECONFIG=/d' /etc/environment
export KUBECONFIG=/home/shared/.kube/config
echo 'KUBECONFIG=/home/shared/.kube/config' | sudo tee -a /etc/environment
source /etc/environment

Run the following command when the control-plane is ready:

echo sudo $(sudo kubeadm token create --print-join-command)

Copy the output, it will be pasted on the worker nodes later for them to join the cluster.

Container Network Interface Installation

Scripts in this section run on the CONTROL-PLANE ONLY.

The purpose of this step is to install a component that manages communications between pods.

The kubeadm tool installed most of the core components, including kube-proxy, we will install the Container Network Interface (CNI), it manages the communication between pods.

As mentioned in the last section, the CNI manages the pod subnet, but it is also specified during kubeadm, make sure those two match.

# Make sure the subnet matches the one specified in kubeadm
CLUSTER_POD_SUBNET="10.244.0.0/16"

# Deploying Flannel with kubectl (First control node only)
curl -s https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml \
    | sed "s#10\.244\.0\.0/16#${CLUSTER_POD_SUBNET}#" \
    | kubectl apply -f -

sudo systemctl restart kubelet

Worker Initialisation

Scripts in this section run on the WORKER NODES ONLY.

The purpose of this step is to install Kubernetes components on the worker nodes.

Just like what we've done in the control-plane, disable memory swap in the Linux system, load certain Linux modules and allow certain ports in the firewall.

sudo ufw allow 10250/tcp       # Kubelet API
sudo ufw allow 8285/udp        # Flannel UDP backend
sudo ufw allow 8472/udp        # Flannel VXLAN backend
sudo ufw reload

sudo swapoff -a
sudo sed -i 's/^\/swap/#\/swap/' /etc/fstab

sudo modprobe br_netfilter
echo "br_netfilter"|sudo tee /etc/modules-load.d/br_netfilter.conf
sudo sysctl -w net.ipv4.ip_forward=1
sudo sed -i 's/^#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/' /etc/sysctl.conf

Paste and execute the join command we copied from the control-plane earlier, the following command is only an example, you should use the command generated from your control-plane:

# This is only an example, directly pasting this will NOT work.

# sudo kubeadm join $LOAD_BALANCER_DNS:$LOAD_BALANCER_PORT --token h5z5p2.cmfqk4m2ak6fanjv --discovery-token-ca-cert-hash sha256:4eae4ad4df2a39cd3092cf0689aca4e5394857ba0443f60331be662a88495884

After the worker node has joined the cluster, run the following commands to create necessary folders and permissions:

sudo mkdir /home/shared
sudo mkdir /home/shared/.kube
sudo cp /etc/kubernetes/kubelet.conf /home/shared/.kube/config
sudo chmod a+r /home/shared/.kube/config
sudo sed -i '/^KUBECONFIG=/d' /etc/environment
export KUBECONFIG=/home/shared/.kube/config
echo 'KUBECONFIG=/home/shared/.kube/config' | sudo tee -a /etc/environment
source /etc/environment

Repeat this step two more times until all three worker nodes have joined the cluster.

Helm Installation

Scripts in this section run on the CONTROL-PLANE ONLY.

The purpose of this step is to set up a package manager for Kubernetes.

HELMVERSION="v3.17.3"

sudo wget https://get.helm.sh/helm-${HELMVERSION}-linux-amd64.tar.gz
sudo tar -zxvf helm-${HELMVERSION}-linux-amd64.tar.gz
sudo mv linux-amd64/helm /usr/local/bin/
sudo rm -rf linux-amd64 helm-${HELMVERSION}-linux-amd64.tar.gz

Container Storage Interface Installation and Storage Class Definition

Scripts in this section run on the CONTROL-PLANE ONLY unless specified.

The purpose of this step is to set up a tool that automatically allocates long-term storage to pods whenever it is requested.

Before the installation of CSI, we must create a directory at a specific path on the worker nodes as the persistent volumes we create in this guide live in the local path of them.

Run the following commands on all three WORKER NODES:

sudo mkdir -p /opt/openebs/local
sudo chown -R root:root /opt/openebs
sudo chmod -R 755 /opt/openebs

After that, we will install OpenEBS using helm and create a default storageClass that uses it as the provisioner. Run the following commands on the CONTROL-PLANE:

helm repo add openebs https://openebs.github.io/openebs
helm repo update
helm install openebs --namespace openebs openebs/openebs --create-namespace \
  --set engines.replicated.mayastor.enabled=false \
  --set engines.local.lvm.enabled=false\
  --set engines.local.zfs.enabled=false \
  --set lvm-localpv.crds.lvmLocalPv.enabled=false \
  --set zfs-localpv.crds.zfsLocalPv.enabled=false \
  --set mayastor.csi.node.initContainers.enabled=false \
  --set openebs-crds.csi.volumeSnapshots.enabled=false \
  --set openebs-crds.csi.volumeSnapshots.keep=false

# create storage class, default location in /opt
sudo mkdir /home/shared/openebs
sudo tee /home/shared/openebs/sc-openebs-hostpath.yaml << EOF
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: local-hostpath
  annotations:
    openebs.io/cas-type: local
    cas.openebs.io/config: |
      - name: StorageType
        value: hostpath
      - name: BasePath
        value: /opt/openebs/local
    storageclass.kubernetes.io/is-default-class: 'true'
provisioner: openebs.io/local
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
EOF

# apply storage class
kubectl apply -f /home/shared/openebs/sc-openebs-hostpath.yaml

Devtron (Dashboard) Installation

Scripts in this section run on the CONTROL-PLANE ONLY.

The purpose of this step is to set up a dashboard and GUI console that manages the cluster in a more user-friendly way.

Install devtron using the following commands:

helm repo add devtron https://helm.devtron.ai
helm repo update devtron

helm install devtron devtron/devtron-operator \
--create-namespace --namespace devtroncd \
--set components.postgres.persistence.volumeSize="4Gi" \
--set components.postgres.image=postgres:14.19 \
--set components.postgres.registry="docker.io" \
--set components.devtron.service.type=ClusterIP

# verify
kubectl get all -n devtroncd

kubectl label namespace devtroncd istio-injection=enabled

After all devtron pods are ready, use the following command to retrieve the password of the web console:

kubectl -n devtroncd get secret devtron-secret \
-o jsonpath='{.data.ADMIN_PASSWORD}' | base64 -d

The deployment automatically creates a devtron-service service, we are going to set up a route in istio to allow users to visit the devtron web-ui using a hostname from outside of the cluster in later sections.

Kube-VIP DaemonSet Deployment

Scripts in this section run on the CONTROL-PLANE ONLY.

The purpose of this step is to install a component that maps virtual IPs to load-balancer-typed services.

The following script creates a daemonSet object that automatically deploys a kube-vip pod on each worker node.

# Create service accounts for kube-vip lb daemonSets
kubectl apply -f https://kube-vip.io/manifests/rbac.yaml
# Deploying kube-vip Daemon Set
sudo tee /home/shared/kube-vip-gen-lb-manifest-container-config.json << EOF
{
  "metadata": {
    "name": "kube-vip-gen-manifest"
  },
  "image":{
    "image": "ghcr.io/kube-vip/kube-vip:$KVVERSION"
  },
  "command": [
    "/kube-vip"
  ],
  "args": [
    "manifest",
    "daemonset",
    "--interface", "$INTERFACE",
    "--services",
    "--arp",
    "--inCluster",
    "--leaderElection"
  ],
  "linux": {
  }
}

EOF

sudo crictl rmp -f $(sudo crictl pods --name kube-vip-gen-manifest-pod -q)
sudo crictl logs -f $(sudo crictl run --no-pull /home/shared/kube-vip-gen-lb-manifest-container-config.json /home/shared/kube-vip-gen-manifest-pod-config.json)| sudo tee /home/shared/kube-vip-lb.yaml
sudo crictl rmp -f $(sudo crictl pods --name kube-vip-gen-manifest-pod -q)

kubectl apply -f /home/shared/kube-vip-lb.yaml

Istio Gateway

Scripts in this section run on the CONTROL-PLANE ONLY.

The purpose of this step is to set up a reverse-proxy tool that exposes Kubernetes services from a single endpoint.

Run the following script to install istio using helm:

kubectl create namespace istio-system
helm repo add istio https://istio-release.storage.googleapis.com/charts
helm repo update

helm install istio-base istio/base -n istio-system
helm install istiod istio/istiod -n istio-system --wait
helm install istio-ingress istio/gateway -n istio-system

The installation will set up a load-balancer typed service named istio-ingress, add an annotation to it using the following command, kube-vip will then assign the annotated IP to it.

EXTERNAL_IP=192.168.100.10 # change it
kubectl annotate service istio-ingress -n istio-system kube-vip.io/loadbalancerIPs=$EXTERNAL_IP

To expose the deployed Devtron service, run the following commands in the control-plane:

sudo mkdir /home/shared/istio
sudo tee /home/shared/istio/devtron-route.yaml << EOF
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: devtron-gateway
  namespace: devtroncd
spec:
  selector:
    istio: ingress # Same ingress gateway for all services
  servers:
    - port:
        number: 80
        name: http
        protocol: HTTP
      hosts:
        - 'devtron.hinzik.lab' # Change it
---
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
  name: default
  namespace: devtroncd
spec:
  mtls:
    mode: STRICT
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: devtron-virtual-service
  namespace: devtroncd
spec:
  hosts:
    - 'devtron.hinzik.lab' # Change it
  gateways:
    - devtron-gateway
  http:
    - match:
        - uri:
            prefix: /
      route:
        - destination:
            host: devtron-service
            port:
              number: 80
EOF

# apply istio route
kubectl apply -f /home/shared/istio/devtron-route.yaml

The script sets up a gateway and a VirtualService. The gateway listens for incoming requests at port 80, with hostname of devtron.hinzik.lab, you should change that to your preferred hostname. The Virtual Service forwards requests which have the hostname devtron.hinzik.lab to the devtron-service inside the cluster.

For this to work, you also need to update the DNS server on your client, make sure it has a hostname pointing to the external IP of the istio-ingress service.

The following is an example:

# /etc/hosts
192.168.100.10 devtron.hinzik.lab

After the DNS record is set up, you can visit the Devtron WebUI via http://devtron.hinzik.lab.

The guide ends here.