k8s操作手册 2.3# reboot ★第1章、部署k8s版本<=1.23 k8s在1.23及之前版本默认是调用docker作为底层的容器运行时,从1.24版本开 始移除了dockerShim组件,不再支持docker,从而默认使用containerd作为底层 的容器运行时。 k8s 1.23及之前版本: kubelet→dockerShim→dockerd→containerd→runC 默认调用的cri-socket: 备工作。 ①安装并配置docker-ce # yum install docker-ce docker-ce-cli containerd.io -y #k8s v1.23支持的docker 最新版本为20.10.x # systemctl enable docker # systemctl start docker # docker info ★配置doc 行工具为ctr,而k8s v1.24之后版本又新 增额外的辅助工具crictl crictl是遵循CRI接口规范的一个命令行工具,通常用它来检查和管理kubelet节点 上的容器运行时和镜像。(支持containerd/docker/crio) ★安装crictl工具 默认随kubeadm一起安装了,在cri-tools-xxxx.x86_64.rpm这个包里,如果想单独 安装,则直接装这0 码力 | 126 页 | 4.33 MB | 1 年前3
python3学习手册string型 如 int("A", base=16)返回值为10 chr(n) 输入0~255内的整数,返回对应ascii字符,输入可为 10进制,也可为16进制,python3的chr()支持unicode (0x00到0x10FFFF) unichr() 输入任意unicode编码值,返回对应unicode字符, python3的unichr()没了,合并到chr()了 ord('x') 取反 >> 右位移 ★运算符优先级: 指数** > 位运算 > 乘除 > 加减 > 比较 > 赋值 > 身份 > 成员 > 逻辑 ★条件语句(python不支持switch) if 判断句 : 语句体 elif 判断句 : 语句体 else: 语句体 ★循环语句 ① for循环 for i in xx : -*- coding: u�-8 - *-,py3源码文件默认使用u�8编码 若要在py2中也使用py3中的这些特性,可以导入名为 __future__ 的 包,导入后,py2会启导入的功能使得也支持py3的这些特性。同时py2 的这些原有特性会被py3覆盖 让源代码兼容python2和python3,只需要在代码开头添加以下几行, 然后都用py3的语法去写代码: from __future__0 码力 | 213 页 | 3.53 MB | 1 年前3
postgresql操作手册pg_size_pre�y(pg_rela�on_size('table_name')); #以方便阅读的单位列 出表的大小 ★不建议使用带\反斜杠的内置命令,有些sql终端工具不支持发送带有\反斜杠 的命令 ★第7章、表 字段操作 ★第8章、表 数据操作 db_test=# \d tablexx;0 码力 | 17 页 | 445.84 KB | 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
git 操作手册h�ps://tortoisegit.org/ 使用TortoiseGit时,要求提前安装好git工具 ★部署gitlab仓库 gitlab是一个基于git实现的在线代码仓库软件,提供web可视化管理界面,通常 用于企业团队内部协作开发 ★安装gitlab-ce 部署gitlab-ce要求服务器内存>=4GB,本例使用操作系统为 Rocky Linux 8.8, gitlab-ce版本16 /var/log/gitlab/gitlab-rails/produc�on.log # tail -f /var/log/gitlab/gitlab-rails/produc�on_json.log ★web界面 ★管理员账号登录web界面及修改密码 浏 览 器 登 录 gitlab-ce , 用 户 名 root , 初 始 化 密 码 为/etc/gitlab/ini�al_root_password文件里的密码0 码力 | 35 页 | 1.69 MB | 1 年前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
共 9 条
- 1













