08 2021 档案

摘要:使用kubeadm安装k8s,附带使用外部tls加密的etcd集群连接配置 使用kubeadm安装k8s,附带使用外部tls加密的etcd集群连接配置 前置工作 前置工作需要在所有的节点上执行 配置要求 CPU 推荐两核或者更多 内存 不得小于 2G MAC地址 保证唯一 交换分区 禁用 节点之间保 阅读全文
posted @ 2021-08-17 16:26 shiersan 阅读(385) 评论(0) 推荐(0)
摘要:在 Windows 中如果不指定编译器,默认使用的是 Windows 的 SDK, 如下样式, 这种不生成 Makefile 无法使用 make 进行编译 E:\project_code\cpp\demo\build>cmake .. -- Building for: Visual Studio 1 阅读全文
posted @ 2021-08-10 16:21 shiersan 阅读(853) 评论(0) 推荐(0)
摘要:makefile中不允许使用空格必须使用tab进行缩进 打印变量 $(info 目标目录: $(dist_path)) 获取当前项目路径 current_makefile_path := $(abspath $(lastword $(MAKEFILE_LIST))) root_path = $(di 阅读全文
posted @ 2021-08-09 13:52 shiersan 阅读(144) 评论(0) 推荐(0)