k8s操作手册 2.3kubeadm init --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 kubeadm init --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 tools/releases/download/v1.28.0/crictl-v1.28.0-linux-amd64.tar.gz # tar -xf crictl-v1.28.0-linux-amd64.tar.gz -C /usr/bin/ # crictl -v #查看crictl版本 crictl version v1.28.0 # crictl images0 码力 | 126 页 | 4.33 MB | 1 年前3
The DevOps HandbookEffective practices 1. Blameless post-mortems 2. Controlled introduction of failures for practice c. SCHEDULE BLAMELESS POST-MORTEM MEETINGS AFTER ACCIDENTS OCCUR i. Blameless Post-Mortem – meeting amplify signals to help avert the next catastrophe iii. Michael Roberto, Richard M.J. Bohmer, & Amy C. Edmondson (Harvard Business Review): organizations are typically structured as:1. Standardized Model organization is in direct proportion to the degree to which its policies are expressed as code.” c. CREATE A SINGLE, SHARED SOURCE CODE REPOSITORY FOR OUR ENTIRE ORGANIZATION i. Firm-wide shared source0 码力 | 9 页 | 25.13 KB | 5 月前3
The DevOps Handbookour monitoring systems need to be more available and scalable than the systems being monitored.” c. CREATE APPLICATION LOGGING TELEMETRY THAT HELPS PRODUCTION i. Dev & Ops create production telemetry that could become an error and will likely trigger an alert 4. Error – error conditions such as API failures, internal issues 5. Fatal – forces a termination iv. Examples of potentially significant metric, configure alerts when metric deviates significantly from mean 4. Repeat for weaker signals c. PROBLEMS THAT ARISE WHEN OUR TELEMETRY DATA HAS NON-GAUSSIAN DISTRIBUTION i. Many operational data0 码力 | 8 页 | 24.02 KB | 5 月前3
python3学习手册2024-03-08 ★第0章、linux执行python脚本的方式 python安装路径: 操 作 系 统 python 版本 安装路径 windows 2.7 C:\Python27 windows 3.10 C:\Users\ 用 户 名 \AppData\Local\Programs\Python\Python310 centos7 2.7.5 /usr/bin/python #这里可执行python代码,类似shell脚本 >>> print("hello") >>> exit() #退出交互模式 ②执行一次性代码 # python3 -c "要执行的代码,多个语句之间用;分号隔开" ③执行脚本 # vi test.py #内容如下3行 #!/usr/bin/env python3 zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel \ readline-devel tk-devel gcc gcc-c++ make patch libffi-devel python- devel \ gdbm-devel xz-devel libpcap-devel db4-devel # tar0 码力 | 213 页 | 3.53 MB | 1 年前3
The DevOps Handbookautomated environment build process iii. Environments will be stable, reliable, consistent, & secure c. CREATE OUR SINGLE REPOSITORY OF TRUTH FOR THE ENTIRE SYSTEM i. ALL parts (code & environments) of Delayed feedback fades the cause & effect link of the error; now requires firefighting and archaeology. c. Worst effect – lose the ability to learn from mistakes and diminish integrating that learning into development 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 Strategies0 码力 | 8 页 | 23.08 KB | 5 月前3
git 操作手册key 首先在linux服务器上生成用户的ssh密钥对文件 # ssh-keygen -t rsa -b 2048 -C "cof@cof-lee.com" -P "" -f cof-sshkey #直接生成key文件及公钥.pub文件,无需交互,-C指定密钥的描述信息,-P指定 加密密钥的密码,-f指定生成的文件名,生成的密钥文件: cof-sshkey为私钥, cof-sshkey 然后普通用户就可在自己的项目里配置“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可选择“Push0 码力 | 35 页 | 1.69 MB | 1 年前3
The DevOps Handbook– Part 1 & 2 1. Preface xi a. Myth—DevOps is Only for Startups: b. Myth—DevOps Replaces Agile c. Myth—DevOps is incompatible with ITIL d. Myth—DevOps is Incompatible with Information Security and short lead times was small batch sizes of work b. Agile, Continuous Delivery, and the Three Ways 7 c. The First Way: The Principles of Flow 15 i. MAKE OUR WORK VISIBLE 1. A significant difference between the constraint usually follows this progression: a. Environment creation: b. Code deployment: c. Test setup and run: d. Overly tight architecture: iv. ELIMINATE HARDSHIPS AND WASTE IN THE VALUE0 码力 | 8 页 | 22.57 KB | 5 月前3
postgresql操作手册UTF8 | en_US.UTF-8 | en_US.UTF-8 | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres grant all on database db_test to user1; #给user1授权,有操作 db_test库的所有权限 ★表操作 postgres=# \c db_test; #切换到目标数据库 db_test=# create table tablexx0 码力 | 17 页 | 445.84 KB | 1 年前3
Government Excerptaccountability? You know the answer: Scrum. Let’s start a few thousand miles west of Washington, D.C., in the Washington state capital, Olympia. There, the past two administrations—first a Republican0 码力 | 3 页 | 414.99 KB | 5 月前3
共 9 条
- 1













