k8s操作手册 2.3
kubeadm 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 高可用集群拓扑图: ★先配置HA高可用的反向代理 本例中vip为10.99.1.54(三台master ip为10.99.1.51~53)使用haproxy做反向代理 frontend k8s_api_tcp_6443 bind *:6443 mode tcp default_backend my_k8s_cluster_6443 backend my_k8s_cluster_64430 码力 | 126 页 | 4.33 MB | 1 年前3python3学习手册
★第3章、基础语法 ★保留字(关键字) True False None as nonlocal and exec not assert finally or break for pass class from print con�nue global raise def if return del import try elif in while else is with except #a和b的交集 a ^ b #a和b中不同时存在的元素 ★判断变量类型 type(x) #返回x的类型,如 <class 'int'> isinstance(x, int) #返回True或False type()不会 认为子类是父类的一种类型 isinstance(x,int)会认为子类是父类的一种类型 print(f"这是{name}") 结果: 这是cof-lee ★第8章、面向对象 类是由 数据结构 及对数据进行的操作方法 组成的 ①创建类 class 类名称: "类的帮助信息,描述" 类的内容 class 类名称(基类1, 基类2): #派生类 类的内容 ②类的方法 类的方法即类里的函数,python的类方法必须有一个额外的第一个参0 码力 | 213 页 | 3.53 MB | 1 年前3The DevOps Handbook
larger batch sizes compound effort needed to identify causes ii. Unit tests – test a single method, class, or function in isolation to ensure operates as designed iii. Acceptance tests – test application Coined by Martin Fowler in 2004 ii. Strangler Application 1. Put existing functionality behind an API 2. New functionality implemented in new services with new architecture 3. Make calls to old system0 码力 | 8 页 | 23.08 KB | 5 月前3postgresql操作手册
#切换到目标数据库 db_test=# create table tablexx (name VARCHAR(32), age INT, class INT); #创建名 为tablexx的表,3个字段 db_test=# \d tablexx; character varying(32) | | | age | integer | | | class | integer | | | db_test=# insert into tablexx values ('cof-lee' insert into tablexx (name, age, class) values ('Tom', 23, 1512); #插入 一条数据 db_test=# SELECT * FROM "public"."tablexx" LIMIT 1000; #列出表的所有数据 name | age | class ---------+-----+------- cof-lee0 码力 | 17 页 | 445.84 KB | 1 年前3Predictably Irrational
Maintenance, E-mail Experiment: Class paper deadlines Observations: o “We found that the students in the class with the three firm deadlines got the best grade; the class in which I set no deadlines at at all (except for the final deadline) had the worst grades; and the class allowed to choose their own three deadlines (but with penalties for failing to meet them) finished in the middle.” o “What’s0 码力 | 3 页 | 234.46 KB | 5 月前3The DevOps Handbook
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 Use telemetry to measure outcomes iv. Etsy open-sourced their experimentation framework – Feature API e. INTEGRATE A/B TESTING INTO OUR FEATURE PLANNING i. Product owners should consider each feature0 码力 | 8 页 | 24.02 KB | 5 月前3The DevOps Handbook
suite becomes the living documentation of the system specification and represent working examples of API use e. DESIGN FOR OPERATIONS THROUGH CODIFIED NON-FUNCTIONAL REQUIREMENTS i. Designing for fast changes through pair programming or 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 50 码力 | 9 页 | 25.13 KB | 5 月前3Government Excerpt
plan has five points that could have been plucked from any campaign platform: 1. A “world-class” education system from preschool through college; 2. A “prosperous economy”; 3. Making Washington0 码力 | 3 页 | 414.99 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
Clearly, we do not mean adherence to specification, but do we mean spare-no-expense-best-in- class? Probably not that, either. We are constantly making quality decisions, especially in a Continuous0 码力 | 7 页 | 387.48 KB | 5 月前3git 操作手册
然后普通用户就可在自己的项目里配置“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
共 10 条
- 1