Reference article:1. Kubernetes Learning Resources1, "Kubernetes and cloud-native application" series of kubernetes system architecture and design concept2, [Docker Professional introduction website Dockerinfo] (Dockerinfo-docker container Technology tutorial, docker information dissemination and service platform)3, [Docker Professional introduction website Docko
Summary
Project Background (XX Bank customer): The private cloud on the k8s to run like MySQL in the state of the database services, performance and latency are relatively sensitive, not like the web bias application of stateless delay performance almost acceptable. But the network performance and delay is poor based on overlay mode, and the network architecture is more complex. And banks need to be simple and controllable for IP network management. Sr-iov is based on hardware implementation of
0. Preface
Overall architecture directory: ASP. NET core distributed project-Directory
k8s Schema Catalog: Kubernetes (K8S) cluster deployment (K8S Enterprise Docker container cluster Management) series catalog
1. Deploy Master Components
The components of the master server are: Kube-apiserver, Kube-controller-manager, Kube-scheduler
So you need to download k8s master,:github.com/kubernetes/
The introduction on GitHub:Ambassador is a open source kubernetes-native API Gateway built on Envoy, designed for MicroServices . Key features include:
Self-Service configuration, via Kubernetes annotations
First Class GRPC and HTTP/2 support
Support for CORS, timeouts, weighted round robin (Canary), and more
Istio Integration
Authentication
Robust TLS support, including TLS c
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
1:helm (deployment tool that can be used to deploy common applications, instead of Kubelet native commands)Https://github.com/kubernetes/helmApplication list: https://github.com/kubernetes/charts/tree/master/stable2:prometheus Operator (k8s system monitoring)https://github.com/coreos/prometheus-operator/3:dashboard (Kubernetes Web UI Management Interface)Https://
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
This article will introduce the creation and use of Kube-ui (also called dashboard) on the basis of the previous article. This thing is essentially the WebUI connection Master API interface, through the API to obtain information about the k8s cluster, and then on the web display, for the user is more friendly, the actual use is not very large.One, download the image file and incorporate the unified management of the local warehouse# docker pull docker.io/mritd/
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 Dashboard1.8.3 Deployment
DescriptionPlease click images to download and use the image below.
Installing Dashboard#下载yamlwget https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml#查看yaml中imageimage: k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.3
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
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.