As we all know, kubernetes (k8s) is used for the management of Docker cluster, the recent period of time has been tossing the environment, here to write a blog, to help like me, small white, avoid detours.
First, the environment
Cluster environment
Role
IP Address
Version number
Docker version
System version
Master
192.63.63.1/24
v1.9.1
17.12.0-ce
Centos7.1
Node1
192.63.63.10/24
Wen/Sky Cloud software Cloud Platform development engineer Zhang Wei
Zhang Wei is mainly responsible for the cloud software Skyform Cloud Platform design and development work. Familiar with a variety of open source IaaS platform, such as Cloudstack,openstack, familiar with various resource management and scheduling framework, such as kubernetes,mesos,yarn,borg.
After six months of continuous optimization, Kuberne
Kubernetes is a docker-based, open-source container cluster management system initiated and maintained by the Google team that not only supports common cloud platforms, but also supports internal data centers.Built on top of Docker, Kubernetes can build a container scheduling service that allows users to manage cloud container clusters through kubernetes clusters
Before installation, the three CENTOS7 servers are banned from the firewall, and the mirror that needs to be started 2 node machines must be kept consistent, otherwise the pod will not start1 has three CENTOS7 servers: 10.1.1.170 (Master), 10.1.1.169 node1,10.1.1.171 Node22 Install NTP service on three machines to ensure all time can be synchronized#yum-y Install NTP#systemctl Start NTPD#systemctl Enable NTPD3 Installing Kubernetes Master on 10.1.1.17
Note: The following operations are based on the CENTOS7 system.Installing AnsibleAnsilbe can be installed via Yum or Pip, and because Kubernetes-ansible uses the password, it needs to be installed Sshpass:pip install ansiblewget http://sourceforge.net/projects/sshpass/files/latest/downloadtar zxvf downloadcd sshpass-1.05./configure make make installConfigure Kubernetes-ansible# git clone https://github.co
The Cluster Lifecycle layer adds self-hosted functionality to Kubeadm, which means that Kubernetes can be run on Kubernetes, which is bootstrap. Bootstrap is considered to be a system of "elegance" of a embodiment, in fact, Kubernetes in the early attempt to bootstrap, now Kubeadm directly add this feature, is undoubtedly a step closer. In addition, the KUBEADM c
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/flanne
First, prerequisites1, first you will have ready-made kubernetes cluster, if you have nothing now, please refer to:http://zlyang.blog.51cto.com/1196234/19510102, the proposed use ETCD cluster, the construction process please refer to:http://zlyang.blog.51cto.com/1196234/1951164Ii. Deployment of Kubernetes-dashboard[All machines: Master, Node1, Node2]1, install flannel (Flannel for Management containers Netw
This is a creation in
Article, where the information may have evolved or changed.
As soon as I arrived this morning, I received a "complaint" from my colleague: a node in the Kubernetes cluster on the private cloud seemed to be out of work because the application that was specifically deployed on that node was hung up and was not recovered for a long time. This company private cloud Kubernetes cluster is th
Kubernetes is designed to solve the difficulties of managing a large-scale containerized environment. However, this does not mean that kubernetes can be extended in any environment. There are ways to maximize the scalability of kubernetes, and there are some important things and limitations to be aware of when extending kuber
This is a creation in
Article, where the information may have evolved or changed.
This period of time in the project group want to introduce Kubernetes, as a second-generation container scheduling engine, so recently in the system learning kubernetes. Organized a number of learning notes, experience, put on the blog, one to record their own learning through, and secondly see whether the need to help student
Google Kubernetes Engine upgrade: regional cluster, new control panel, and security recommendations
Google has updated its Kubernetes Engine (GKE) service several times. You can now use GKE on a large scale. In addition to the kubectl command for cluster control and management, it also supports cluster management through the Cloud Console of a Web-side control panel. In addition, GKE can use Google best pra
Directory
1, Jenkins CI/CD background 2, environment, software preparation 3, deployment Jenkins Server to Kubernetes 4, Jenkins configuration kubernetes Plugin 5, testing and Validation 5.1, pipeline type support 5 .2, Container Group type Support 5.3, non-Pipeline type support 5.4, configuring custom Jenkins-slave Mirroring
1, Jenkins ci/cd background Introduction
Continuous construction and release is an
Run the MongoDB microservice on Docker and KubernetesGuideDocker is an open-source application container engine that allows developers to package their applications and dependencies to a portable container and then publish them to any popular Linux machine, you can also achieve virtualization. Containers fully use the sandbox mechanism and do not have any interfaces between them.
This article describes how to use Docker and Kubernetes to build a set
allow mirroring to be pulled from the registry.[[email protected] ~]# vim/etc/sysconfig/docker#/etc/sysconfig/docker# Modify These options if you want to change the WA Y the Docker daemon runsoptions= '--selinux-enabled--log-driver=journald--signature-verification=false ' If [-Z ' ${ Docker_cert_path} "]; Then docker_cert_path=/etc/dockerfioptions= '--insecure-registry registry:5000 'Set up boot and turn on services[[email protected] ~]# chkconfig Docker on[[email protected] ~]# service Dock
Kubernetes Cluster Deployment DNS ServiceIn Kubernetes each service will be assigned a virtual IP, each service under normal circumstances will not change for a long time, this is relative to the pod of the indefinite IP, the use of the cluster app is relatively stable.But the service's information injected into the pod is currently using an environment variable, and relies heavily on pod (RC) and service c
Download the latest version:Https://github.com/kubernetes/kubernetes/releasesDownload kubernetes.tar.gzAfter decompression to the cluster directoryExecutive get-kube-binaries.shExecute directory to control, this script will automatically download the client and server-related files, will be automatically placed in the Kubernetes directoryThe corresponding file ca
Directory
Kubernetes Introduction
Kubernetes Main Concepts:
Kubernetes Overall structure
Reference
Kubernetes IntroductionKubernetes is a Google Open source container orchestration system for automating deployment, scaling, and management of containerized applications.
Run Anywhere: S
First, Kubernetes common resourcesThe following is an object in Kubernetes, which can be configured as an API type in a Yaml file.
Category
Name
Workload-based resource objects
Pod replicaset replicationcontroller deployments statefulsets daemonset Job cronjob
Service Discovery and load balancing
Service Ingress
Configuration and St
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.