一、环境准备 1. 准备三台物理机器 他们的参数如下: 2. ubuntu server 20.4.3安装准备 下载ubuntu server 20.4.3的iso,并做好U盘启动盘 WIFI环境,准备好用户名和密码 3. 安装ubuntu server 20.4.3 在三台机器上安装ubuntu server 20.4.3系统,注意事项 设置WIFI接入网络 自动安装SshServer,不安装其他的server ...
devuser@server_01:~$ sudo apt update devuser@server_01:~$ sudo apt install qemu qemu-kvm libvirt-bin bridge-utils virt-manager 1. 2. 启动libvirtd服务,并设置开机自动启动 devuser@server_01:~$ sudo systemctl start libvirtd.service devuser@server_01:~$ sudo systemctl enable libvirtd.service...
允许iptables 检查桥接流量 cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf br_netfilter EOF cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 EOF sudo sysctl --system Ubuntu 18.04 下关闭 swap 的操作 关闭...
1. 将 kube-apiserver, kube-controller-manager, kube-scheduler,kubectl 拷贝到/usr/bin目录下 2. 安装etcd sudo apt-get install etcd 版本2.2.5 修改/usr/lib/systemd/system/etcd.service文件,配置etcd单机版模式 [Unit] Description=etcd server Documentation=https://github.com/coreos/etcdDocumentation=man...
Server: Engine: Version: 24.0.5 API version: 1.43 (minimum version 1.12) Go version: go1.20.3 Git commit: 24.0.5-0ubuntu1~20.04.1 Built: Mon Aug 21 19:50:14 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.2 ...
# sudo apt install-y linux-modules-extra-5.4.0-52-generic linux-headers-5.4.0-52#(2)关闭自启和停止不用的软件(Ubuntu server20.04最小安装不存在)# sudo systemctl stop postfix # sudo systemctl disable postfix Step 3.各Master与工作节点的机器系统时间的同步与时区设置 ...
1、创建3个虚拟机,安装Docker 参考链接:ubuntu22.04安装Docker 2、添加hosts规则 sudo vim /etc/...
2.Ubuntu操作(默认在root下操作,所有节点) 设置hostname 临时 hostname k8s-master 永久: vi /etc/hostname reboot 设置时区(date查看时间) tzselectAsia--China--Beijing Time cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 防火墙 ufw status查看防火墙状态inactive:关闭,active:开启 ...
Recently /u/Elezium asked the following question on Reddit: Tools to deploy k8s on-premise on top of Ubuntu. This is a question that a lot of people have answered using a combination of MAAS/VMWare/OpenStack for on premise multi-node Kubernetes. If you’