In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to deploy a secure Kubernetes cluster on Ubuntu 16.04, CentOS 7 and HypriotOS v1.0.1 operating systems, many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can get something.
The following section shows how to deploy a secure Kubernetes cluster on Ubuntu 16.04, CentOS 7, and HypriotOS v1.0.1 + operating systems. The installation described below is done through the kubeadmin tool, which was added to the Kubernetes distribution at the time of Kubernetes1.4.
Overview
You can use kubeadmin to install Kubernetes on local virtual machines, physical machines, or other IaaS resources of cloud service providers. You can also easily integrate kubeadmin into automation tools such as Terraform, Chef, Puppet, and so on. For all the command line information about kubeadmin, you can refer to http://kubernetes.io/docs/admin/kubeadm/.
In Kubernetes1.5, the Kubeadmin tool is still an alpha version, which means you can use it in the R & D test environment. It is particularly important to note that kubeadmin does not fully support the automatic configuration of cloud service provider IaaS resources. If you deploy on a cloud service provider IaaS resource, you need to refer to the cloud service provider's technical documentation.
Kubeadm is designed for use in large-scale cluster deployment environments, but it can also be easily installed manually. If you deploy Kubernetes,kubeadm on your own IaaS infrastructure or on an existing automated system, it is a good choice.
Deployment prerequisites
There are multiple virtual machines or physical machines, and the operating system is Ubuntu 16.04 +, CentOS 7 or HypriotOS v1.0.1 +.
At least 1 GB of memory on each host.
The network between all hosts is reachable.
Purpose of deployment
Install a secure Kubernetes cluster on the specified host.
Install a POD network on the cluster to allow POD to communicate with each other.
Deploy a sample microservice application on the Kubernetes cluster.
Deployment steps
Install kubelet and kubeadm on the host
Install the following software packages on the host:
Docker: it is recommended that you install v1.11.2, v1.10.3 and v1.12.1.
Kubelet: install v1.5
Kubectl: install v1.5
Kubeadm: install v1.5
It is important to note that if kubeadm is already installed on the host, it needs to be updated to the v1.5 version of Kubernetes.
Configure the hosts in the following order:
SSH logs in to the host and switches to root.
If the host is Ubuntu or HypriotOS, run the command:
Curl-s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add-cat
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.