KubeAdmiral: Next-Generation Multi-Cluster Orchestration Engine Based on Kubernetes

Since its release in 2014, Kubernetes has become the de facto standard for cloud-native orchestration and scheduling systems, delivering substantial value to infrastructure developers around the world. As an increasing number of corporations embrace cloud-native technologies and migrate their workloads to Kubernetes, the scale of their clusters grows rapidly. 

The community edition of Kubernetes, capped at 5000 nodes per cluster, is no longer able to keep up with the scale requirements of large-scale enterprise applications. Moreover, many companies are adopting multi-cloud architectures to achieve cost reduction, increased resource and operational efficiency, geographical disaster recovery, and environment isolation. As a result, the demand for multi-cluster orchestration and scheduling tools is on the rise.

Kubernetes Cluster Setup on Ubuntu, Explained

Introduction

The purpose of this article is to provide guidelines for those who are interested in the details of setting up the Kubernetes cluster, understanding internetworking of pods, and other aspects related to the Kubernetes cluster.

This article provided the details for setting up Kubernetes Cluster on Ubuntu. The main topics are the following:

Mule 4: Enable HTTPS Connector Using OpenSSL

Introduction

This article demonstrates how to generate self-signed certificates and use a private key to configure the HTTPS connector using OpenSSL.

Generate Private Key and Public Cert Using OpenSSL

$ openssl req -newkey rsa:2048 -x509 -keyout cakey.pem -out cacert.pem -days 3650
Generating a RSA private key
....+++++
...................................................+++++
writing new private key to 'cakey.pem'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:US
State or Province Name (full name) []:Texas
Locality Name (eg, city) [Default City]:Dallas
Organization Name (eg, company) [Default Company Ltd]:GGL Consulting Inc
Organizational Unit Name (eg, section) []:EA
Common Name (eg, your name or your server's hostname) []:Gary Liu
Email Address []:gary.liu1119@gmail.com


Resolve the Issue: ”General SSLEngine Problem” [Snippet]

This happens when you enable the HTTPS with your own certificates. In my case, I have configured Anypoint runtime fabrics with self-generated certification using the following command:

openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365

The above command generates two files: cert.pem and key.pem. The purpose of them is beyond the scope of the article. The error will occur when the local mule flow calls the remote application, which is deployed in the Anypoint Runtime Fabrics.

Deploy Mule 4 Application To Anypoint Runtime Fabric Using Maven Plugin

In the CI/CD process, it is very common to use a Mule Maven plugin to build and deploy an application to the Cloudhub, on-premise private cloud like AWS, Azure, Google Cloud, etc. Since Mule 4, a lot of changes related to the deployment has changed, particularly related to the Mule Runtime Fabric (RTF). Actually, RTF is a completely new infrastructure for Mule application deployment. I will cover more on that topic later. In this article, I am going to cover the following topics related to the deployment to Anypoint Runtime Fabric (RTF):

  1. Prepare pom.xml setup to deploy mule project to Anypoint RTF
  2. Encrypt password
  3. Troubleshooting

If everything works, at the end, we should be able to achieve the following goals: