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

The process of building kubernates cluster

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly explains "the process of building kubernates cluster". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the process of building kubernates cluster".

If you choose Ubuntu, it is recommended that you choose version 16.04.6. Because all the major domestic images have k8s for this version, and it is widely used.

Installation environment: 3 Ubuntu 16.04s

Step 1: Install & Enable Docker on both the nodes

# Install Docker CE

# # Set up the repository:

# Install packages to allow apt to use a repository over HTTPS

Apt-get update & & apt-get install apt-transport-https ca-certificates curl software-properties-common

# Add Docker's official GPG key

Curl-fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add-

# Add Docker apt repository.

Add-apt-repository\

"deb [arch=amd64] https://download.docker.com/linux/ubuntu\

$(lsb_release-cs)\

Stable "

# # Install Docker CE.

Apt-get update & & apt-get install docker-ce = 18. 06.2~ce~3-0~ubuntu

# Setup daemon.

Cat > / etc/docker/daemon.json

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