The DevOps Handbookstreams of 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 consistent, & secure c. CREATE OUR SINGLE REPOSITORY OF TRUTH FOR THE ENTIRE SYSTEM i. ALL parts (code & environments) of the system are shared in a version control repository ii. Version control is value stream iii. Everything, everything, everything is checked into version control 1. Application code & dependencies 2. Environment scripts & creation tools 3. DB scripts and reference data 4. Containers0 码力 | 8 页 | 23.08 KB | 6 月前3
The DevOps HandbookMyth—DevOps Means Eliminating IT Operations, or “NoOps” f. Myth—DevOps is Just “Infrastructure as Code” or Automation: g. Myth—DevOps is Only for Open Source Software: 2. Foreword xix 3. Imagine a secure service to the customer b. THE BUSINESS VALUE OF DEVOPS i. Code and change deployments (thirty times more frequent) ii. Code and change deployment lead time (two hundred times faster) iii. Production Consider when we have an annual schedule for software releases, where an entire year’s worth of code that Development has worked on is released to production deployment. Like in manufacturing, this0 码力 | 8 页 | 22.57 KB | 6 月前3
k8s操作手册 2.3<vs ip_vs_sh ip_vs_rr ip_vs_wrr nf_conntrack_ipv4 EOF # modprobe ip_vs # modprobe ip_vs_sh # modprobe ip_vs_rr # modprobe ip_vs_wrr # modprobe nf_conntrack_ipv4 #一般默认只用ip_vs_rr # lsmod lsmod | grep -e ip_vs -e nf_conntrack #检查是否已加载ip_vs模块 ★最后重启操作系统 # reboot ★第1章、部署k8s版本<=1.23 k8s在1.23及之前版本默认是调用docker作为底层的容器运行时,从1.24版本开 始移除了dockerShim组件,不再支持docker,从而默认使用containerd作为底层 0 码力 | 126 页 | 4.33 MB | 1 年前3
OutwardMindsetno respect for “bad guys” vs Think about what others need Complaints $70k per, 2-3/month Cutting 100M from budget Finding a way to keep others from cutting their budgets vs. Finding a way to keep others win business vs What do I need to do to provide value to the warfighter Inward mindset at work “Nice” inward mindset Outward mindset CFS2 – Debt Collection. Berate Debtors until they pay vs Find help0 码力 | 2 页 | 235.43 KB | 6 月前3
Velocity Conference 2015@brendangregg http://www.slideshare.net/brendangregg/velocity-2015-linux-perf-tools Value of mentoring (vs self-teaching through search) is mentor telling you what not to worry about Perf events mixed0 码力 | 4 页 | 176.79 KB | 6 月前3
Predictably IrrationalLate Pickup Policy Agile tie-in: Customer collaboration over contract negotiation, monetary bonuses vs. recognition and appreciation The Problem of Procrastination and Self-Control – Why We Can’t Make0 码力 | 3 页 | 234.46 KB | 6 月前3
The DevOps Handbookto which its policies are expressed as code.” c. CREATE A SINGLE, SHARED SOURCE CODE REPOSITORY FOR OUR ENTIRE ORGANIZATION i. Firm-wide shared source code repository is powerful way to share local transfer security knowledge to the teams E. INTEGRATE PREVENTIVE SECURITY CONTROLS INTO SHARED SOURCE CODE REPOSITORIES AND SHARED SERVICES i. Add mechanisms & tools ii. Add security’s pre-blessed libraries tests 1. Static Analysis – inspect program code for all possible run-time behaviors and seek out coding flaws, back doors, and potentially malicious code2. Dynamic Analysis – tests executed while a0 码力 | 9 页 | 25.13 KB | 6 月前3
A Seat at the Table: IT Leadership in the Age of Agility - Part 2to a problem. if we mandate that projects reuse code whenever possible, each project may have to spend time searching archives of available code to find something that is a near fit, and then deal and design patterns. Incremental delivery and staged investments reduce cost and risk. Custom code is almost not custom these days. A developer incorporates open source frameworks, uses standardized are already available. There are “cookbooks” available with templates for deploying systems, code snippets that handle common tasks, and well-known and well-studied algorithms for solving typical0 码力 | 7 页 | 387.61 KB | 6 月前3
A Seat at the Table - IT Leadership in the Age of Agilityof management get in the way of goals. The employee wants the shortest possible path to shipping code without needing layers of approval. Management should be close enough to the action that they can in the interest of shipping 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 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. Technology matters:0 码力 | 7 页 | 387.48 KB | 6 月前3
python3学习手册jetbrains.com/pycharm/download/ ★PyCharm快捷键 Alt + Shi� 列选择模式,可同时选择多列 Ctrl + Alt + L 重新格式化代码,Reformat Code Ctrl + B 跳转到鼠标指定的函数定义处 Shi� + F10 运行程序 Ctrl + R 查找替换 ★设置字体颜色 File → Se�ngs → Editor → Color User Interface , 勾 选 Disable double modifier key shortcuts ★设置每行最大长度 File → Se�ngs → Editor → Code Style → 右侧的 General下的 Hard wrap at: 120(默认为120字符) ★设置源码文件字符编码 File → Se�ngs → Editor → File Encodeings print(type(response.text)) # 类型为str response.encoding = "utf-8" # 指定返回数据的文本编码 print(response.status_code) # 返回http响应状态码 print(response.headers) # 返回http头部信息,单行字典类型 print(response.text)0 码力 | 213 页 | 3.53 MB | 1 年前3
共 15 条
- 1
- 2













