The DevOps Handbooksatisfaction, and employee happiness 2. one of the best predictors of short lead times was small batch sizes of work b. Agile, Continuous Delivery, and the Three Ways 7 c. The First Way: The Principles context of global goals. ii. REDUCE BATCH SIZES1. Another key component to creating smooth and fast flow is performing work in small batch sizes. 2. Large batch sizes result in skyrocketing levels of Development has worked on is released to production deployment. Like in manufacturing, this large batch release creates sudden, high levels of WIP and massive disruptions to all downstream work centers0 码力 | 8 页 | 22.57 KB | 5 月前3
The DevOps HandbookA FAST AND RELIABLE AUTOMATED VALIDATION TEST SUITE i. Slow and periodic feedback kills – larger batch sizes compound effort needed to identify causes ii. Unit tests – test a single method, class, or costs, 140% increase in programs under development, 78% reduction in cost per program c. SMALL BATCH DEVELOPMENT AND WHAT HAPPENS WHEN WE COMMIT CODE TO TRUNK INFREQUENTLY i. Branching Strategies TRUNK-BASED DEVELOPMENT PRACTICES i. CI and Trunk-based development (TBD) are countermeasures to large batch size ii. TBD enables: 1. Frequent commits 2. Runs of automated tests of the integrated system0 码力 | 8 页 | 23.08 KB | 5 月前3
k8s操作手册 2.3pod控制器是由kube-controller-manager组件提供的一些资源,负责控制pod的创 建、删除、重新调度、运行时间等。常用的pod控制器有ReplicaSet, Deployment, DaemonSet, Job, CronJob等,如果pod被删除,则可以重新拉起一个 ★通过kind: Pod创建的容器组,在kubectl delete pod xxx时,它就真的被删除 了,不会重新拉起一个新的pod,建议使用pod控制器去创建pod #查看 ★Job控制器 job控制器用于运行一次性pod(如执行sql脚本或一次性备份任务等)容器中的 进程在正常运行结束后,置为completed状态,且不会再重启,如果进程运行失 败,则根据配置决定是否要重启 # vi xx-job.yml #内容如下 apiVersion: batch/v1 kind: Job metadata: name: name: myjob #Job名 spec: comple�ons: 3 #一共起1个pod(默认1) parallelism: 2 #可同时运行的pod数(默认1) template: spec: containers: #定义一组容器 - name: jobxx #容器名,小写字母开头,后可接数字-减号,不可带小数点0 码力 | 126 页 | 4.33 MB | 1 年前3
The DevOps Handbookdeployment process 2. Increase friction by adding more steps/approvals which tends to increase batch size ii. Toyota Production System – “people closest to a problem typically know the most about it help improve overall quality, provide cross-training, learning, and skill improvements. iii. Keep batch sizes of reviews small iv. 4 simple Peer Review Guidelines 1. Everyone must have someone review project and/or manual 1. Manual testing is slower and more tedious 2. Tends towards increasing batch sizes ii. Fully integrate testing into daily work – enable flow, more automated testing h. ENABLE0 码力 | 8 页 | 24.02 KB | 5 月前3
python3学习手册import threading # 定义任务 def job(var1): print("Hello " + var1) # schedule.every(5).seconds.do(job,var1="World") schedule.every(5).seconds.until("2024-03-04 13:07").do(job, var1="World") # schedule.every() every().day.at("10:56").do(job, var1="World") schedule.every().day.at("10:56").do(job, var1="World").tag("jobxx") def scheduler_thread(): while True: schedule.run_pending() time.sleep(1)0 码力 | 213 页 | 3.53 MB | 1 年前3
A Seat at the Table: IT Leadership in the Age of Agility - Part 2powerful integrated development environment (IDE) that centralizes the tools that help him or her do the job. The code is built automatically using Continuous Integration, and it is tested automatically requirements, but instead on high-level objectives. Instead of telling the project team how to do its job, we might begin the project with a hypothesis of what will best accomplish the objectives, but then0 码力 | 7 页 | 387.61 KB | 5 月前3
git 操作手册然后普通用户就可在自己的项目里配置“WebHook”功能了 Se�ngs→Webhooks→Add new webhook Webhook URL: h�p://10.99.1.241:32433/api/v2/job_templates/42/gitlab/ Webhook Key: vHRMIUlRQql9khxfr23sVlaeeMaLA7pZEmbKmmECeFL3bgF7kP Trigger可选择“Push URL 不 是 h�ps 则 不 勾 选“Enable SSL verifica�on” 保存后: 可以测试一下: 此操作会触发webhook监听侧的动作(比如ansible-awx自动执行相应的job template): ★重置root用户密码 安装完gitlab-ce后,初始管理密码保存在 /etc/gitlab/ini�al_root_password 文件 中,如果文件0 码力 | 35 页 | 1.69 MB | 1 年前3
The DevOps Handbookprocess vii. Reduce reliance on separation of duties 2. Ch. 22 – Information Security as Everyone’s Job, Every Day a. Many DevOps organizations have better results than when security is organized as a0 码力 | 9 页 | 25.13 KB | 5 月前3
A Seat at the Table - IT Leadership in the Age of Agilitymost needed by Agile IT leaders.” – Mark Schwartz Last Time in Part 2 Enterprise Architecture: The job of IT leaders is not to execute projects on behalf of the business; it is to steward the asset that0 码力 | 7 页 | 387.48 KB | 5 月前3
共 9 条
- 1













