architecture and core functions are always relatively stable.
Compared to Mesos, the cost of development based on Kubernetes is lower, especially after familiarity. Easy to promote the use of k8s. In addition to the main business platform Bay, our load balancing platform, Kafka platform and scheduled task platform are all basic Kubernetes.
Overall architectureResource LayerThis layer is mainly clu
release of the enclosure, although it is now alpha, even pre-alpha. Because the file system expansion program is not unified, the expansion in this release only support GlusterFS, but cloud technology has been on the ceph, cinder on the prototype, I believe in 1.9 can be launched in the community. Local temporary storage has been in a stable alpha version after 1.7 and 1.8 two iterations, and subsequent scenarios will no longer change and we will continue to enhance their stability. Local persi
hostnameKubelet_hostname= "--hostname-override=k8s-node1"# Location of the Api-serverKubelet_api_server= "--api-servers=http://k8s-master:8080"# POD Infrastructure containerKubelet_pod_infra_container= "--pod-infra-container-image=registry.access.redhat.com/rhel7/pod-infrastructure:latest"# ADD Your own!#KUBELET_ARGS = ""kubelet_args= "--cluster-dns=223.5.5.5--cluster-domain=k8s-master"6. Restart the service on node[Master]For SERVICES in Flanneld etcd kube-apiserver Kube-controller-manager Kub
Date
Kernel version
Architecture
author
GitHub
CSDN
2016-6-29
Linux-4.6
X86 Arm
Gatieme
Linuxdevicedrivers
Linux process management and scheduling
We mentioned earlier that Linux has two methods of activating the Scheduler: the Core Scheduler and
One is straightforward, such as a process that intends to sleep or ab
Keystone do things.The created object is then stored in the ETCD, and if OpenStack is inside the database.Then the scheduler, the object is dispatched to a machine, the equivalent of Nova-scheduler to do things.Then the Kubelet on each machine was really working and found himself being dispatched to create a container on its own machine, equivalent to Nova-compute.Kubelet you create a container, you first
-subnet isolation, network auditing/firewalls and security groups
Next we look at the details of each function point.Kubernetes Kernel Depth CustomizationBased on kubernetes kernel depth customization, the Ecos-kubernetes platform cluster includes the master, ETCD, and node three roles.
MASTER role : As the host node of the cluster, run a collection of three programs in the cluster, respectively:
K
, but each label key can only correspond to one value;The entire system is associated with a label to get the target that really needs to be manipulated.5. ProxyProxy not only solves the same host service port conflict problem, also provides service forwarding service port to provide services, the proxy backend using a random, round-robin load balancing algorithm.Third, kubernetes related componentsKubernetes mainly include: Kubectl, Kube-apiserver, K
Kube-scheduler Component Source Reading notes
Before I start, let's talk about the way I read the project source code for the Go language. Reading other people's frame code is often a painful thing to read, especially the go (because of the way the interface is implemented, and so on). This is how I read, first find the relevant components of the Main method, and then go down one layer of the rationale, and finally do the general idea of finishing.
N
>>kube-proxy.service Loaded Active running Kubernetes kube-proxy serverkubelet.service Loaded active running Kubernetes kubelet Server192.168.0.7 | Success | Rc=0 >>kube-apiserver.service loaded active running Kubernete s API serverkube-controller-manager.service loaded active running
each block device or partition of a block device has its own request queue (request_queue), and each request queue can select an I/O Scheduler to coordinate the request submitted . The basic purpose of the I/O Scheduler is to arrange requests according to the sector code they correspond to on the block device to reduce the movement of the heads and improve efficiency. Requests in the request queue for each
-apiserver will extract the CN user name as the client, here is the system:kube-controller-manager . Kube-apiserver predefined RBAC uses clusterrolebindings system:kube-controller-manager to bind the user to system:kube-controller-manager clusterrole system:kube-controller-manager .Generate Kubernetes-controller-manager Certificate and private key:Cfssl gencert-ca=ca.pem-ca-key=ca-key.pem-config=ca-config.json-profile=frognew Controller-manager-csr.js
Download the latest version:Https://github.com/kubernetes/kubernetes/releasesDownload kubernetes.tar.gzAfter decompression to the cluster directoryExecutive get-kube-binaries.shExecute directory to control, this script will automatically download the client and server-related files, will be automatically placed in the Kubernetes directoryThe corresponding file ca
Kubernetes ArchitectureThe overall architecture of the kubernetes is as follows:Master is the main control node, which runs Apiserver,scheduler,controller-manager and other components. Minion is the equivalent of a working node, which runs Kubelet,proxy,cadvisor and the most important Docker components. Here's how to actually deploy this cluster management tool.E
each block device or partition of a block device has its own request queue (request_queue), and each request queue can select an I/O Scheduler to coordinate the request submitted . The basic purpose of the I/O Scheduler is to arrange requests according to the sector code they correspond to on the block device to reduce the movement of the heads and improve efficiency. Requests in the request queue for each
/binding API in Kubernetes, Scheduler is responsible for pods allocations on each node. Scheduler is plug-in, Kubernetes can support user-defined scheduler in the future.4. Kubernetes Controller Manager ServerController Manager Se
Inheritance relationshipPrinciple IntroductionThe COCOS2D-X Scheduler provides timed events and timed call services for the game. All node objects know how to dispatch and cancel scheduled events, and there are several benefits to using the scheduler:
The scheduler stops whenever node is no longer visible or has been removed from the scene.
The
list of nodes in the ETCD clusterKube_etcd_servers= "--etcd-servers=http://127.0.0.1:2379"# Address range to use for servicesKube_service_addresses= "--SERVICE-CLUSTER-IP-RANGE=10.254.0.0/16"# Default Admission Control policies#KUBE_ADMISSION_CONTROL = "--admission-control=namespacelifecycle,namespaceexists,limitranger, Securitycontextdeny,serviceaccount,resourcequota "Kube_admission_control= "--admission-control=namespacelifecycle,namespaceexists,limitranger,resourcequota"# ADD Your own!Kube_a
particular object type, each name is unique in its namespace, and the name of an object is not given in the form of a namespace, which is the default namespace, and the UID is unique in both time and space.More about service: Service is an abstraction of application services, providing load balancing and service discovery for applications through labels. The Pod IP and port list matching the labels consists of endpoints, which is responsible for balancing the service IP load to these endpoints
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.