Outline:
? How to discover services in Kubernetes
? How to discover the services provided by pod
? How to use service discovery Services
? How to use the Kube-dns discovery service
? Kube-dns principle
? Composition
? Domain name format
? Configuration
Note: this share is based on the Kubernetes 1.2 version!Let's start with a simple example.1.How to discover service
images through projects. Kubernetes in the namespace to isolate resources, in an enterprise-level scenario, the combination of the two can effectively manage and access control of the mirrored resources used by kubernetes, enhancing the security of the image. Especially in multi-tenancy scenarios, the management and access control of multi-tenant mirrored resources can be achieved through a combination of
I. When deploying the Kubernetes cluster, we used Acs-engine to generate 3 JSON files and some certificate files, as follows:
Apimodel.json-Cluster configuration file
Azuredeploy.json-Core Arm (Azure Resource Model) template for deploying k8s clusters
Azuredeploy.parameters.json-Deployment parameters file, where parameters can be customized
Certificate and Access config Files-kubernetes
There are two requirements for stateful cluster services: one is storage requirements and the other is cluster requirements.For storage requirements, the Kubernetes solution is: Volume, persistent Volume. For PV, in addition to manually creating a PV pool, the storage system can be automatically created by storage class.For cluster requirements, the Kubernetes solution is pet Set. The Pet Set also initializ
To succeed in today's fast-paced development environment,Leveraging container technology and DEVOPS practicesIt is important to build and continuously deliver microservices.As a Java developer,As you integrate the latest tools and development methodologies,You need to take advantage of some of the powerful features of the Java language.Today, we're going to learn how to deploy Java-based microservices applications to Kubernetes clusters using Micropro
In a production environment kubernetes if you provide only HTTP or HTTPS services, you can use seven-tier load balancing software such as nginx-ingress or Traefik. Of course, you can also expose HTTP or TCP services in a nodeport way. If you do not want to directly use the port number exposed by Nodeport, and the server is running on the Ali Cloud, you can expose the TCP service or Controller service externally using the
Objective
in the Kubernetes system, Scheduler is the only one in the plugin form of the module, this pluggable design to facilitate user-defined scheduling algorithm, so the source path for the plugin directory of CMD and pkg/scheduler
Scheduler is responsible for arranging the pod to the specific node, monitoring the Pods through the interface provided by API Server, acquiring the pod to be scheduled, ranking each node nodes according to a series
Kubernetes Important Concept UnderstandingKubernetes is currently the most mainstream container orchestration tool, the next generation of distributed architecture of the king. 2018 Kubernetes The first version 1.10 has been released. Here's a look at some of the basic concepts of kubernetes.The kubernetes divides the machines in the cluster into master nodes and
Operational environment readiness and related software requirements1. Production-grade Kubernetes cluster recommended 1.8 or later2.Gitlab Docker Image Slpcat/gitlab-ce3.Jenkins Docker ImageJenkins master image Slpcat/kube-jenkins-service has been installed with various plugins required, preconfigured with Kubernetes management Jenkins slave Jenkins slave image slpcat/kube- Jenkins-dind-agentSupport for JNL
Author: Peng Jingtian
The node nodes of Kubernetes are composed of Kubelet, Kube-proxy, flannel, dockerd four components, this paper mainly analyzes the functions and principles of kube-proxy components. Pod is the smallest unit of resource allocation in kubernetes and the smallest entity to perform tasks.
Each pod has a separate IP on the flannel overlay network. Pod Communication in node nodes is impleme
This is a creation in
Article, where the information may have evolved or changed.
This series of documentation describes kubernetes all the steps of using a binary deployment cluster, rather than kubeadm deploying the cluster using automated methods;
During deployment, the startup parameters of each component are listed in detail, their meanings, and the problems they may encounter.
Once the deployment is complete, you will understand the interaction
Planning Nodes Install ubuntu 14.04 LTS Prepare password-less SSH login Establish Ssh-key certificate, switch to root account, use command ssh-keygen-t RSAGenerating public/private RSA key pair.Enter file in which to save the key (/ROOT/.SSH/ID_RSA):Enter passphrase (empty for no passphrase):Enter same Passphrase again:Your identification has been saved In/root/.ssh/id_rsa.Your public key has been saved in/root/.ssh/id_rsa.pub. Distribute Id_rsa.pub to authorized_keys inside The root directory
Ext.: http://dockone.io/article/950OverviewThis article is mainly about how to install Kubernetes on the Ubuntu system, there are many related articles on the network, the feeling is not very clear, here I will own installation practice to provide you with a guide, easy to build kubernetes environment, rapid development.Installation Preparation1 Installing DockerCurl-s https://get.docker.io/ubuntu/| sudo sh
Deploy Kubernetes-dashboard on the basis of the deployment of Kubernetes, which is the official Kubernets cluster Visualizer for user management, and the deployment dashboard is actually the same as deploying other applications in Kubernets, Create dashboard required replication Controller, service services can be;Note that the overlay network of Kubernets is working properly, each node has started flannel,
Kubernetes can automatically run multiple copies of Odoo services, so it 's very well suited to make a highly available Odoo deployment, in this case,Odoo The service runs in the kubernetes cluster, while the PostgreSQL database runs in another Cluster host host Network on the other hostInstall kubernetes Cluster, there are many ways, as of now, the easiest is
Environment Construction _c5-6 Adjusting the micro-service adaptation Mesos5-7 Micro-Service Deployment _a5-8 Micro-Service Deployment _b5-9 Micro-Service Deployment _c6th Chapter Service Orchestration-dockerswarmThe process of learning is similar to Mesos, which is to start with the concept, understand the architecture design of swarm, understand its service discovery, service orchestration, and then build swarm cluster environment, then adjust our microservices to adapt to swarm, and finally
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.