Hands with you one-click deployment to Linux Kubernetes + KubeSphere

This article describes one of the fastest installation Kubernetes and experience KubeSphere core function of the way, all-in-one mode can be a key installation Kubernetes v1.15.5 and KubeSphere to a Linux machine.

prompt:

  • KubeSphere 2.1 is supported 自定义安装各个功能组件, the user can configure the installation component selects the desired machine and business needs , default open only 最小化安装, with reference to the installation instructions begin the installation of optional components.
  • If you use the cloud platform online installation, can be speed up installation by raising bandwidth way.

Prerequisites

We recommend turning off the network firewall.

Step One: Preparing the Host

Refer to the following specifications Prepare a start node host node to meet the requirements of the all-in-oneinstallation mode, the software version in order to prevent conflict, we recommended to choose a clean machine .

Description:

  • If you use ubuntu 16.04 is recommended to use the latest version 16.04.5;
  • The use ubuntu 18.04, root user is required;
  • If the command sudo Debian system is not installed, you need to use the root user before installation to perform apt update && apt install sudothe installation command sudo command after installation.
operating system The minimum placement
CentOS 7.5 (64 bit) CPU: 2 core, RAM: 4 G, system disk: 100 G
Ubuntu 16.04/18.04 LTS (64 bit) CPU: 2 core, RAM: 4 G, system disk: 100 G
Red Hat Enterprise Linux Server 7.4 (64 bit) CPU: 2 core, RAM: 4 G, system disk: 100 G
Debian Stretch 9.5 (64 bit) CPU: 2 core, RAM: 4 G, system disk: 100 G

Step 2: Prepare the installation package

Download KubeSphere 2.1.0the installation package to be installed the machine, enter the installation directory.

$ curl -L https://kubesphere.io/download/stable/v2.1.0 > installer.tar.gz \
&& tar -zxf installer.tar.gz && cd kubesphere-all-v2.1.0/scripts

Step 3: Install KubeSphere

KubeSphere installation process will be automated environmental monitoring and file, install the platform dependent software, Kubernetes and etcd automated installation, configuration, and storage of automation, after a successful installation can click on to view the version installed by the upper right corner KubeSphere console.

Description:

  • Normally you do not need to modify any configuration can be installed directly.
  • Network plug-in by default calico, if you need to be in a custom installation parameters, such as network, storage, load balancer plug-ins, such as an optional component configuration conf/common.yamlspecified or modify files, the reference cluster components configuration instructions .
  • The default storage with OpenEBS based Local Volume provides persistent storage service, OpenEBS support dynamic application the PV , easy initial installation but is not ready for deployment test at the storage server scenario , a formal environment recommended configuration persistent storage .
  • Since the Cluster Kubernetes cluster IP subnet default 10.233.0.0/18, Pod the subnet default 10.233.64.0/18, thus the installation KubeSphere IP address range should not be more than two network node duplication, if the conflict can be encountered in the configuration address range file conf/vars.yamlmodification kube_service_addressesor kube_pods_subnetparameters.

Reference to the following step starts all-in-one installation:

Explanation: The installation time with the network conditions and bandwidth, machine configuration, factors number of other mounting about node, has tested all-in-one pattern, in good network conditions to a list of specifications minimum configuration is about 20 minutes installation.

1. recommended rootusers install, execute install.shscript:

$ ./install.sh

2. The input digital 1select i.e. first all-in-one mode to start the installation:

################################################
         KubeSphere Installer Menu
################################################
*   1) All-in-one
*   2) Multi-node
*   3) Quit
################################################
https://kubesphere.io/               2019-11-12
################################################
Please input an option: 1

3. Verify KubeSphere single-node installation was successful:

(1) to be performed after the installation script, you see the following when "Successful"the interface, then KubeSphere successful installation.

successsful!
#####################################################
###              Welcome to KubeSphere!           ###
#####################################################

Console: http://192.168.0.8:30880
Account: admin
Password: P@88w0rd

NOTE:Please modify the default password after login.
#####################################################

Tip: If you need to see again above the interface information, can be performed in the installation package directory cat kubesphere/kubesphere_runningcommand.

(2) After successful installation, a browser to access the corresponding URL, such as http://{$IP}:30880, you can enter KubeSphere login screen, you can use the default user name and password to log KubeSphere console experience, please change the default password immediately after login . See the quick start to help you get started quickly KubeSphere.

Interface Quick Facts

View the latest v2.1 video fast browsing , you can also visit Github .

KubeSphere (https://github.com/kubesphere/kubesphere) is an open source application-centric container platform, deployed on any support infrastructure and provides easy to use UI, greatly reduce the daily development, testing , the complexity of the operation and maintenance to address Kubernetes inherent in the storage, networking, security and ease of use pain points to help businesses easily deal with the agile automated monitoring operation and maintenance, end to end application delivery, micro-management services, multi-tenant management, multi-cluster management, service and network management, mirroring warehouse, AI platform edge computing business scenarios.

Guess you like

Origin www.cnblogs.com/kubesphere/p/11939357.html
Recommended