First, introduce
This case is based on Kubernetes and Docker, which includes1, Web front-end2, Redis Master3, Redis SlaveWhere the Web front-end interacts with the JavaScript Redis API and Redis Master
Kubernetes System Architecture
Second, the configuration
0. PrerequisitesKubernetes Cluster
1, start Redis Master use replication controller to ensure that only one pod is running (when a node is down,
the trend of the community, for the next version of the parameter configuration policy: 1. Turn off unsecured ports, all traffic over secure ports, 2. Dynamically create bootstrpping Auth token, bootstrpping TLS Cert, auto approve certificate, certificate rotation, etc. 3. Configure the Kublet, kube-proxy parameters in the configuration file, rather than the command line, to prepare for subsequent dynamic modification of the component configuration; Enjoying,happy hacking! GitHub address: [Foll
Guide:Kubernetes a ride on the dust to open, then the enterprise should start to kubernetes migration? Under what circumstances do you really accept it? Some of the technology frontier companies first-step practice is probably the most persuasive and reference value. This article is a good reference.1Kubernetes now rage, it is part of a massive cloud-native movement. All major cloud providers use it as a solution for deploying cloud-native application
The Kubernetes network model is made up of four parts from inside to outside:
The network where the pod interior container resides
The network where the pod resides
Network for communication between pod and service
Network of communication between outside and service
It is recommended that you understand the network model of Docker before reading this article. Refer to the author's first two articles [
multiple instances, the service itself, but the configuration of the startup service is not the sameIn general we may have 3 requirements:
1: Different container to set different resource permissions
2: Different container mount different directories
3: Different container to perform different start commands
You can set different settings for different container in the configuration file.Apiversion:v1beta3Kind:replicationcontrollerMetadataName:newLabelsName:newSpecReplicas
What is 1.1 kubernetes?First, it is a new, container-based, distributed architecture leading solution. is an open source version of Google's Borg (large-scale cluster management system).Second, if the system design follows the Kubernetes design idea, then the traditional system architecture and business does not have much to do with the underlying code or function modules (such as load balancing, service se
Concept GroomingIn order to solve the above-mentioned problem, Kubernetes does not need to find a way, after all, is the network security level of the problem, every service will encounter problems, the industry has a mature solution to solve. Here we look at industry scenarios and related concepts.
Symmetric encryption/Asymmetric encryptionThese two concepts belong to cryptography, which is not easy to understand for the students who have n
Description: Use the Grafana official plugins (Grafana-kuberneres-app) Link Prometheus show kubernetes informationNote: All monitoring-related information is placed on the Namespace=monitorGithub:https://github.com/grafana/kubernetes-app1, Installation PrometheusProm-rbac.yamlapiVersion: rbac.authorization.k8s.io/v1beta1kind: ClusterRolemetadata: name: prometheus namespace: monitorrules:- apiGroups: [""]
Use Kubernetes to manage containers on centos 71. Preface
The previous section describes the Kubernetes system architecture, which gives you a preliminary understanding of Kubernetes. However, you may not know how to use Kubernetes. This article describes how to deploy and configure the network environment of the
Kubernetes container cluster management system basic explanation, kubernetes Management SystemKubernetes Overview
Kubernetes is open-source by GoogleContainer Cluster Management SystemIs an open-source version of Google's large-scale container management technology Brog, which includes the following features:
Container-based application deployment, maintenance,
NetworkingKubernetes supports for Third-party netwroking the cluster via the MLM plugin. For more infromation, please see Cluster Networking.According to this Chinese blog, Principles and Solutions of Kubernetes Networking from Yourongyun the three top of the MLM Pro Viders for kubernetes cluster based on VMs is Project Calico, flannel, Weave Net.And also, here is comparison of variable networking solution
Kubernetes Basic Primer-Installation Deployment Configuration ExampleDeploying Kubernetes SkydnsKubernetes can provide DNS internal domain name resolution services for pods.Its main function is to provide pods with the ability to resolve the IP directly through the service's name to the corresponding service!1. First add the options in the Kubelet process for each node:kubelet_args= "--cluster_dns=10.254.0.
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
Deployment BookInfo Sample program detailed procedures and procedures (based on kubernetes cluster +istio v1.0)Deploying the BookInfo sample programThe sample application is included in the Samples directory of the downloaded Istio installation package.BookInfo ApplicationsDeploy a sample application that consists of four separate microservices to demonstrate a variety of istio features. This app mimics a category in the online bookstore, displaying i
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
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.