This article CSDN blog address: http://blog.csdn.net/huwh_/article/details/71308171First, the kubernetes of the general structure of the two, kubernetes each component introduction (a) kube-master[control node]
Workflow Flowchart for Master
Kubecfg sends a specific request, such as creating a pod, to the Kubernetes Client.
Docker Network BasicsSince Kubernetes is based on the Docker container as the carrier of the application release, the network characteristics of Docker also determine that kubernetes in building a container interoperability network must solve the problem of Docker's own network.Network namespacesTo support multiple instances of the network protocol stack, Linux introduces a network namespace in the network
-speed storage to store a large number of fragmented files. What the user needs to do is submit the resource request to the cloud platform and then fetch and consume the storage resource without worrying about which disk of the storage server The underlying store is from. to meet the storage needs of container users in the cloud environment. Kubernetes provides the concept of persistent volumes (PERSISTENTVOLUME,PV) and persistent volume requests (PE
Kubernetes has developed a Elasticsearch add-on to enable log management of the cluster. This is a combination of Elasticsearch, FLUENTD and Kibana. Elasticsearch is a search engine that is responsible for storing logs and providing query interfaces; Fluentd is responsible for collecting logs from Kubernetes and sending Elasticsearch;kibana a Web GUI that users can browse and search for stored in Logs in th
This is a creation in
Article, where the information may have evolved or changed.
kubectlFunctions that are actually running ( k8s.io/kubernetes/pkg/kubectl/app/kubectl.go ):
func Run() error { cmd := cmd.NewKubectlCommand(cmdutil.NewFactory(nil), os.Stdin, os.Stdout, os.Stderr) return cmd.Execute()}
NewKubectlCommandThe code ( k8s.io/kubernetes/pkg/kubectl/cmd/cmd.go ):
//Newkubectlcommand creates t
A description of the application scenarioContinuous tracking research kubernetes also for some time, kubernetes as Google open-source production-level container scheduling system from open source has received a lot of attention. A number of research and development companies have researched Kubernetes's design concepts and application scenarios and soon organized developers to combine
KUBERNETES cluster to build the basic environmentSystem Environment # Cat/etc/redhat-releasecentos Linux release 7.3.1611 (Core)
Host name Settings Centos-master 192.168.59.135centos-minion1 192.168.59.132centos-minion2 192.168.59.133Restart server after SELinux and Firewalld are turned off# systemctl Stop firewalld# systemctl disable firewalld# setenforce 0# sed-i ' s/^selinux=.*/selinux=disableds/'/etc/seli Nux/configMaster Node Installation D
The content of this section:
Service Discovery and load balancing
Ingress Combat
First, service discovery and load balancingIn the previous installation deployment Kubernetes cluster, it was simple to demonstrate that pod and Service,kubernetes implemented service discovery and load balancing for containers within the Kubernetes cluster through
Download deployment Files according to official documentshttps://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yamlEdit this and replace the role name with the following command implementation:
Create Kubernetes-dashboard-rbac.yamlDownload the deployment file, there is a place to note, it is created in
Summary: Kubernetes is Google open source container cluster management system, built on Docker, for containerized applications to provide resource scheduling, deployment operations, service discovery, capacity expansion and other functions. Pods are the smallest deployment units that are created, dispatched, and managed, and this article describes the communication and scheduling between these pods in detailOverviewThe Pods in
Here, I'll show you how to install a kubernetes cluster that contains 1 Master 2 minions.Environmental requirements:CENTOS7 64-bit system three machinesmaster:192.168.5.131minions:192.168.5.132minions:192.168.5.133Components of the Kubernetes:EtcdFlannelKube-apiserverKube-controller-managerKube-schedulerKubeletKube-proxyFirst, deploy to Centos7The figure is then furnishedPrerequisite
Each machine disables iptables to avoid iptables conflicts
containers, making deployment and management more flexible. A pod can contain a container or multiple related containers. 2) Replication ControllerThe Replication Controller manages a copy of the pod to ensure that a specified number of pod copies exist in the cluster. If the number of replicas in the cluster is greater than the specified number, the number of extra containers that are outside the specified number is stopped, and conversely, containers with fewer than a specified
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 unsuccessful2, node nodes can not automatically create
Kubernetes can connect pods on different node nodes in the cluster, and by default, each pod is accessible to each other. However, in some scenarios, different pods should not be interoperable, and access control is required at this time. So how does it work?Brief introduction?? Kubernetes provides Networkpolicy feature, which supports network access control by namespace and by pod level. It uses the label
what is kubernetes.
Kubernetes is a new, container-based distributed architecture leading solution. is an open source version of Google's internal cluster management system, Borg. It was not known until April 2015, when the papers were published. Kubernetes is an open platform for development. is not limited to any one language and does not qualify any programm
first, the core concept
1, Node
node as a working node in a cluster, running a real application, the smallest unit of Kubernetes managed on node is pod. Node runs kubernetes kubelet, Kube-proxy service processes that are responsible for pod creation, start-up, monitoring, restart, destruction, and load balancing of software patterns.
Node contains information: node address: The IP address of the host, or
K8s Kubernetes v1.10 Single-node Kubeadm quick Installation
# Master single node Quick install# fool-only installation for rapid deployment of test environments
#测试环境centos 7.4#ubuntu环境应该也可以, not tested.
#1 Initializing the Environmentcurl -s http://elven.vip/ks/k8s/oneinstall/0.set.sh |bash#2 Download the image, install the Kubeadm toolcurl http://elven.vip/ks/k8s/oneinstall/1.download.sh
This is a creation in
Article, where the information may have evolved or changed.
Kris Nova, of Microsoft, shares lessons on over-engineering from she experience contributing to Kubernetes Kops. In hers spare time, she runs a Kubernetes special Interest Group bringing Kubernetes to AWS, all and working on Microsoft Acs. She ' s writing a book called Cloud Native
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.