k8s操作手册 2.3点分配一个24位的子 网, # cat /run/flannel/subnet.env #查看当前结点注册的pod子网信息 ⑦部署calico网络插件(与flannel二选一) 官 方 指 导 : h�ps://docs.�gera.io/calico/latest/ge�ng- started/kubernetes/quickstart # 53:6443 check weight 1 inter 2000 rise 2 fall 2 #如果vip设备就在这3台master结点上,则Haproxy监听的端口不能为6443,否则 与后端api监听的端口冲突了,可改为其他端口号 #本例使用单独的一台服务器来配置vip及反向代理,vip使用keepalived软件来生 成,配置省略。 ★先安装master1 ★使用命令行方式初始化集群 cof- lee.com:5443/k8s" \ #指定镜像源为集群可访问的源地址 --control-plane- endpoint=10.99.1.54:6443 \ #指定控制面板vip与端口号 --ignore-preflight-errors=Swap \ #忽略swap未关闭而导致的检查错误 --upload-certs #将控制平面证书上传到kubeadm-certs Secret;并在后续添加节点时自动分发证0 码力 | 126 页 | 4.33 MB | 1 年前3
python3学习手册( 1+2j ) (python3无long长整型) True=1, False=0 string 有序strx='xxxx' stry="xxx" 不区别单引号与双引号, 单个字符也是string list 有序 列表,数组 tuple 有序 元组 set 无序 不重复(自动删除重复项) 集合 py3新 判断a和b是否引用自同一个对象,是则返回 True is not # a is b 同 id(a) == id(b) # id(x)用于获取对象x的内存地址 ⑥位运算符 & 与运算 ^ 异或 | 或 << 左位移 ~ 取反 >> 右位移 ★运算符优先级: 指数** > 位运算 > 乘除 > 加减 三维类推: matrix = [[[0 for _ in range(3)] for _ in range(4)] for _ in range(2)] print(matrix) #查看数组行数与列数 arr = [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]] print(len(arr)) # 行数 print(len(arr[0]))0 码力 | 213 页 | 3.53 MB | 1 年前3
git 操作手册推送时只会推送当前所在的分支到远程同名分支,如果远程分支不 存在相应的同名分支,则创建该分支 upstream 推送当前分支到它的upstream分支上,这个模式只适用于推送到与 拉取数据相同的仓库(比如central workflow) simple 在中央仓库工作流程模式下,只能推送到与本地分支名一致的 upstream分支中,如果推送的远程仓库和拉取数据的远程仓库不一 致,那么该模式会像current模式一样进行操作。因为该选项对于新 ★git远程协作开发 远程协作的基本流程: ① 管理员在创建一个空的远程仓库(比如在gitlab上创建一个空的项目) ② 管理员创建一个待推送的本地仓库 ③ 管理员关联本地仓库与远程仓库 ④ 管理员在本地仓库中编辑代码,提交代码 ⑤ 管理员推送本地仓库代码到远程仓库 ⑥ 管理员邀请协作成员 ⑦ 成员克隆远程仓库 ⑧ 成员做出修改 ⑨ 成员推送自己的修改 ⑩ 管理员拉取成员的修改 rmtRepo h�ps://gitlab.cof- lee.com/username/RemoteRepoName.git #将本地代码库的当前分支与远程的 代码库相关联,远程库在本地的别名设置为rmtRepo(当前本地分支与远程仓 库的分支名称要保持一致)git用户名及仓库名称要根据实际情况修改,比如: # git remote add rmtRepo h�ps://gitlab0 码力 | 35 页 | 1.69 MB | 1 年前3
Velocity Conference 2015ormance-best-practices-together-for-a-spa "We have created the web in our own image, and it is obese" Modern web hourglass, web tier is now thin, smarts moved to browser Metrics, metrics everywhere than any other metric Web Performance: 2 seconds is the magic number Whom did I meet?Attributions and References [1] Speaker Slides and Videos: http://velocityconf.com/devops-web-performance-2015/pub0 码力 | 4 页 | 176.79 KB | 6 月前3
A Seat at the Table - IT Leadership in the Age of Agilitybook is meant to be, really. About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 4 页 | 379.23 KB | 6 月前3
The DevOps Handbookability to learn from mistakes and diminish integrating that learning into future work d. Google Web Server (GWS) team was struggling with changes – Hard line: no changes would be accepted into GWS without0 码力 | 8 页 | 23.08 KB | 6 月前3
A Seat at the Table: IT Leadership in the Age of Agility - Part 2book is meant to be, really. About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 7 页 | 387.61 KB | 6 月前3
A Seat at the Table - IT Leadership in the Age of Agilityrequires some sort of management.About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 7 页 | 387.48 KB | 6 月前3
共 8 条
- 1













