HA Kubernetes cluster with Vagrant+CoreOS+Ansible, Part 5

In the last part, we have managed to deploy the Kubernetes core components using bootbuke and be able to access to cluster using the dashboard. We’ll now use an example to demonstrate the deployment of services and expose the services using Ingress and route traffic by domain name.

Read More

HA Kubernetes cluster with Vagrant+CoreOS+Ansible, Part 4

In the last part, we installed kubelet on all nodes. In this part, we’re gonna bootstrap the three key components of a kubernetes cluster

Read More

HA Kubernetes cluster with Vagrant+CoreOS+Ansible, Part 3

In part 2 we have installed etcd clusters on the 3 master machines, which is the foundation of the Kubernetes cluster. In this part, we’re gonna configure and run kubelet on each nodes. kubelet is the primary node agent that manages pods on each nodes and talks to the Kubernetes api server to coordinate the whole system.

Read More

HA Kubernetes cluster with Vagrant+CoreOS+Ansible, Part 2

In part 1 we have created 4 nodes running coreos using Vagrant and installed necessary components on the coreos for Ansible to work. In this part, we’re going to configure another key component of Kubernetes cluster: etcd

Read More

HA Kubernetes cluster with Vagrant+CoreOS+Ansible, Part 1

Kubernetes is a production level containers orchestration tool that helps to automating deployment, scaling and manage your containers. The official recommended way of running a local Kubernetes cluster is to use minikube, it is the easiest way to get started. However the shortage of this is very obvious.

Read More

Slack AWS Bot

Usually when you’re using AWS’s services, you might want to know the usage of your resources, e.g. number of running instances, estimated cost and etc. Taking advatange of Slack’s webhook and AWS Service API, we can create a bot that sends AWS usage report to your slack channel periodically. This article introduces how it’s achieved.

Read More

How to Set up SoftEther VPN Server and Client for AWS VPC Environment

This article introduces how to set up a SoftEther VPN server on AWS EC2 instance that resides in a public subnet of a AWS VPC and how to set up VPN client on Mac OS to make VPN connection, which enables the client to access the private instances located within the private subnets of the same VPC using their private IP as if they’re in the same local network.

Read More

How to design an end-to-end encryption

An end-to-end encryption is a concept that requires the following conditions to be meet:

Read More

Get Familiar with Yum

This post records some useful operations regarding repo and package management of the redhat, centos, and enterprise linux like system.

Read More

Configure Chronos to send failure notifications through Postfix

Having a job scheduler without notification ability makes no sense because you never know what’s going on with it and whether it is running correctly. Luckily Chronos has built-in support for sending out emails when a job is failed or interrupted, which means all we need is to have a mail server that is able to send out emails.

Read More