k8s操作手册 2.3
--kubernetes- version=v1.19.4 \ --apiserver-adver�se- address=10.99.1.51 \ # api server地址 --pod-network-cidr=10.244.0.0/16 \ # pod容器网段 --service-cidr=10.7.0.0/16 \ # service网段,即cluster ip网段 --ignor --kubernetes- version=v1.28.2 \ --apiserver-adver�se- address=10.99.1.51 \ # api server地址 --pod-network-cidr=10.244.0.0/16 \ # pod容器网段 --service-cidr=10.7.0.0/16 \ # service网段,即cluster ip网段 --ignor h�ps://limaofu.github.io/scripts/kube-flannel-v0.13.0.yml # vi kube-flannel.yml #将里面的net-conf.json下面的Network网段改为规划的pod网段 #默认使用的docker镜像是quay.io/coreos/的仓库,可改为自己集群的docker仓库 保存,退出 # kubectl apply -f kube-flannel0 码力 | 126 页 | 4.33 MB | 1 年前3python3学习手册
-c "要执行的代码,多个语句之间用;分号隔开" ③执行脚本 # vi test.py #内容如下3行 #!/usr/bin/env python3 # coding=u�-8 print("hello world") # chmod +x test.py #添加可执行权限 # python3脚本文件 python2脚本文件里要指定以下2行 #!/usr/bin/env python # -*- coding: u�-8 -*- # ./test.py #执行脚本 #或者 # python3 test.py ★第1章、PyCharm常用设置 PyCharm官网: h�ps://www.jetbrains.com/pycharm/download/ def func_test(*tuple_xx, **dict_xx): print(tuple_xx) print(dict_xx) def func_test2(a, b, c): print(a, b, c) def func_test3(name, age, weight): print(name, age, weight) func_test(1, 2, 30 码力 | 213 页 | 3.53 MB | 1 年前3A Seat at the Table - IT Leadership in the Age of Agility
code. If there is a backlog in exploratory testing, people who normally do development will help test. Software engineers will oversee their code in production and help make changes to the infrastructure importance. Tests and infrastructure are now both represented in code; with SDN, soon even the network will be. Infrastructure can now be tested, like code; it can be placed in version control. Technology0 码力 | 7 页 | 387.48 KB | 5 月前3Redis操作手册
#先结束刚刚运行的进程 # cat > /etc/systemd/system/redis.service <network.target [Service] Type=forking ExecStart=/usr/local/bin/redis-server /root/redis-6.2.13/redis.conf 0 码力 | 5 页 | 80.37 KB | 1 年前3git 操作手册
★配置webhook自动化触发功能 首先配置允许向本地网络(私有网段地址)发送webhook通知,如果不配置则 会报错: 管理员用户登录,点击设置: 勾选“Allow requests to the local network from webhooks and integra�ons” 点击“保存” 然后普通用户就可在自己的项目里配置“WebHook”功能了 Se�ngs→Webhooks→Add new webhook0 码力 | 35 页 | 1.69 MB | 1 年前3postgresql操作手册
#创建一个名为cof的 用户,并设置密码 postgres=# grant all on database db_test to cof; #给cof授权,有操作db_test 库的所有权限 postgres=# postgres=# revoke all on database db_test from cof; #撤销用户权限 postgres=# drop user -d db_test #使用cof用户登录pg,连接 db_test这个库 db_test=> #提示符 => 表示普通账号,=#表示管理员账号 db_test=> #提示符=>前的db_test表示当前数据库名 from pg_database; #列出所有数据库(标准的sql 语句) datname ----------- postgres template1 template0 db_test postgres=# \l #列出所有数据库(pg内置查询命令)0 码力 | 17 页 | 445.84 KB | 1 年前3The DevOps Handbook
work were significantly behind schedule. Surprising discovery: only 50% of the source code in Dev/Test environments matched Prod. They fixed forward, but changes not put back into version control. Focused automated environment creation – time reduced from 8 weeks to 1 day b. ENABLE ON-DEMAND CREATION OF DEV, TEST, AND PRODUCTION ENVRIONMENTS i. Major contributing cause of issues stems from releases representing Reliable Automated Testing a. Undesired outcomes result from finding and fixes errors in a separate test phase. b. Delayed feedback fades the cause & effect link of the error; now requires firefighting0 码力 | 8 页 | 23.08 KB | 5 月前3The DevOps Handbook
PRACTICE i. Ensure automated tests demonstrate use and behavior of libraries and components ii. Test suite becomes the living documentation of the system specification and represent working examples Testing on the Toilet periodical 1. Started Test Certified Levels for teams and products to measure themselves against 2. Provide Test Certified Mentors and Test Mercenaries to kick start testing efforts code review 3. Instrument the repository to detect suspicious code (API calls from certain types of test code) 4. Ensure every CI process is in an isolated container 5. Make the version control credentials0 码力 | 9 页 | 25.13 KB | 5 月前3DevOps Meetup
technical learning. How we need to improve Sharing ideas, code, Community of Practice, etc. Test Driven Infrastructure Blue – green deployments Combining DevOps Scrum – planning, standups Large-Scale Scrum, Craig Larman Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation, Jez Humble and David Farley The Phoenix Project: A Novel About IT0 码力 | 2 页 | 246.04 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
risks to delivery? What assumptions are contained in the plans? How will the team move quickly to test those assumptions and gain information to manage the risks? I want to understand their plan for learning of discovery and innovation, during which they begin with a goal in mind and empirically find and test hypotheses. A Better Way – Desired Outcomes: We must replace the notion of requirement with that0 码力 | 4 页 | 379.23 KB | 5 月前3
共 14 条
- 1
- 2