Kubernetes has been the platform of choice for Container Orchestration
for years now. Amazon, despite being the industry leading Cloud Provider
only released Kubernetes as a Service
in 2018. In this post I will explain how a Kubernetes Cluster
can be created using command line on Amazon
. The source code for this post can be found here. Note that you need to know AWS
and Kubernetes
fairly well as I will only cover certain sections sparingly.
Jenkins Helm Chart for Kubernetes
Installing Jenkins on Kubernetes for your CI and CD Pipelines sounds like a daunting task until you get to know that you can do that with Helm Charts.
The Helm Chart for Jenkins is available here.
Setting up OpenLDAP for Jenkins, Jira, SonarQube & Dokuwiki
Installation
Install OpenLDAP Helm Chart.
You can use a values.yaml
that looks like this. Note that you do not need to have everything in this yaml. Having Domain
and AdminPassword
will be sufficient.
Production Kubernetes with DevOps Part 2 – The Ingress
I am going to deploy everything in one Cluster since Kubernetes Clusters are expensive. Then I am going to move the LDAP into that cluster since it is not required to have it outside now.
Production Kubernetes with DevOps Part 1 – Visualization
Production Kubernetes with DevOps can get insanely complicated due to the many tools, many integrations and many uncertain areas associated with it.
I am going to take a stab at building one. I want to see what I can come up with within two weeks time. I am only going to visualize what I need to have today. The best way to do that for me is to create a few slides. I hope having these slides will help me remember the whole setup in the future.
Bare-metal Continuous Integration and Continuous Deployment with just Docker
I wanted to demonstrate how all pieces fit together in an environment with microservices. That demo is here.
I am going to use Consul
, Registrator
, HAProxy
, Jenkins
and all other good stuff. A huge Thank You goes to the folks in the Open Source Community who created the Docker Images and Documentation around them showing how to use them.
If you want to see how the Load Balancer( HAProxy) starts routing traffic to a newly discovered service, I would suggesst going through Consul
and Registrator
Documentation.
So let’s get started.
OpenShift for Dummies ft. My Slides
An Ingress with HTTPS Traffic in Upstream Servers, HTTPS Redirection and Sticky Sessions( IBM)
IBM has done a very good job on their Ingress Documentation.
These are the annotations needed.
For HTTPS Redirection,