Use Rancher's RKE to quickly deploy a Kubernetes Cluster
Brief description:
This article involves three Ubuntu machines, one RKE deployment machine (192.168.3.161), and two Kubernetes cluster machines (3.162 and 3.163 ).
First on a Windows machine, download the rke_linux-amd64 from github, rename it rke, edit the cluster. the yml cluster deployment file uses the pscp Command provided by putty to upload the
, indicates the use of Host network volumes: #在该pod On the definition shared storage Volume List-name:string #共享存储卷名称 (there are many types of volumes) Emptydir: {} #类型为emtyDir的存储卷, a temporary directory with the pod's life cycle. A null-value hostpath:string #类型为hostPath的存储卷 that represents the directory path:string the host where the pod is mounted, and will be used for the same time Mount directory #Pod所在宿主机的目录. Secret: #类型为secret的存储卷, mount the cluster with the defined Secre ob
Introduction to deploying Calico Network Calico Components:
The Felix:calico agent runs on each node, setting network information for the container: IP, routing Rules, iptable rules, etc.
Etcd:calico Back-End storage
BIRD:BGP Client: Responsible for broadcasting Felix's routing information set on each node to the Calico network (via the BGP Protocol).
BGP Route Reflector: Hierarchical routing distribution for large-scale clusters.
Calico:calico command-line administratio
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
The current skaffold version is v0.4 and has not yet been released, and is not recommended for use in production environments;Skaffold is used for developer rapid deployment programs to Kubernetes,Skaffold provides dev, run two modes , and Skaffold requires a skaffold configuration file that defines Skaffold workflow ;The Skaffold workflow defines three main stages : Build, Push, Deploy;First, BuildDuring the build phase, Skaffold uses the dockerfile
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
first, the core concept
1, Node
node as a working node in a cluster, running a real application, the smallest unit of Kubernetes managed on node is pod. Node runs kubernetes kubelet, Kube-proxy service processes that are responsible for pod creation, start-up, monitoring, restart, destruction, and load balancing of software patterns.
Node contains information: node address: The IP address of the host, or
The main references are Https://stackoverflow.com/questions/44651219/kafka-deployment-on-minikube and https://github.com/ramhiser/. Kafka-kubernetes two projects, but these two projects are single-node Kafka, I'm trying to expand the single-node Kafka to a multi-node Kafka cluster.One, single node KafkaTo build a Kafka cluster, start with a single node.1. Create Zookeeper Services Zookeeper-svc.yaml and Zookeeper-deployment.yaml, created with Kubectl
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
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 starts with my public number clouddeveloper, and you are welcome to join me in learning cloud computing.
From the previous article we know that Kubernetes born in the borg,borg of Google in the beginning of the birth of Kubernetes has been in the internal battle of Google more than 10 years, and does not say its history has a long tradition, it is from Google that talented engineers hand, K
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
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.