Brief introductionKubernetes is an open source, containerized application for managing multiple hosts on a cloud platform, with the goal of making deploying containerized applications simple and efficient, Kuernetes provides a mechanism for application deployment, planning, updating, and maintenance.In Kubernetes, all containers are run in pods, and one pod can host one or more related containers. Each pod system created by the user automatically choo
1. Reference documentationhttp://traefik.cn/2. Simple way to accessReference documentshttps://tonybai.com/2018/06/25/the-kubernetes-ingress-practice-for-https-service/Previous: Traefik Basic deployment record, describes the simplest HTTP access Traefik, the access process reference is shown below:Client---(via HTTP)---> Traefik----(via HTTP)----;? ServicesNow to practice is more secure and more complex HTTPS access Traefik, there are two kinds of acce
The previous blog has introduced the deployment of a simple kubernetes cluster, but the cluster environment does not have a reasonable network configuration. In the actual production to realize the communication of the components in the cluster, it is necessary to use the network plug-in provided by the third party.Flannel binary Installation1. Download Fannel componentswget https://github.com/coreos/flannel/relea
k8s Basic Concepts1. NodeNode as a working node in the cluster, running a real application, the smallest running unit kubernetes managed on node is the pod. Node runs Kubernetes's kubelet, Kube-proxy service processes, which are responsible for pod creation, startup, monitoring, restart, destruction, and load balancing for software patterns. The information that node contains:
node address: The IP address of the host, or node ID.
node op
First, introduce
This case is based on Kubernetes and Docker, which includes1, Web front-end2, Redis Master3, Redis SlaveWhere the Web front-end interacts with the JavaScript Redis API and Redis Master
Kubernetes System Architecture
Second, the configuration
0. PrerequisitesKubernetes Cluster
1, start Redis Master use replication controller to ensure that only one pod is running (when a node is down,
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
, 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
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
Haven't written a blog for a long time, the company engaged in a period of 997 is too brutal. 997 End also fast 1 weeks, finally slow down a bit, first two easy article, and then a little work, write a Kubernetes series. This article mainly introduces the kubernetes related commands, for the initial contact Kubernetes reference.Kubernetes through the kube-apiserv
For those who are interested in this offline event, please click here to sign up for a free ticket.In March this year, Docker had just finished its 5 birthday, and for five years, Docker had gradually matured in technology and practice, and embraced kubernetes at the end of last year.May 19, NetEase Cloud will co-host Docker Meetup, invite industry Docker deep practice enterprise, share in container, micro-service and
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
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
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.