Service discovery mechanism Kubernetes provides two ways to discover the service:1. Environment Variables When the pod is running, Kubernetes writes the information for the service that existed before This method requires that the pod must be started after the service. The pod that was started before the service will not have an environment variable for that service. There is no such limit in the way
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
Prerequisite: CENTOS7 has been updateYum Update-yFirst, to create a Yum source Master,slave areKubernetes Release version Yum sourcehttp://cbs.centos.org/repos/virt7-docker-common-release/x86_64/os/Packages/VI Virt7-docker-common-release.repo[virt7-docker-common-release]name=virt7-docker-common-releasebaseurl=http://cbs.centos.org/repos/ Virt7-docker-common-release/x86_64/os/gpgcheck=0Second, Yum installation ServicesYum-y Install--enablerepo=virt7-docker-common-release
The content of this section:
Traefik Introduction
Two services deployed for testing
Role Based Access Control configuration (Kubernetes 1.6+ only)
Deploying Traefik
Deploying Ingress
Deploying the Traefik UI
Access test
Health Check
I. Introduction of TraefikTraefik is a front-end load balancer with good support for orchestration tools such as MicroServices architecture, especially
Helm IntroductionDeploying container cloud Applications (container or microservices orchestration) in Kubernetes is a challenging task, Helm is to simplify the installation of a client tool for deploying container cloud applications in Kubernetes. Helm enables developers to define, install, and upgrade container cloud applications in Kubernetes. At the same time,
the original is from the "Listen to Cloud Technology blog": http://blog.tingyun.com/web/article/detail/1345Today, contact Kubernetes also has a period of time, and most of our business has been stably run in different sizes of kubernetes clusters, we have to say, whether from the application deployment, iteration, or resource scheduling management and other aspects have their unspeakable advantages, But as
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/8F/D4/wKioL1js5fvx38eyAAIilo3ggrk054.jpg-wh_500x0-wm_ 3-wmp_4-s_3362591799.jpg "title=" docker-swarm-kubernetes copy 2.jpg "alt=" Wkiol1js5fvx38eyaaiilo3ggrk054.jpg-wh_50 " />March 2017 is an important month in the history of open source software. This month, AWS partnered with Startups Heptio to launch the Kubernetes (k8s) Open source container Cl
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
Configuring the Kubernetes dashboard is relatively straightforward. Similarly, only need to obtain the Dashboard-controller.yaml and Dashboard-service.yaml files from the source code, slightly modify can:wget Https://rawgit.com/kubernetes/kubernetes/master/cluster/addons/dashboard/dashboard-controller.yamlwget Https://rawgit.com/
I. Introduction of COREDNSKubernetes includes the DNS server Kube-dns for service discovery. The DNS server leverages Skydns's libraries to provide DNS requests for kubernetes pods and services. SkyDNS2 's author, Miek Gieben, created a new DNS server, Coredns, which was built with a more modular, extensible framework. Infoblox has partnered with Miek to use this DNS server as a substitute for kube-dns.COREDNS leverages the server framework developed
first introduce what k8s is: (Quote from k8s Chinese community)Kubernetes is a container cluster management system, it is an open source platform, can realize the automatic deployment of container cluster, auto-scaling capacity, maintenance and other functions. Kubernetes you can:
Quick Deploy app
Rapid extension Application
Seamless docking of new application features
This article will be based on the previous article on the configuration of the DNS service in the Kubernetes cluster environment, in the k8s cluster, pod life cycle is short, pod restart IP address will change, for the application this is unacceptable, in order to solve this problem, The k8s cluster cleverly introduces the DNS service to realize the discovery of the service, in which DNS requires a total of 4 components in the k8s cluster, each of whi
Please be sure to keep the environment consistent
To download the required system packages during installation, be sure to connect all the nodes to the Internet .
Cluster node information for this installationLab environment: VMware's virtual machines
IP Address
Host name
CPU
Memory
192.168.77.133
K8s-m1
6 cores
6G
192.168.77.134
k8s-m2
6 cores
6G
192.168.77.135
First, the prefaceKubernetes is Google's Open source container cluster management system, based on Docker to build a container scheduling services, providing resource scheduling, equalization disaster tolerance, service registration, dynamic expansion capacity and other functional kits, the latest version of the current 0.6.2. This article describes how to build a Kubernetes platform based on Centos7.0, before the formal introduction, it is necessary
Kubernetes cluster configuration notes
This article describes how to configure a Kubernetes cluster. A kubernetes cluster consists of a master node and a slave node.
Run the following services on the Master node:Etcd (the etcd service can also be run independently, not necessarily on the Master node)Kube-apiserverKube-controller-managerKube-schedulerKubeletKube-p
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
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.