Kubernetes Cluster Construction: Based on Kubeadm
First, environmental preparation
* K8S version 15.1
* Docker version supports up to 18.06.1
Second, Docker Environment Construction and Replacement
1. Clear the original Docker environment, the original version is the latest version
yum remove docker \
docker-client \
...
Posted by tmbrown on Sun, 28 Jul 2019 07:48:15 +0200
Using Kube builder to develop kubernetes CRD
Original address
Extending kubernetes is the two most commonly used and most needed things to master: custom resources CRD and adminsion web hook. This article teaches you how to master CRD development in 10 minutes.
kubernetes allows users to customize their own resource objects, just like deployment stateful settings, which are widely used. F ...
Posted by freshneco on Sat, 27 Jul 2019 09:20:43 +0200
Registry Construction Practice
1. Building Private registry
1. Regisry Mirror Transfer
Test host ip: 192.168.192.225 (Intranet Machine)With the help of other machines that can access the public networkDocker search registry and docker save-o. / registry. tar Copy to 192.168.192.225 machine docker load-i registry.tar to transfer the docker image of registry
Label:[root@node1 ...
Posted by illuz1on on Tue, 23 Jul 2019 21:17:41 +0200
Spring Boot configures multi-source RabbitMQ
brief introduction
MQ is a common middleware in development. This article describes how to configure multi-source RabbitMQ in a Spring Book project. There are not many knowledge points about RabbitMQ here. If you also have a need to send messages to multiple RabbitMQ, I hope this article can help you.
Environmental Science
rabbitmq 3.7.12
spri ...
Posted by menriquez on Fri, 19 Jul 2019 09:01:44 +0200
Implementing cicd by installing Jenkins in kubernetes cluster
I. Installation of Jenkins
1. Installing Storage Server
Find a server to build an nfs server. See Ubuntu 16.04 Installation nfs > for details.
System: Ubuntu 16.04
IP: 172.18.1.13
apt install nfs-common nfs-kernel-server -y
#Configuration mount information
cat /etc/exports
/data/k8s *(rw,sync,no_root_squash)
#Add permissions to directorie ...
Posted by maxrisc on Wed, 03 Jul 2019 22:01:50 +0200
Kubernetes 1.6 New Feature Learning: RBAC Authorization
Summary
The access control process of API Server in Kuberntes is illustrated as follows:
In Kubernetes, authorization is a step after authentication. Authorization is to determine whether a user (ordinary user or Service Account) has the right to request the Kubernetes API to do something.
Previously, the authorization strategy i ...
Posted by morris520 on Wed, 03 Jul 2019 21:44:48 +0200
Providing reverse proxy for Kubernetes cluster, accessing internal applications such as kube-Dashboard from outside the cluster through standard http ports
Install Ingress Controller
Deploy default http backend
Deploy nginx ingress controller
Install and access kubernetes dashboard
Deployment of dashboard
Configure ingress
Visit dashboard website on windows machine
Install Ingress Controller
Ingress Controller runs in the container of the k8s cluster. It allows each node to list ...
Posted by timon on Mon, 01 Jul 2019 01:55:27 +0200
HAproxy + keepalive + Kubeadm install kubernetes master
HAproxy + keepalive + Kubeadm installation kubernetes master highly available
Author: Zhang Shoufu
Time: 2019-06-18
Personal blog: www.zhangshoufu.com
QQ group: 895291458
Network Topology
Host Planning, System Initialization
Machine Information
host name
IP Address
Effect
K8s-master01
192.168.1.25
Kubernetes master/etcd, keepalive (pr ...
Posted by mw-dnb on Tue, 18 Jun 2019 18:17:01 +0200
Kubernetes Service's "Stateful Service Running Single Instance"
target
Create a PV in your environment
Create a Deployment for MySQl
Exposing MySQL to other pod s in the cluster by DNS name
Before the beginning
You need a Kubernetes cluster, a kubectl command-line tool that can connect to the cluster. If you don't have a cluster, you can use Minikube To create.
We will create a PV (Persistent Volume) for ...
Posted by stringman on Sat, 15 Jun 2019 05:50:34 +0200
Installing etcd cluster
kuberntes system uses etcd to store all data, which is one of the most important components. Note that the etcd cluster can only have an odd number of nodes (1,3,5...). This document uses three nodes to cluster.
I. Basic Environment
software package
etcd download address: https://github.com/coreos/etcd/releases
The server
Architecture diagr ...
Posted by aximbigfan on Tue, 14 May 2019 22:41:01 +0200