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
Pictured in San Francisco Pier 7:coit Tower
The last time we introduced the Kubernetes deployment Fabric (clickable) of the overall architecture and network, storage planning, this issue is serialized second, detailing the deployment tool design details, including template customization and configuration settings. A PDF version of this method is attached.
3. De
Reference: http://kubernetes.kansea.com/docs/hellonode/Now you should be able to access this via this address service : Http://EXTERNAL_IP: 8080 or runcurl http://EXTERNAL_IP:8080If you are accessing a new Web service through a browser or CURL, you should see some running logs:kubectl logs One of the great features of Kubernetes is that he can easily expand your application. Suppose you suddenly need to add your app; you just need to tell
OneInstalling DockerYum install-y dockersystemctl enable Docker Systemctl start DockerIi.Installing kubeadm, kubelet and KubectlCat 1. Turn off SELinux2.Some users on Rhel/centos 7 has reported issues with traffic being routed incorrectly due to Iptables being Bypassed. You should ensurenet.bridge.bridge-nf-call-iptablesis set to 1 in yoursysctlconfig, e.g.Cat Reference https://kubernetes.io/docs/setup/independent/install-kubeadm/CentOS7 Deployment
also build a private warehouse, upload the pod-infrastructure:latest image to a private repository, and modify the address of this profile.
Start the service:To view ports:
Repeat the above operation on the NODE02 host.
Check the node status on master:Five Building a private warehouse:Kubernetes Management Container If this is the first operation, there may be some waiting time, because the first download of images takes a while. If there is no Docker registry locally, make sure tha
, which is the concept of a higher layer. Unless you need to customize the upgrade feature or do not need to upgrade the pod at all, it is recommended that you use deployment instead of using replica Set directly.Deployment configuration fileDeployment configuration is basically the same as RC, detailed configuration can refer to the official document directly below a configuration example DEPLOYMENT.YML content as follows:apiVersion: extensions/v1bet
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.