Reference Address: Https://github.com/gjmzj/kubeasz
IntroductionProvides tools for quickly deploying highly available k8s clusters, deploying in binary mode and automating with Ansible-playbook, providing a one-click installation script or stepping through the installation of individual components while explaining the main parameter configurations and considerations for each step.CharacteristicsCluster Features: TLS bidirectional authentication, RBAC authorization, multi-master high availab
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
In the first two parts of this series we describe the overall process of API server and how the API objects are stored in ETCD. In this article we will explore how to extend the API resources.In the beginning, the only way to extend the API resources is to extend the relevant API source code and integrate it into the resources you need. Or, push a whole new type into the community code for the new core object API. However, this can lead to a constant increase in the core API resource types until
The component versions are as follows:1.kubernetes-1.02.docker-1.8.03.flannel-0.5.34.etcd-2.1.1Kubernetes Environment Deployment:1.master:172.16.198.1292.slave:172.16.198.128Two virtual machines ready to work:1. Disable FIREWALLD for each machine:Systemctl Stop FirewalldSystemctl Disable FIREWALLD2. Disable SELinux:Vi/etc/selinux/config#SELINUX =enforcingSelinux=disabled#也可用命令Sed-i '/selinux/s/enforcing/disabled/'/etc/selinux/configMaster machine Inst
In the previous blog post, we completed the Sonarqube deployment through Kubernetes's devlopment and service. Seems to be available, but there is still a big problem. We know that databases like MySQL need to keep data and not lose data. And the container is exactly the moment you exit, all data is lost. Once our Mysql-sonar container is restarted, any subsequent settings we make to Sonarqube will be lost. So we have to find a way to keep the MySQL data in the Mysql-sonar container.
What is PodPods are the smallest deployable units that can be used to create and manage kubernetes calculations. A pod represents a process that runs in a cluster.Pods are like pea pods, which consist of one or more containers (such as Docker containers) that share container storage, network, and container run configuration items. The containers in the pod are always dispatched at the same time and have a common operating environment. You can think of
ReviewSimply put: Each component version that Kubernetes relies on can be found in the corresponding ChanglogFor example, version 1.10 depends on the following conditions:Https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.10.md#external-dependenciesThe following simple example summarizes:k8s v1.10 dependent version Select 1.10.0 Dependent package:Ht
Simple IntroductionUse docker+kubernetes today to build a simple Hello World node. js Application.Actual operation1. Follow the tutorial to install docker+kubernetes for MACAbout ToolAbout states2. Verify SuccessDockerKubernetes versionThis docker+kubernetes installation is successful.2. Writing the node. JS ApplicationSave this code in a folder named Hellonode w
CentOS7 Build Kubernetes DashboardAn environmental statementCentos7 Three, master node one, node nodes twoDashboard requires a mirror and requires a command download:Docker Pull mritd/kubernetes-dashboard-amd64:v1.5.1PS: There are many other mirrors can also build dashboard, but this version is the Chinese version ofNote: All two node nodes need to download this image, the master node does not, because the
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
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 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.