Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation and deployment of kubeoperator

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

FIT2CLOUD Feizhiyun officially released the first container project-KubeOperator in November 2019.

KubeOperator is an open source project that plans, deploys and operates production-level Kubernetes clusters on VMware, Openstack or physical machines through visual Web UI in an offline network environment. KubeOperator is another brand-new work of the JumpServer star open source team in the Kubernetes field.

The product architecture of KubeOperator is shown below:

Technical advantages of KubeOperator

Create on demand: call the cloud platform API to quickly create and deploy Kubernetes clusters (i.e. Kubernetes as a Service)

Scale on demand: quickly scale Kubernetes clusters to optimize the efficiency of resource use

On-demand patching: quickly upgrade and patch Kubernetes clusters and synchronize with the latest version of the community to ensure security

Self-repair: ensure cluster availability by rebuilding failed nodes

Offline deployment: continuously update offline packages including Kubernetes and common components

Multi-AZ support: ensure high availability by distributing Kuernetes cluster Master nodes in different failure domains

Deployment mode

One master multi-node type: K8s cluster consists of one master node and one or more worker nodes

2) Multi-master and multi-node type: K8S set consists of three master nodes and three or more worker nodes

Deployment mode

KubeOperator supports two deployment modes, one is manual deployment and the other is automatic deployment.

Manual mode: users need to prepare their own physical or virtual machines and NFS persistent storage.

Automatic mode: users only need to bind the account information of the cloud platform (such as VMware), and KubeOperator will automatically create hosts to automate deployment according to the pre-defined deployment plan.

Kubernetes offline installation package

KubeOperator provides a complete offline Kubernetes installation package. Each installation package is built into a separate container image for KubeOperator to use. The offline installation package includes the following three types:

Kubenetes core components: including Kubenetes, Docker and etcd

Kubenetes accessory components (mirrors): including networking, storage, monitoring, Dashboard and common tools

Operating system RPM package: other prerequisite RPM except CentOS 7.6 Minimal. The installation package container runs as a standard Yum source server.

Resource download address: download.csdn.net/download/xi …

Take the Kubernetes offline package v2.3.25 as an example, which includes the following:

Kubenetes core components

Classification component name version

Core kubernetes v2.3.25

Core etcd 3.3.10

Core docker docker-ce-18.09.9

Installation environment preparation

1 Environmental requirements

Minimum hardware configuration: 2 CPU, 4 gigabytes of memory, 50 gigabytes of disk (recommended size: 4 cores, 8 gigabytes of memory, 100 gigabytes of disk)

Operating system requirements: CentOS 7.6 / 7.7 Minimal (CentOS 8 is not supported)

Note: CentOS 7.6 Minimal ISO download link:

Link: pan.baidu.com/s/1potf65zM...

Extraction code: 4igp

2 download offline package

Please download the full offline package of KubeOperator yourself and copy it to the / tmp directory of the target machine.

Download link:

Link: pan.baidu.com/s/14E0tErYS...

Extraction code: mnun

Install KubeOperator

$cd / tmp

Decompress the offline packet

$tar zxvf kubeOperator-v2.3.25-release.tar.gz

View firewall status

$firewall-cmd-state

Turn off the firewall

$systemctl stop firewalld.service

Enter the project directory

$cd kubeOperator-v2.3.25-release

Run the installation script

$. / kubeopsctl.sh install

View KubeOperator status

$systemctl status kubeops

Visit KubeOperator

KubeOperator listens on HTTP port 80 by default. After installation, use your browser to log in to the KubeOperator Management console.

Note: the default user name and password of KubeOperator is: admin / kubeoperator@admin123 in order to ensure the security of the system, please click "change password" in the upper right corner of the console to reset the password after logging in.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report