How to Setup Haproxy Ingress Controller on Kubernetes

Setup HaProxy Ingress Controller, Kubernetes Ingress, kubernetes ingress tutorial, HaProxy Ingress controller, haproxy ingress setup, configure haproxy ingress

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

Also You can Watch this Entire Tutorial video with more examples on our YouTube Channel. Make use of it.
[youtube src="BRiRMd3dE5A" height="315" width="560" /]

Lets get started.

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.
[ads-post]
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.
[youtube src="BRiRMd3dE5A" height="315" width="560" /]

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

Keep practicing and have fun. Leave your comments if any.
Support Us: Share with your friends and groups.

Stay connected with us on social networking sites, Thank you.
YouTube | Facebook | Twitter | Pinterest | Rss
Incoming searches: Setup HaProxy Ingress Controller, Kubernetes Ingress, Kubernetes Tutorial, kubernetes ingress tutorial, kubernetes haproxy ingress tutorial, kubernetes ingress haproxy examples, HaProxy Ingress kubernetes, HaProxy Ingress controller, HaProxy Ingress ingress controller kubernetes, how to install haproxy ingress controller, haproxy ingress setup, configure haproxy ingress, kubernetes ingress examples, kubernetes ingress controller, ingress kubernetes haproxy, kubernetes, k8s, haproxy

June 02, 2020

Post a comment

[disqus][facebook][blogger]

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget