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
The pod is a container group, so let's create a pod now, just like Dockerfile.VI Nginx-pod.yaml (to pay great attention to the space, usually two spaces)Add to:Apiversion:v1Kind:podMetadataName:nginx1SpecContainers-NAME:NGINX1Image:docker.io/nginxPorts-containerport:9001Start podKubectl create-f Nginx-pod.yamlUse get Pods to view650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/88/89/wKioL1f7Tn_RJAOUAAAQwjCNxUA018.png "title=" 817cc777-d671-4aee-b74b-ca8300524af7.png "alt=" Wkiol1f7tn_r
Kubernetes is Google open source Docker container Cluster Management system, for the container of the application of resource scheduling, deployment operations, service discovery, expansion shrink capacity, such as a whole set of functions.
The composition of the entire k8s frame is shown below
The entire k8s architecture consists of two components: Master (APIs, Scheduler, replication Controller) and
Use Kubernetes to create a PHP message board system
This article demonstrates how to use the kubernetes system to create a message board system based on the image files related to kubeguide. Due to limited system resources, the kubernetes cluster has only one master node and slave node.
For Docker local repository and kuberne
This article demonstrates the use of the kubernetes system to create a PHP and Redis-based message board system based on Kubeguide-related image files, because system resources are limited, and the Kubernetes cluster has only one master node and slave node.Docker local warehouse and kubernetes cluster configuration Please review the previous article.I. Introducti
Kubernetes is a distributed cluster of Google's Docker based, with the following main components ETCD: High-availability storage sharing configuration and service discovery, used as a companion to flannel on Minion machines, to enable Docker running on each minion to have different IP segments The ultimate goal is to make the Docker Containner running on different minion have an IP address that is not the same as any other Containner (Docker Containn
https://github.com/kubernetes/community/blob/master/contributors/devel/development.md# Building-kubernetes-on-a-local-osshell-environmentDownload various mirrors as requiredGo get GITHUB.COM/TOOLS/GODEPDownload Kubernetes code placed in a temp directoryThen create the K8s.io under Gopath because the import path of the code inside the source is k8s.io/xxx/xxxAfter
This is the culture and education everyone step by step compile kubernetes. Ready to
Before compiling the kubernetes, you should install the build environment first, you need to install the go, install the tutorial please own Baidu. compiling
Create a folder
Create a Go project folder
mkdir kube
cd kube
mkdir src
cd src
mkdir k8s.io
cd K8s.io
Download Source PackageUnder the K8s.io
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
First, IntroductionHeapster is a cluster-wide monitoring and event data aggregator. It natively supports kubernetes and can be run on all kubernetes settings. Heapster is run as a cluster in a group, similar to how any other kubernetes application runs. InfluxDB is an open source database written in go that is designed to handle time-series data with hi
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 problem of network error in Kubernetes
System environment#系统版本cat /etc/redhat-releaseCentOS Linux release 7.4.1708 (Core)#kubelet版本kubelet --versionKubernetes v1.10.0#selinux状态getenforceDisabled#系统防火墙状态systemctl status firewalld● firewalld.service - firewalld - dynamic firewall daemonLoaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)Active: inactive (dead) Docs: man:firewalld(1)
Pod anomaly Problem#d
Scheduler Source Analysis
The last article mainly introduces the principle kubernetes principle of Kubernetes Scheduler--schedulerThis article mainly carries on the analysis to the Kubernetes Scheduler module source code. Scheduler Source Structure
Kubernetes Scheduler module in the
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
1, Go language introduction:
(1) The Go language is the second open source programming language released by Google 2009.
(2) The Go language is optimized for programming multi-processor system applications, with go-compiled programs that are comparable to the speed of C or C + + code, and are more secure and support parallel processes.
2. Go language Features
Advantage:
(1) static type, compiled open source language
(2) Scripting syntax
(3) Nat
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.