The major reason that I replaced Flannel with Weave Net as the Kubernetes CNI is that Flannel does not support multicast. I did not realize it until my test Confluence DC cluster became dysfunctional. There are two Confluence nodes in the Confluence DC cluster. Each one is a pod, they are working fine when they … Continue reading Replace Flannel with Weave Net in Kubernetes
Category: Cloud
Use Glusterfs for Dynamic Volume Provisioning in Kubernetes
I recently setup a single node Kubernetes cluster on-premise for testing Jira and Confluence Data Center (which I will write a seperate blog later). In this blog, I want to share how I use Glusterfs as the shared storage which supports dynamic volume provisioning. Traditionally, to use persistent volume (PV) in a pod, you have … Continue reading Use Glusterfs for Dynamic Volume Provisioning in Kubernetes
Use Image Scanning for AWS ECR
Amazon just announced that ECR now has the image scanning capability. It is a good News if you use ECR as your Docker image registry, as you just can consume it for free! A good use case is to add it into your CI pipeline for image scanning. A quick example of scanning the Docker … Continue reading Use Image Scanning for AWS ECR
Port Forwarding over AWS Session Manager
Continue with the Session Manager over PrivateLink, another good use case for session manager is port forwarding. Here is a quick demo: First, login into the EC2 instance with session manager to install a Apache server # Install Apachesudo yum -y install httpd # Start Apache web serversudo systemctl start httpd # Ensure port 80 … Continue reading Port Forwarding over AWS Session Manager
Use AWS SSM Session Manager Over PrivateLink
AWS SSM Session Manager is a great addition to the existing AWS services, simply speaking it provides a secured, manageable and easier way to access the instance inside the VPC, and more (e.g. port forwarding). There are two ways to use session manager: over Internet vs over PrivateLink. Over Internet: The instance communicates to the … Continue reading Use AWS SSM Session Manager Over PrivateLink
