This is a creation in
Article, where the information may have evolved or changed.
Objective
This article describes how Kube-apiserver accesses the ETCD back-end storage
Related source code mainly in Kubernetes/staging/src/k8s.io/apiserver/pkg/storage
Universal interface
Interface offers a common Interface for object marshaling/unmarshaling operations and hides all the storage-related Operat Ions behind it (
ETCD and creates an agent based on the service information. When a customer pod accesses another pod, the access request is forwarded by the native proxy.Borrowing a net diagram to express the relationship between functional components:Two. Basic Concept nodeNode is a working host in the Kubernetes cluster relative to master, and is also known as Minion in earlier versions. Node can be a physical host, or
, or external load balancer if service is to provide extranet services;Second, kubernetes overall structureMaster and Nodekubernetes divides the machines in the cluster into a master node and a group of work nodes (node). Among them, the master node runs a group of processes related to cluster management Etcd, API Server, Controller Manager, Scheduler, and the last three components constitute the
configured, it Kubernetes is really not simple (in my experience), you can view this kubernetes the hard. But at least for now, we don't have to worry about it.
Now, the first cool part is that there is Kubernetes great potential for developers to easily deploy services to production environments. This is really cool, using
" # The port on the local server to listen on. Kube_api_port= "--port=8080" # PORT Minions Listen on# kubelet_port= "--kubelet-port=10250" # Comma separated list of nodes I n the Etcd clusterkube_etcd_servers= "--etcd-servers=http://etcd:2379" # Address range to use for Serviceskube_service_ Addresses= "--SERVICE-CLUSTER-IP-RANGE=10.254.0.0/16" # Default Admissio
Kubernetes 1.5 installation and cluster environment deploymentArticle reprinted from: http://www.cnblogs.com/tynia/p/k8s-cluster.htmlBrief 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, se
, and registry. From figure 3-2 below, Master's workflow is mainly divided into the following steps:
1 Kubecfg a specific request, such as creating a pod, to send to Kubernetes Client.
2 Kubernetes client sends the request to the API server.
3 API Server According to the type of request, such as the Storage type when creating pod is pods, then choose which rest Storage API to process the request accordingly
request to API server.
The API server is based on the type of request, such as the Storage type is pods when the pod is created, and then the rest Storage API is chosen to process the request accordingly.
The REST Storage API handles the request accordingly.
The processed results are stored in the high-availability key-value storage System ETCD.
After the API server responds to the KUBECFG request, Scheduler runs pod and minion inform
As we all know, kubernetes (k8s) is used for the management of Docker cluster, the recent period of time has been tossing the environment, here to write a blog, to help like me, small white, avoid detours.
First, the environment
Cluster environment
Role
IP Address
Version number
Docker version
System version
Master
192.63.63.1/24
v1.9.1
17.12.0-ce
Centos7.1
Node1
192.63.63.10/24
, Minion Registry, Binding Registry, Reststorage, and client, is the client (kubecfg) call Kubernetes API, management kubernetes main components pods, Access to Services, Minions, and containers. Master is made up of API Server, Scheduler, and registry. From 3-2, Master's workflow is mainly divided into the following steps:1) Kubecfg sends a specific request, such as creating a pod, to the
Platform Environment: Centos 7.0First, the architecture modeSecond, Core ServicesMaster1) ETCD ServiceETCD is a highly available key-value storage system that Kubernetes uses to store the state of individual resources, enabling restful APIs. The ETCD service acts as the primary database for the Kubernetes cluster and n
Kubernetes Basic Primer-Installation Deployment Configuration ExampleDeploying Kubernetes SkydnsKubernetes can provide DNS internal domain name resolution services for pods.Its main function is to provide pods with the ability to resolve the IP directly through the service's name to the corresponding service!1. First add the options in the Kubelet process for each node:kubelet_args= "--cluster_dns=10.254.0.
databases, caches and so on. With this scheme, the container can be connected horizontally and can be accessed vertically. The external connection container can be connected directly through the container IP address, or it can be accessed through load balancing. The container can also directly access virtual, physical machine resources, as well as MySQL and other component Services outside the Leengine system.
We have written our own and CNICTL management tools, support the addition of multipl
Once again, the architecture is clear: three virtual machine CentOS 7.4 systems, Docker 17, IP 10.10.90.105 to 107, 105-bit master, and the next master-related components installed on this machine.The ETCD cluster is 3 units, which are reused for each of the 3 virtual machines.As the core of k8s, the master node consists of three components, namely:Three components:kube-apiserverkube-schedulerkube-controller-managerThis three components are closely li
1. What is ETCD service?
ETCD is a health/value pair storage System with HTTP protocol, which is a distributed and functional hierarchy configuration system, which can be used to build service discovery system. Distributed, consistent kv storage system for shared configuration and service discovery. It is easy to deploy, install, and use, providing reliable data persistence features. It is secure and the do
Kubernetes container cluster management system basic explanation, kubernetes Management SystemKubernetes Overview
Kubernetes is open-source by GoogleContainer Cluster Management SystemIs an open-source version of Google's large-scale container management technology Brog, which includes the following features:
Container-based application deployment, maintenance,
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
of the cluster, and each function module in the cluster is stored in the ETCD database through API server, and the data is obtained through the rest interface provided by API server through the use of get,list. Or watch method, which enables the interaction between the various modules.View ETCD DataETCD V3 Operating InstructionsReference linksWhen using the Etcd
1. Basic architecture1.1 MasterThe master node consists mainly of four modules: Apiserver, Scheduler, controller manager, ETCD. apiserver. Apiserver is responsible for providing restful Kubernetes API service, it is the unified entrance of the System Management Directive, any operation that increases and deletions the resources should be handed over to apiserver processing and then submitted to
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.