when using flannel network plugin, it prompts for missing portmap Fixed by downloading: https://github.com/containernetworking/plugins/releases/download/v0.6.0/cni-plugins-amd64-v0.6.0.tgz and extract portmap to /opt/cni/bin/ Obtain node join token $ kubeadm token list | awk 'NR==2{print $1}' Get master hostname $ kubectl get nodes -l node-role.kubernetes.io/master -o jsonpath="{.items[*].metadata.name}" List nodes $ kubectl get nodes -o jsonpath="{.items[*].metadata.name}" Get master node ip $ kubectl cluster-info | head -1 | grep -oE "[0-9]+\.

Read More…

There are multiple projects aims to implement this, here we will use the official one. This post mainly focus on the pitfalls while apply the official autocluster plugin. Preface Firstly, please read the official rabbitmq cluster document to get a brief understanding on how rabbitmq cluster works. Here is the URL: Rabbitmq Clustering Guide Then please refer to autocluster general settings explaination in: rabbitmq autoclustre plugin General Settings Get Ready We need parepare a docker image with autocluster plugin integrated and enabled, we can build such rabbitmq docker image manually use below Dockerfile:

Read More…

kubernetes初体验

2017-11-17

在开发wxgigo项目时,架构设计为松耦合的消息队列模式,需要多个开源软件配合来实现。怎样跨平台安装以及复杂的部署问题成了急需解决的事情。初

Read More…