There are many projects that supports for ingress controllers like Nginx, Haproxy, Ambassador, Contour, Citrix, Gloo, Istio, Traefik, AWS, GCE, etc,.
This post will show you how to setup haproxy ingress controller on kubernetes cluster with step by step procedure. In the previous post, we explained about kubernetes ingress and how to setup nginx ingress controller.
If you are new to kubernetes and want to learn about kubernetes from basics, Refer the below links and also you can checkout all tutorial videos for free on YouTube and do subscribe for more free videos.
What is Kubernetes - Learn Kubernetes from Basics
How to Install Kubernetes on Linux (RedHat / CentOS)
How to Install Kubernetes On Ubuntu 16.04 LTS
How to Create Kubernetes Deployment, Services & Pods Using Kubectl
How to Create Kubernetes YAML for Deployment, Service & Pods
Kubernetes Volumes Explained with Examples
Kubernetes Persistent Volumes and Claims Explained
What is Kubernetes - Learn Kubernetes from Basics
How to Install Kubernetes on Linux (RedHat / CentOS)
How to Install Kubernetes On Ubuntu 16.04 LTS
How to Create Kubernetes Deployment, Services & Pods Using Kubectl
How to Create Kubernetes YAML for Deployment, Service & Pods
Kubernetes Volumes Explained with Examples
Kubernetes Persistent Volumes and Claims Explained
Also You can Watch this Entire Tutorial video with more examples on our YouTube Channel. Make use of it.
Lets get started.
How to Setup Haproxy Ingress Controller on Kubernetes
Clone Haproxy Ingress Github Repository:git clone https://github.com/haproxytech/kubernetes-ingress.git
Deploy the Controller:
kubectl apply -f kubernetes-ingress/deploy/haproxy-ingress.yaml
Verify the namespace, pods and services running for ingress controller:
kubectl get ns
You must have new namespace created for ingress ie haproxy-controller.
kubectl -n haproxy-controller get pods -o wide
All pods should be running. Also verify the service type.
kubectl -n haproxy-controller get svc
By default, haproxy uses nodeport service type, if you want to change it to LoadBalancer type, edit the deployment file "haproxy-ingress.yaml", change the service type and reapply it.
Once the ingress controller is configured, you can start creating ingress rules for your applications.
Also You can Watch this Entire Tutorial video with more examples on our YouTube Channel. Make use of it.
Hope you have got an idea how to setup haproxy ingress controller.
Also refer below related articles and checkout all tutorial videos for free on youtube.
What is Kubernetes - Learn Kubernetes from Basics
How to Install Kubernetes on Linux (RedHat / CentOS)
How to Install Kubernetes On Ubuntu 16.04 LTS
How to Create Kubernetes Deployment, Services & Pods Using Kubectl
How to Create Kubernetes YAML for Deployment, Service & Pods
Kubernetes Volumes Explained with Examples
Kubernetes Persistent Volumes and Claims Explained
How to Install Kubernetes on Linux (RedHat / CentOS)
How to Install Kubernetes On Ubuntu 16.04 LTS
How to Create Kubernetes Deployment, Services & Pods Using Kubectl
How to Create Kubernetes YAML for Deployment, Service & Pods
Kubernetes Volumes Explained with Examples
Kubernetes Persistent Volumes and Claims Explained
Keep practicing and have fun. Leave your comments if any.
Stay connected with us on social networking sites, Thank you.
0 Comments