While developing, testing and running workloads itβs always important to have an easy way to access those applications. Every cloud load balancer slightly differs in configuration, pricing and ease of use.
With Web Relay ingress controller it doesnβt matter if your application runs on Minikube, GKE, AWS or Azure; all applications get same endpoints with exactly the same ingress configuration.
Relay Ingress with Kuard
Here, we add ingress controller from a hosted manifest and provide credentials via relay ingress init command. Webhook Relay ingress controller can be found in webrelay-ingress namespace.
To do it on your own, you will need:
Kubernetes environment (in the example above we use Minikube)
Here, 2p4ptkh9vutgm8tqavigja.webrelay.io is your tunnel endpoint, set it in ingress.yaml file.Add Kuard to your clusterβ
In this example we are using Kuard workload. Deployment file and ingress configuration is available in https://github.com/webrelay/ingress repository under examples directory. Clone it:
1
git clone https://github.com/webrelay/ingress
2
cd ingress/examples
Copied!
Now, edit ingress.yaml with your Host.
1
apiVersion: extensions/v1beta1
2
kind: Ingress
3
metadata:
4
annotations:
5
kubernetes.io/ingress.class: webrelay
6
name: relay-ingress
7
namespace: default
8
spec:
9
rules:
10
- host: 2p4ptkh9vutgm8tqavigmp.webrelay.io # <- set your tunnel host here