搭建 K8s 1.24 版本的源码调试环境 线偶 发布于 2022-06-28 收录于 随笔1. 方法1,在本机的 IDE 来调试源码 如果你是 linux 系统,可以在 linux 中搭建一个 kubernetes 单机的集群,在此系统中安装 IDE(Goland) 来调试.
在 Windows 上调试 Redis 线偶 发布于 2022-06-01 收录于 随笔1. install wsl open Microsoft Store, then search ubuntu and click to install it.
使用 Ubuntu 来安装 Kubernetes 1.24 版本 线偶 发布于 2022-04-01 收录于 随笔1. 机器初始化设置 hostname 设置 1 2 hostnamectl ## 查看当前的hostname hostnamectl set-hostname node1 ## 设置主机名为node1/etc/hosts 文件 和 DNS 配置 1 2 3 4 5 6 7 8 9 10 # k8s master 192.168.130.131 node1 # 更改dns配置 vim /etc/systemd/resolved.conf # 更改下面内容 [Resolve] DNS=8.8.8.8 8.8.4.4 # 重启dns systemctl restart systemd-resolved.servicerefer:
在 Docker 上安装 Nfs 线偶 发布于 2022-03-01 收录于 随笔install nfs in docker 1. create share directory used by nfs 1 mkdir -p /home/ooooo/shared/nfs2. create exports.txt used by nfs This the exports.txt mainly used to mount dir (path in the container ) and permission.