A Ping Question

Recently, I focus on OpenStack things where an interesting network question comes out: If a host machine has multiple network interfaces, is it possible to ping all of them from another host? To be clearer, we assume that Host A has a unique network interface 192.168.11.0/24, Host B has 2 interfaces: 192.168.125.0/24 and 192.168.126.0/24. Meanwhile, the 3 interfaces are connected by a router, as the graph illustrated. If we look at the routing table of Host B, we’ll find something like

Kubernetes on Coreos

Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. I just follow the guide of CoreOS + Kubernetes Step By Step to deploy Kubernetes cluster on CoreOS. Although this guide is detailed, there’s still something that will cause misunderstanding and should be paid close attention to. So this post is to help you better follow the guide and setup Kubernetes. First of all, according to CoreOS cluster architectures, the CoreOS + Kubernetes Step By Step guide is for Easy development/testing cluster or Production cluster with central services, however, what I have is a Small cluster which was set up in the way Setup CoreOS Cluster with Static IPs, that will make some difference to ETCD_ENDPOINTS environment variable.

Setup Coreos Cluster With Static Ip

We have talked about how to setup a CoreOS cluster in my previous post: Setup CoreOS Cluster Manually with VirtualBox. However, as we setup the cluster in VirtualBox, which uses DHCP as default, the etcd2 may not work when VM’s IP changed. So in this article I’ll tell you how to upgrade your cluster and enable the VMs use static IPs instead of DHCP. Setup Static IP First of all, make sure your cluster node VM uses the bridge connection type (as default), that will enable the connection between outer world, as we are not going to set IP tables.

Deploy Worldpress in Coreos Cluster Using Fleet

In this post, I would like to tell you how to deploy a simple WorldPress service with MySQL database in CoreOS cluster in 3 minutes. You may reference my previous blog to setup a CoreOS cluster locally if you don’t have one. Ok, ssh to one of your cluster node, let’s start. Step 1 Create MySQL service Create a unit file mysql.service 1 2 3 4 5 6 7 8 9 10 11 12 [Unit] Description=MySQL DataBase After=etcd.