-file=/root/security/server.key--basic-auth-file=/root/security/basic_ auth.csv--secure-port=443 >>/var/log/kubernetes/kube-apiserver.log /usr/bin/kube-controller-manager--logtostderr=true--v=0--master=http://centos-master:8080--root-ca-file=/root/ Security/ca.crt--service-account-private-key-file=/root/security/server.key >>/var/log/kubernetes/ Kube-controller-manage.log For SERVICES in Etcd kube-proxy ku
, kubernetes each component function introductionRole Component FeaturesMaster Apiserver provides pestful interfaceMaster Scheduler is responsible for scheduling, assigning pods to slave nodesMaster Controller-manager is responsible for other functions of masterMaster ETCD Storage configuration information, node information, pod information, etc.Slave Kubelet manages pod, container, and container mirroringSlave Proxy forwards the request for access to
Build k8s DashBoardCluster structure:
type
Host name
IP
Master
K8s_master
192.168.3.216
Node
K8s_client1
192.168.3.217
Node
K8s_client2
192.168.3.219
The following actions are performed on K8s_master: One, Mirror download [[Emailprotected]_master ~]# Docker Pull docker.io/siriuszg/ kubernetes
Come on , the first question:Rancher can quickly deploy kubernetes, but its use of the Gcr.io on the mirror cannot download what to do? With rancher you can quickly deploy kubernetes, but what images do we need to download? Rancher Support Private Image warehouse, how to set it? Problem Solving Ideas:Although the domes
Kubernetes Cluster Deployment DNS ServiceIn Kubernetes each service will be assigned a virtual IP, each service under normal circumstances will not change for a long time, this is relative to the pod of the indefinite IP, the use of the cluster app is relatively stable.But the service's information injected into the pod is currently using an environment variable, and relies heavily on pod (RC) and service c
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
=\\" -- bip = $ FLANNEL_SUBNET -- mtu = $ FLANNEL_MTU \\\ ">/etc/default/docker" service docker restart
3. Kubernetes deploymentDownload kubernetes.tar.gz to master and minion nodes.
wget -c https://github.com/kubernetes/kubernetes/releases/download/v1.2.5/kubernetes.tar.gz
Decompress the kubernetes.tar.gz file and f
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
Tail-f/var/log/messagenov1409:39:09imagejournal:w111409:39:09.943633 1controller.go:386]Resettingendpointsformasterservice " Kubernetes "to{{}{kubernetesdefault/api/v1/namespaces/default/ Endpoints/kubernetes17553a6b-c907-11e7-b180-fa163ee5f1502002302017-11-1406:43:15 +0000utcWorkaround:Append the--apiserver-count=n to the Api-server configuration file, and then restart the ApiserverThis article is from the "ipcpu" blog, make sure to keep this source
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
Configure the dashboard service for a Kubernetes Cluster
This article describes how to create and use kube-ui (also called dashboard) based on the previous article. This is essentially an api interface for connecting webui to the master. It obtains information about the k8s cluster through the api and then displays it on the web, which is more friendly to users, it is not very useful.
1. Download image file
-grained management of spark applications, improves resiliency, and integrates seamlessly with logging and monitoring solutions. The community is also exploring advanced use cases, such as managing streaming workloads and leveraging service grids such as Istio.To try it on your kubernetes cluster, simply download the official Apache Spark 2.3 release binaries. For example, here we describe a simple spark ap
describe the interaction between the various components of kubernetes and their workflow.650) this.width=650; "src=" Http://resource.docker.cn/kubernetes-workflow.png "alt=" alt "/>
using the exampleFinally, let's go into combat mode, where a simple stand-alone example (all components running on a single machine) is designed to get through the basic process.Build the EnvironmentIn the first step, we
How to build a Kubernetes (k8s) Environment
The official version of k8s is updated too quickly. Many articles on the Internet are outdated and many tools and interfaces have changed. the official website does not have a good understanding. Here we only record the process of setting up the k8s environment and will not talk about many k8s concepts. Therefore, we recommend that you first understand various concepts and then build the environment, then, i
There are several ways to install the Kubernetes cluster, the KUBEADM approach is described earlier, and the manual installation method is described in this article.The installation environment has 3 VMS on Azure:HKUBE01:10.0. 1.4 HKUBE02: 10.0. 1.5 Hbube03: 10.0. 1.6Where hkube01 is the master node, it will install Docker, ETCD, Kubernetes Master, flannel required components;HKUBE02 and hkube03 are worker
by default, so you have to add that flag to solve the problem.4. Although the Minikube is Mini, the local use is powerfulMinikube is definitely the easiest way to start a kubernetes cluster locally. You just have to follow this [1] guide to download everything.Once all the components have been installed, you can simply run the following command:minikubestartAfter the command is executed, you will have a ru
Helm
In helm, there are three important concepts to understand:
Chart: is a collection of information that creates an Kubernetes app instance
Config: Configuration information for the chart that created the publication object
A running instance of Release:chart that contains a specific config
Installing HelmNote: Some files or images may not be available for download at home and
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.