Notes:
- This assumes you already created the secrets required and the users in VPX are configured with the correct policy.
- This also assume you created static routes in the VPX to allow health checks
- This is not a complete deployment as it requires node-controller instead of the static routes to be full production ready
helm repo add citrix https://citrix.github.io/citrix-helm-charts/
helm install cic1 citrix/citrix-cloud-native -f cic1/values.yaml
helm install cic2 citrix/citrix-cloud-native -f cic2/values.yaml
kubectl create -f https://raw.githubusercontent.com/citrix/cloud-native-getting-started/master/beginners-guide/manifest/guestbook-app.yaml
kubectl get pods -l 'app in (guestbook, redis)'
kubectl apply -f cic1/guestbook-ingress.yaml
kubectl apply -f cic2/guestbook-ingress.yaml
kubectl get ingress
alexa@k3s1:~/citrix-ingress-config$ kubectl get ingress
NAME CLASS HOSTS ADDRESS PORTS AGE
guestbook-ingress cic1 www.guestbook.com 192.168.5.191 80 25m
guestbook-ingress2 cic2 www.guestbook2.com 192.168.6.213 80 21m
curl -s -H "Host: www.guestbook.com" http://IP | grep Guestbook
curl -s -H "Host: www.guestbook2.com" http://IP | grep Guestbook
alexa@k3s1:~/citrix-ingress-config$ curl -s -H "Host: www.guestbook.com" http://192.168.5.191 | grep Guestbook
<title>Guestbook</title>
<h2>Guestbook</h2>
alexa@k3s1:~/citrix-ingress-config$ curl -s -H "Host: www.guestbook2.com" http://192.168.6.213 | grep Guestbook
<title>Guestbook</title>
<h2>Guestbook</h2>