Previous Chapters Kubernetes All operations we are using command line tools kubectl completed. To provide a richer user experience, Kubernetes also developed a WEB-based Dashboard that enables users to deploy containerized applications with Kubernetes Dashboard, monitor the status of applications, perform troubleshooting tasks, and manage
Describes how to install kubernetes offline, mainly for the study of Kubernetes, not recommended in production environment , install package get address:Link: Https://pan.baidu.com/s/1nX5_memy8TKrnw1auOsB8Q Password: ZSW7Operating Environment
Name
Operating system
Configuration
Ip
Master
CentOS 7
4 Core 2G Memory
192.168.132.130
Nod
Tags: composition instance provider application Application class version style implementationThe lifespan of kubernetes pods is limited and they are not resurrected, so although each pod has its own IP address, these IP addresses are unreliable and disappear as the pod dies. This poses a problem, if some of the pod's collections (called backends) are other pods of the cluster (called frontends), how do these frontends find and always know which backe
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
This article describes the use of Node-exporter, Prometheus, Grafana to monitor the cluster in a k8s cluster.Its implementation principle is somewhat similar to elk, EFK combination. The Node-exporter component collects the metrics monitoring data on the node and pushes the data to Prometheus, Prometheus is responsible for storing the data, and grafana the data to the user in a graphical form on the Web page. Before you begin, it is necessary to understand what the next Prometheus is. Prometheu
In a cluster with TLS enabled, each time the cluster interacts with identity authentication, using Kubeconfig (i.e., certificates) and token two authentication methods is the simplest and most common authentication method.Take Kubectl as an example to introduce the configuration of Kubeconfig. Kubectl is just a go-written executable program that can be used by any node in the cluster as long as the appropriate Kubeconfig is configured for Kubectl. Kubectl Default is to find files with file names
Kubernetes+docker the cloud platform in CentOS7 installation on the system 1. Run VIRTUALBOX5. 2. Install the CENTOS7 system.Note: Select the basic server typeThe installation process is slightly. 3. Modify the computer IP and computer name.1) Nmtui1.Modify Host Name:NMCLI General hostname slave1.smartmap.com2.Modify Network ConnectionsNMCLI Connection Edit ENP0S3Nmcli> Goto IPv4Nmcli ipv4> Set Method manualNMCLI ipv4> Set Addresses 192.168.1.203/16N
Deploying Heketi and Glusterfs in Kubernetes[TOC]1. PrefaceIn Kubernetes, using the Glusterfs file system, the procedure is usually:Create brick--> Create volume--> Create pv--> create pvc-->pod mount PVCIf you are creating more than one PV, you need to manually repeat these interlocking steps, Heketi can resolve these duplication problems.Heketi is used to manage the life cycle of the glusterfs volume and
By default, Kubernetes has a certificate validity period of 1 years when initializing a cluster. Manually generating certificates can avoid this problem.
Pull git code
git clone https://github.com/fandaye/k8s-tls.git CD k8s-tls/2. Edit the configuration file ' Apiserver.json ' file in the Hosts section, add the corresponding Kubernetes master node hostname and IP address to ', ' number interv
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
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.