This article starts with my public number clouddeveloper, and you are welcome to join me in learning cloud computing.
During the Ming Dynasty, Emperor Chengzu Zhu Di, in order to develop overseas trade and establish his prestige, sent Zheng He seven voyages, set the ancient China's largest, the most ships (more than 240 ships), the most seafarers (27,000 people), the longest time, than the European countries sailing time of half a century earlier ocean voyage feat.
ClusterCluster is a collection of compute, storage, and network resources, and Kubernetes uses these resources to run various container-based applicationsMasterMaster is the brain of cluster, whose primary responsibility is scheduling, that is, deciding where the application will run. Master runs the Linux operating system, which can be either a physical machine or a virtual machine. To achieve high availability, you can run multiple master.NodeNode's
What is a container?Kubernetes is a container management platform. It is conceivable that we need containers to manage them. But what is a container? The best answers to the official Docker documentation are:
A container image is a lightweight, standalone, executable package that contains everything that can be run: Code, runtime, System tools, system libraries, settings. For Linux and Windows-based applications, containerized software can ru
1. Compiling environment
Operating system: Ubuntu 16.04 LTS AMD64
git:2.7.4
docker:1.12.6
2. Compile Steps
2.1 Clone Source Code
# git clone https://github.com/kubernetes/kubernetes.git
# git checkout release-1.7
2.2 To modify the source code is to solve the Gcr.io domestic problems, has been tested, even if ready to gcr.io related mirrors, such as not modify the source code will still be due to network problems caused the compilation failed
edit
Container Registry and used rancher Registry. You can directly copy the address in Amazon Container Registry, user name AWS (note case sensitive) and password (Base64 encoded string).You can get credentials this way:650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/8C/ED/wKioL1h-1LjQkH__AAAEZZXq8BI615.png "title=" Code 3.png "alt=" Wkiol1h-1ljqkh__aaaezzxq8bi615.png "/>Then create the Docker image:650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/8C/ED/wKioL1h-1Mqxur38AAAEJQ
requirements of those primary nodes.If you are building a new kubernetes cluster from scratch, this may be an unrelated issue, after all, determining the number of primary nodes needed is a normal phase in the cluster planning process. However, if you are going to expand an existing kubernetes cluster, you need to consider the requirements of the master node more, because the size of the master node is set
---------- ---------- ---------- ---------- ----------Apache Fedora/apache/name=Apache waiting [[email protected]~]# kubecfg list pods ID Image (s) Host Labels Status---------- ---------- ---------- ---------- ----------Apache Fedora/apache10.193.6.36/Name=apache WaitingThe Apache service automatically deploys to Docker on the machine yy2,yy2 automatically downloads the image and then launches the Apache service. Well, after
can see now that dashboard is already running on the centos-minion-2 node and we are viewing it in the browser address barHttps://192.168.128.160/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard/#/workload?namespace=_all650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "spacer.gif"/>The dashboard has
This is a creation in
Article, where the information may have evolved or changed.
This period of time in the project group want to introduce Kubernetes, as a second-generation container scheduling engine, so recently in the system learning kubernetes. Organized a number of learning notes, experience, put on the blog, one to record their own learning through, and
cluster, Google recommends:
Create service accounts using IAM in the cloud console and follow the least privilege principle before associating them with each node.
When the cluster is started and running, disable the Kubernetes Web UI because it is controlled by a highly privileged account.
Disable legacy authorization, which is an Attribute-Based Access Control (ABAC, Attribute-Based Access Control ). In Kub
The development track of modern cloud computing from the perspective of container and Kubernetes Technology
[Editor's note] This article is selected from the Google Cloud Platform Blog. It is the beginning of a series of blogs that mainly introduce container technology. This article briefly introduces container technology and kubernetes, describes the advantages
/kubeletkubelet_address = "--address=0.0.0.0" kubelet_hostname= "--hostname-override=server-116" kubelet_api_server= "--api-servers=http:// 10.5.10.116:8080 "Kubelet_pod_infra_container="--pod-infra-container-image=myhub.fdccloud.com/library/ Pod-infrastructure:latest "650) this.width=650; "src="/img/fz.gif "alt=" Copy Code "/>Start the node side:Systemctl start Kubelet kube-proxysystemctl enable Kubelet Kube-proxyFinally, see if the nodes are normal by kubectl on
ObjectiveThis article is a reading note, specific reference to Mr. Nu Bongfei's original "Kubernetes Guide", thank the original author, salute!I. Introduction of BorgBorg is a large-scale cluster management system within Google, which is responsible for the scheduling and management of many core services within Google.The goal of Borg is to enable users to focus on their core business without having to worry about resource management, and to maximize
I. Background INTRODUCTION
As we all know, due to the domestic network reasons, in the construction of kubernetes environment, often encountered the need for the mirror can not find the situation.
After all, it is not a good idea to pick up rubbish in Dockerhub, this article teaches everyone to build their own mirror warehouse in Dockerhub.
Request: Have GitHub account number, have dockerhub account number, do not register.
Second, the basic steps
2.1
This is a creation in
Article, where the information may have evolved or changed.
Hello everyone, I am Xu Chao, engaged in Kubernetes development has been more than two years.
Today, I talk about Client-go repository from a developer's point of view and how to build a Controller with Client-go. At the same time, we also give you a talk about the development process encountered in the pit, I hope everyone in the development of the time can be around
generic kubectl to everyone. My advice is to isolate the team based on namespace and then use RBAC policies to limit the ability and access to only that namespace.After the permissions are controlled, you may become crazy, for example, to read, create, and delete pods based on pods only. But one of the things that needs to be done is to access only the administrator credentials, which can isolate who can manage the cluster and who can only deploy the app on the cluster.I am looking forward to a
Resources:k8s-Network Isolation Reference
Opencontrail is a open source network virtualization platform for the cloud. –kube-o-contrail–get your hands dirty with Kubernetes and Opencontrail
Opencontrail is a open source network virtualization platform for the cloud.
Opencontrail Architecture Document-flying Eagle's diary-NetEase Blog
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.