type
status
date
slug
summary
tags
category
icon
password
开始准备
安装ubuntu-20.04.6-live-server-amd64步骤
- Willkommen! Bienvenue! Welcome! Welkom![
English]
- Installer update available[
Continue without updating]
- Keyboard configuration[
Done]
- Network connections[
Done]
- Configure proxy[
Done]
- Configure Ubuntu archive mirror
- x86 Mirror address: http://mirror.nju.edu.cn/ubuntu / [
Done] - amd64 Mirror address: http://mirror.nju.edu.cn/ubuntu-ports / [
Done]
- Guided storage configuration[
Done]
- Storage configuration[
Done]
- Profile setup
- Your name:
vagrant - Your server 's name:
k8s-master、k8s-worker1、k8s-worker2 - Pick a username:
vagrant - Choose a password:
vagrant - Confirm your password:
vagrant/ [Done]
- SSH Setup
[
X] Install OpenSSH server/ [ Done ]- Featured Server Snaps[
Done]
- Install complete!
- [
Cancel update and reboot] - [
Reboot Now]
- 快照并导出ovf
系统基础设置
校验product_uuid 唯一
查看防火墙状态、关闭并禁止防火墙开机启动
关闭并禁用swap分区、确认swap分区
设置主机名
设置host解析
设置时区、时间同步服务
允许 iptables 检查桥接流量设置
安装容器运行时
安装 kubeadm、kubelet 和 kubectl
#下载用于 Kubernetes 软件包仓库的公共签名密钥。
#如果
/etc/apt/keyrings 目录不存在,则应在 curl 命令之前创建它。kubeadm创建集群
初始化控制节点(只在master节点执行)
根据输出结果执行以下命令(只在master节点执行)
安装Pod网络插件Flannel(只在master节点执行)
安装集群资源监控服务kube-metrics-server(只在master节点执行)
节点加入集群(k8s-worker1和k8s-worker2节点执行)
查看集群节点和Pod状态
故障处理
ImagePullBackOff
参考文章
- Author:always1ov
- URL:https://always1ov.com/article/%E6%88%90%E5%8A%9F%E6%90%AD%E5%BB%BACKA%E7%8E%AF%E5%A2%83%E8%BF%87%E7%A8%8B
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts
Waiting error pulling image configuration: download failed

A stack with the normalized name already exists

初次使用nginx-ui实现反向代理时遇到的问题

Zabbix agent on Zabbix server is unreachable for x minutes

too many requests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading:

failed to deploy a stack: service "zabbix-server-mysql" depends on undefined service zabbix-mysql: invalid compose project

