Environment Description
Docker warehouse not certified Address: 192.168.10.200:5000User name: adminPassword: adminEmail: [Email protected]
Modify the Docker configuration to access the Docker private warehouse1.docker Source Version$cat /etc/sysconfig/docker# /etc/sysconfig/docker# Modify these options if you want to change the way the docker daemon runsOPTIONS=‘--selinux-enabled --log-driver=journald --signature-verification=false --insecure-registry=192.168.10.200:5000‘2.
172.17.1.1PING 172.17.1.1 (172.17.1.1) 56(84) bytes of data.64 bytes from 172.17.1.1: icmp_seq=1 ttl=64 time=2.49 ms64 bytes from 172.17.1.1: icmp_seq=2 ttl=64 time=0.512 ms^C--- 172.17.1.1 ping statistics ---2 packets transmitted, 2 received, 0% packet loss, time 1002msrtt min/avg/max/mdev = 0.512/1.505/2.498/0.993 ms
Now we have established a tunnel between two minion and can work correctly. The following describes how to install Kubernetes APIServ
-consuming, but it is very useful for corporate culture and software. Scaling is no longer a problem, and infrastructure is just a matter of code and software. Embrace kubernetes, but be prepared to face the challenge.2Kubernetes can be deployed in either environmentAs you begin cloud-native development and deployment, take a look at Kubernetes's role and how to get more out of the orchestration.Containers provide the ability to detach an application
./kube-up.shThe following are installed successfully:Visit page:The various pits encountered:1, restart the master node, how to recover?This problem took me at least 3 hours to get it done, because I was ready to rerun the third step of the previous step, which was to execute the kube-up.sh again, but I found that every time the script downloaded Etcd, Flanneld, and kubernetes packages from GitHub, This bag is 1.4G in size, it is conceivable how much
Detailed guide for manual installation and deployment of Kubernetes on Ubuntu, ubuntukubernetes
Background
Two Ubuntu16.04 servers: 192.168.56.160 and 192.168.56.161.
Kubernetes version: 1.5.5
Docker version: 1.12.6
Etcd version: 2.2.1
Flannel version: 0.5.6
Among them, 160 servers are both master nodes of Kubernetes and node nodes. 161 servers are only node node
preinstalled to a custom Docker mirror. Dependencies can be added to the local URI local://and/by reference to the Classpath, or set the environment variable in dockerfiles, setting the Spark_extra_classpath. The local://mode requires a custom-dependent Docker mirroring. Note that the use of the local file system from the submitting client is not currently supported.
(6) Use of remote dependencies.
When applications rely on HDFS or HTTP servers hosted in remote locations, driver and executor p
installed by Yum. The latest version of the current Yum installation is 3.2.11.
[Root@localhost ~]# Yum Install Etcd
2.1 Download and install
Download the latest version of the address, just download the server Binaries. This is also included in this server binaries because of the components that are required for node nodes. After downloading, unzip and copy th
the trend of the community, for the next version of the parameter configuration policy: 1. Turn off unsecured ports, all traffic over secure ports, 2. Dynamically create bootstrpping Auth token, bootstrpping TLS Cert, auto approve certificate, certificate rotation, etc. 3. Configure the Kublet, kube-proxy parameters in the configuration file, rather than the command line, to prepare for subsequent dynamic modification of the component configuration; Enjoying,happy hacking! GitHub address: [Foll
can be said to be a big innovation, providing a model of a combination of containers.2.1 Basic Operations
Create
Kubectl create-f Xxx.yaml
Inquire
Kubectl Get pod YourpodnameKubectl describe pod yourpodname
Delete
Kubectl Delete pod Yourpodname
Update
Kubectl Replace/path/to/yournewyaml.yaml
2.2 Pods and containersIn Docker, the container is the smallest processing unit, adding and deleting the object is
The Kubernetes network model is made up of four parts from inside to outside:
The network where the pod interior container resides
The network where the pod resides
Network for communication between pod and service
Network of communication between outside and service
It is recommended that you understand the network model of Docker before reading this article. Refer to the author's first two articles [
Kubernetes Basic Primer-Installation Deployment Configuration ExampleDeploying Kubernetes SkydnsKubernetes can provide DNS internal domain name resolution services for pods.Its main function is to provide pods with the ability to resolve the IP directly through the service's name to the corresponding service!1. First add the options in the Kubelet process for each node:kubelet_args= "--cluster_dns=10.254.0.
to be modified, Kubelet will make the appropriate modifications, such as deleting a container in the pod and removing the container from the Docker client. If you find a pod that deletes this node, delete the pod and remove the container from the pod through the Docker client.Kubelet read the information that is heard by the monitor, if you are creating and modifying the pod task, do the following:(1) Create a data directory for the pod.(2) Read the pod manifest from API server.(3) Mount the ex
:10.180.64.9 As for the network can use flannel, or openvswitch, this information online a lot, can Google or Baidu. 2. Deploy related ComponentsKubernetes installation is divided into 3 parts: ETCD cluster, master node, and minions.In order to facilitate the use of 4 cloud host as an example to build a kubernetes cluster, the cloud host machine allocation is as follows:
Ip
Role
10.180.64.6
Once again, the architecture is clear: three virtual machine CentOS 7.4 systems, Docker 17, IP 10.10.90.105 to 107, 105-bit master, and the next master-related components installed on this machine.The ETCD cluster is 3 units, which are reused for each of the 3 virtual machines.As the core of k8s, the master node consists of three components, namely:Three components:kube-apiserverkube-schedulerkube-controller-managerThis three components are closely linked1. Create a TLS certificateThese certific
What is 1.1 kubernetes?First, it is a new, container-based, distributed architecture leading solution. is an open source version of Google's Borg (large-scale cluster management system).Second, if the system design follows the Kubernetes design idea, then the traditional system architecture and business does not have much to do with the underlying code or function modules (such as load balancing, service se
1. Compiling environment
Operating system: Ubuntu 16.04 LTS AMD64
git:2.7.4
docker:1.12.6
2. Compile Steps
2.1 Clone Source Code
# git clone https://github.com/kubernetes/kubernetes.git
# git checkout release-1.7
2.2 To modify the source code is to solve the Gcr.io domestic problems, has been tested, even if ready to gcr.io related mirrors, such as not modify the source code will still be due to network problems caused the compilation failed
edit
Notes on basic concepts of Kubernetes
Kubernetes (K8s) is an open-source system for automatically deploying, scaling, and managing containerized applications. It is an "open-source version" of Google's internal tool Borg ".
Kubernetes is currently recognized as the most advanced container cluster management tool. After the release of
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.