The DevOps Handbook
environments matched Prod. They fixed forward, but changes not put back into version control. Focused on version control and automated environment creation – time reduced from 8 weeks to 1 day b. ENABLE 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 for everyone in the value stream iii 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. Containers 5. Automated0 码力 | 8 页 | 23.08 KB | 5 月前3k8s操作手册 2.3
cgroupdriver=systemd" ] } # mkdir -p /etc/systemd/system/docker.service.d # docker info ★docker会修改防火墙规则,导致pod网络不通 # vi /usr/lib/systemd/system/docker.service #在[Service]下的ExecStart=/usr/bin/dockerd #安装k8s二进制组件 (<=1.23版本) # systemctl enable kubelet # systemctl start kubelet ③k8s集群初始化 # kubeadm version #先查看k8s版本 # GitVersion:"v1.19.4" # kubeadm config images list #查看k8s其他组件的docker镜像名,默认用 7个镜像) ★直接使用命令行方式初始化集群 (以下是非HA模式的master初始化,如果要部署高可用集群,则参考第4章) kubeadm init --kubernetes- version=v1.19.4 \ --apiserver-adver�se- address=10.99.1.51 \ # api server地址 --pod-network-cidr=10.2440 码力 | 126 页 | 4.33 MB | 1 年前3The DevOps Handbook
Accidents are due to the inevitable design problems in complex systems that we build; they are system problems – not individual problems iii. Effective practices 1. Blameless post-mortems 2. Controlled “could have” a. These are counterfactual statements b. Frames the problem as the system as imagined rather than the system that actually exists 4. Focus on – “Why did it make sense to me when I took that and behavior of libraries and components ii. Test suite becomes the living documentation of the system specification and represent working examples of API use e. DESIGN FOR OPERATIONS THROUGH CODIFIED0 码力 | 9 页 | 25.13 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
advance, and that we have a way to (try to) control them. The relationship between uncertainty, risk, and change is far too complicated for such control when delivering IT systems, where complexity “finished” late. This, as we know, is based on the outdated idea that we define the scope of the system ahead of time and keep working until we deliver it. That is precisely what we do not do in an Agile consequences. In the plan-driven model, quality was easier to understand. We specified what the system should do, and then measured quality as adherence to that specification. The opposite of a defect0 码力 | 7 页 | 387.48 KB | 5 月前3The DevOps Handbook
Logging Levels 1. Debug – anything that happens in the program 2. Info – user driven actions or system specific 3. Warn – conditions that could become an error and will likely trigger an alert 4. Error GTP Security & Risk Management group) 1. Authentication/authorization decisions 2. System and data access 3. System and application changes, especially privileged changes 4. Data changes (CRUD) 5. Invalid TESTING INTO OUR RELEASE i. A/B testing requires fast CD to support ii. Use feature toggles to control experiments, cohort creation, etc. iii. Use telemetry to measure outcomes iv. Etsy open-sourced0 码力 | 8 页 | 24.02 KB | 5 月前3The Phoenix Project
Unlimited. Key Concepts The Three Ways [2] The First Way emphasizes the performance of the entire system, as opposed to the performance of a specific silo of work or department. The outcomes of putting degradation, always seeking to increase flow, and always seeking to achieve profound understanding of the system (as per Deming). The Second Way is about creating the right to left feedback loops. The goal of daily work, creating rituals that reward the team for taking risks, and introducing faults into the system to increase resilience. Four Types of Work 1. Business projects 2. IT projects 3. Changes 40 码力 | 3 页 | 154.45 KB | 5 月前3A Seat at the Table: IT Leadership in the Age of Agility - Part 2
dominated the IT world because it appears to offer predictability, control, and efficiency, the key values of the contractor-control model. But it doesn’t. Requirements: Requirements are a way of controlling used to set boundaries for developers when they began a project. In other words, a vehicle for control. But standardization also imposes costs by: limiting agility and adding bureaucratic waste: exceptions systems that preserve many of the advantages of buying off the shelf. The risk of developing a system incrementally and altering it based on user feedback is often lower than that of buying a finished0 码力 | 7 页 | 387.61 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
approaches – is a confusion about how to deal with uncertainty and risk. What I call the “contractor-control paradigm” – is really about trying to make risk go away, when risk really the essence of what we and last, that the business should be thought of as a community, or perhaps as a Complex Adaptive System, which needs to be led and managed through an inspect-and- adapt, feedback-and-vision-oriented approach dysfunctional transformation cycle. It lies, I believe, in our distinction between the development of a system and its operation and maintenance. Dividing our IT spending into development and maintenance buckets0 码力 | 4 页 | 379.23 KB | 5 月前3Open Discussion on Project Planning
develop and field in the next few releases. DON’T make detailed plans beyond a program’s ability to control or accurately predict future circumstances o Agile methodology does not force programs to establish concisely define the desired system functions and provide the foundation for Agile estimation and planning. o They describe what the users want to accomplish with the resulting system. User stories help ensure0 码力 | 2 页 | 49.30 KB | 5 月前3python3学习手册
ib/python3.7/lib-dynload', '/usr/local/python3/lib/python3.7/site-packages'] # python3 --version #查看版本 # python3 -V #查看版本 ★第3章、基础语法 ★保留字(关键字) True False None as nonlocal from __future__ import print_function from __future__ import unicode_literals import sys if sys.version_info[0] < 3: reload(sys) sys.setdefaultencoding('utf-8') 解析: ★打印函数 导入print_func�on后, py打包成一个安装包 在我们的源程序目录下再创建一个setup.py文件,内容如下: from distutils.core import setup setup(name='cof', version="1.0", py_modules=['cof', 'lee'], # 要打包的模块名 称 description="描述信息", url="https://cof-lee0 码力 | 213 页 | 3.53 MB | 1 年前3
共 20 条
- 1
- 2