Kubernetes Hairpin-Proxy
Jump to navigation
Jump to search
Trying to get this to work on microk8s
https://github.com/compumike/hairpin-proxy
kubectl apply -f https://raw.githubusercontent.com/compumike/hairpin-proxy/v0.1.2/deploy.yml
kubectl get configmap -n kube-system coredns -o=jsonpath='{.data.Corefile}'
Still doesn't work
kubectl get svc -n ingress | grep ingress output: nginx-ingress-microk8s-controller-86rjl.ingress.svc.cluster.local kubectl edit deploy hairpin-proxy-haproxy -n hairpin-proxy # Modify with below spec: containers: - env: - name: TARGET_SERVER value: nginx-ingress-microk8s-controller-86rjl.ingress.svc.cluster.local image: compumike/hairpin-proxy-haproxy:0.1.2 kubectl expose pod nginx-ingress-microk8s-controller-86rjl --type=NodePort --port=8080 -n ingress