[TOC]After DNS is installed, the pod can resolve the service through DNS to enable communicationKubernetes version:kubectl version My current version is 1.9.0.1, kubectl DNS installation 1.1 Download the configuration file on the official websitehttps://github.com/kubernetes/kubernetes具体路径是cluster/addons/dns/kube-dns 可能版本不一样,路径略有不同该路径下有三个相似的配置文件: kube-dns.yam
This article describes how to quickly deploy a set of kubernetes clusters, so let's get started quickly!
Preparatory work//关闭防火墙systemctl stop firewalld.servicesystemctl disable firewalld.service//关闭selinux,修改/etc/selinux/configSELINUX=disabledMachine Deployment Planning
Host
IP
Deploying Components
Master Master Node
192.168.199.206
ETCD, Kube-apiserver, Kube-controller-manager, Kube-sch
Kubernetes components and role distribution component functions:
-Etcd a highly available k/v key value to the storage and service discovery system-Flannel The communication of the container network of the boast host-Kube-apiserver provides API calls to Kubernetes clusters-Kube-controller-manager ensure Cluster service-Kube-scheduler dispatch container, assign to Node-Kubelet boot container on node
First, prefaceKubernetes is the Google Open Source container cluster management system, based on Docker to build a container scheduling service, providing resource scheduling, balanced disaster recovery, service registration, dynamic expansion capacity and other functional suites, currently the latest version is 0.6.2. This article describes how to build Kubernetes platform based on Centos7.0, before it is formally introduced, it is necessary to under
How to obtain a Kubernetes image in China
I. background
As we all know, due to domestic network reasons, when building a Kubernetes environment, we often encounter situations where necessary images cannot be found. After all, it is not a good way to pick up junk in DockerHub. This article will teach you how to build your own image repository in DockerHub.
Requirement: You have a GitHub account and a DockerH
With the popularity of micro-service architectures and the trend of cloud-native, containerized microservices have become the best product of continuous delivery and have become the kubernetes best ecosystem for operation and maintenance containers. Practice out of knowledge, since kubernetes the study, wrote a series of articles, in order to be able to learn from each other, to find knowledge of the loopho
As early as half a year ago, the company began to implement the container deployment scheme Appos, although the publishing interface is too geek, very obscure, but carefully studied really feel very powerful, after the implementation of the container, computing resources (CPU, memory) utilization can be greatly improved, reduce the number of servers, thereby saving technical costs.
Coincidentally, a number of friends in the start-up companies are also recently trying to do micro-services, contai
This is a creation in
Article, where the information may have evolved or changed.
When the code is compiled k8s , k8s a folder is generated in the root directory _output , and folders are also included under this folder local :
~/kubernetes/_output/local$ lsbin go
goThe folder is a standard Go language workspace :
:~/kubernetes/_output/local/go$ ls -alttotal 20drwxrwxr-x 4 nan nan 4096 Dec 9 22:09 ..drwxr
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.
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
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
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
Participants : System engineers, software architects, software engineers, operations engineers, and it elites interested in cloud computingCourse Catalogue:First lesson Why you need to learn Dockerlesson two the container Base command series for Docker combatlesson Three the custom container image for Docker combatFourth lesson of the container interconnection of Docker actual combatFifth lesson Docker's container network mechanism (UP)Sixth lesson The container network mechanism of Docker Comba
the style and logic of the above code is no longer familiar: Create a The Schedulerserver object, which passes command-line arguments, and enters the schedulerserver Run method, does not die. --"kubernetes authoritative guide" source code guidance Kubernetes Scheduler Server is implemented by the Kube-scheduler process, which runs on the Kubernetes management nod
Basic knowledgeFirst: Docker is an open-source container, in fact this technology is not new. In the early days of Linux, there was a lightweight virtualization system like LXC. Docker is actually just a language to implement. Kubernetes means the helmsman of sailing, it's a powerful orchestration + Monitor + disaster preparedness + load management system for DockerSecond: Kubernetes is a summary and best p
in the previous section we discussed the services running on the Kubernetes architecture Master,This section discusses node nodes. Node is where the Pod runs, Kubernetes supports Docker, Rkt, and other container runtime. The Kubernetes components running on node have Kubelet, Kube-proxy, and Pod networks (such as flannel).KubeletKubelet is the agent of node, and
GlusterFSGlusterfs is an open-source, scale-out file system. These examples provide information about how to allow containers to use glusterfs volumes.The example assumes that you have set up the Glusterfs server cluster and is ready to use the running Glusterfs volume in the container.PrerequisiteThe Kubernetes cluster has been built.Installation of the Glusterfs clusterEnvironment IntroductionOS System: Centos 7.xGlusterfs of two nodes: 192.168.22.2
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.