Install flannelVersion is 0.0.55.2 Configuring FlannelEdit/etc/sysconfig/flanneld on Master, node, modify red section[Email protected] ~]# vi/etc/sysconfig/flanneld# flanneld configuration options# etcd URL location. Point the server where Etcd runsflannel_etcd_endpoints= "http://etcd:2379" # ETCD config key. This is the configuration key, flannel queries# for address range assignmentflannel_etcd_prefix= "/atomic.io/network" # Any additional option
done6. Define flannel network configuration to ETCD, this configuration will be pushed to the flannel service of each MinionsEtcdctl mk/coreos.com/network/config ' {"Network": "172.17.0.0/16"} 'Third, installation MinionsThe following operations are performed on MINIONS1,MINIONS2
Installing flannel and Kubernetes
not perfect, not to achieve the container and application level of monitoring and alarm.
The mirrored warehouse registry does not have the same user rights as the Docker hub.
As Kubernetes began to use more and more companies, more teams and lines of business within the company began accepting or proactively learning about Docker, and in order to address the existence of first-generation platforms and the deployment of existing services based
Kubernetesmaster:192.168.1.50node:192.168.1.117Master:1. Install kubernetes Etcd flannel on MasterYum Install kubernetes etcd flannel-y2. Modify the configuration file/etc/kubernetes/controller-manager#指定key文件, key files can be generated by command: OpenSSL genrsa-out/etc/
Guide:Kubernetes a ride on the dust to open, then the enterprise should start to kubernetes migration? Under what circumstances do you really accept it? Some of the technology frontier companies first-step practice is probably the most persuasive and reference value. This article is a good reference.1Kubernetes now rage, it is part of a massive cloud-native movement. All major cloud providers use it as a solution for deploying cloud-native application
cluster can communicate in the same virtual network.Fannel first connects to Etcd, uses ETCD to manage assignable IP address segment resources, monitors the actual address of each pod in Etcd, and builds a POD node routing table in memory that encapsulates the packets sent to it by DOCKER0. The connection of the physical network is used to deliver the data to the target flannel, which completes the pod-to-pod communication.Fannel in order to not conf
kubernetes cluster Installation DeploymentKubernetes Cluster Components:-master node-Etcd a highly available k/v key value to the storage and service discovery system-Kube-apiserver provides API calls to Kubernetes clusters-Kube-controller-manager ensure Cluster service-Kube-scheduler dispatch container, assign to Node-minion node-Flannel The communication of the
Brief introduction:Docker: An open-source application container engine that can create a lightweight, portable, self-sufficient container for your application.Kubernetes: The Docker container Cluster Management system, which is open source by Google, provides the functions of resource scheduling, deployment operation, service discovery, capacity scaling and so on for containerized applications.ETCD: A highly available key-value storage system developed and maintained by CoreOS, primarily for sha
complete, you can modify the configuration file:configuration file in the /etc/kubernetes directory,MASTER needs to modify The Apiserver config two configuration files, if more than one cluster needs to be modified Controller-manager:Config configuration can be used to define logs and to have privileged access to hardware on the host --allow-privileged main settings kube_master and kube_etcd_serversKube_logtostderr definition Logs the error log to s
: The Servercount in the previous sentence must be removed, otherwise the pod will have no data. 4) Define flannel network in ETCD'{' Network ': ' 172.17.0.0/16 '}' 5) Edit/etc/sysconfig/flanneldFlannel_etcd_endpoints= "http://0.0.0.0:2379"flannel_etcd_prefix= "/atomic.io/network"6) Start Etcd, Kube-apiserver, Kube-controller-manager, Kube-scheduler, Flanneld and other services, and set up boot.In Etcd kube-apiserver kube-controller-manager Kube-sche
Hi,everybody, I came back, before the installation to flannel, the article has not been updated, even a lot of small partners to add QQ asked whether to continue to update,Here is the reason, I was in the deployment of 1.91node when there are a variety of problems, resulting in node startup Oh, master always do not see, the problem is probably1, Virtual machine time synchronization inconsistency problem, causing ETCD to create a resource is unsuccessf
bridge addr: "cni0" already has an IP address different from 10.244.4.1/24# #说明There are several containers in one pod here, so we use the KUBECTL Logs command to view the log is very limited, regarding the use of Kubectl logs, refer to the pod Introduction and practice in Kubernetes and kubernetes Chinese documents.
Process steps#在master节点之外的节点进行操作kubeadm resetsystemctl stop kubeletsystemctl stop docker
Create a Kubernetes-dashboard
In the previous article (SEE), deploy the Kubernetes-dashboard Based on the deployed kubernetes. It is an official user management Kubernets cluster visualization tool; deploying a dashboard is the same as deploying other applications in kubernets. Just create the Replication Controller and Service services required by the dashboard;
.
Controller: Responsible for managing various controllers. such as--Replicationcontroller,
Endpointcontroller and so on.
Node Component:
Kubelet: Responsible for the control of Docker containers, such as Start/stop, monitor operation status.
Proxy: Responsible for providing the agent for the pod. It periodically obtains all the service from ETCD and creates an agent based on the service information.
Common components:
Etcd
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.