k8s操作手册 2.3
io/v1beta2 cer�ficatesDir: /etc/kubernetes/pki clusterName: kubernetes controllerManager: {} dns: type: CoreDNS etcd: local: dataDir: /var/lib/etcd imageRepository: cof-lee.com:5443/k8s kind: ClusterConfigura�on /etc/kubernetes/pki clusterName: kubernetes controlPlaneEndpoint: "10.99.1.54:6443" controllerManager: {} dns: type: CoreDNS etcd: local: dataDir: /var/lib/etcd imageRepository: cof-lee.com:5443/k8s kind: ClusterConfigura�on port/servce port转发到此node上的pod里) ExternalName 将服务映射到集群外部的某个资源,要求v1.7及以上版本 例: kind: Service spec: type: NodePort ports: - port: 443 # service ip 的port targetPort: 84430 码力 | 126 页 | 4.33 MB | 1 年前3python3学习手册
Appearance → 选 中 Show whitespaces ★不进行拼写检查 File → Se�ngs → Editor → Inspec�ons → Proofreading → Type 取消勾选 ★设置项目的python解释器 File → Se�ngs → Project: xxx →Python Interpreter → 右 侧 选 择 目 标 python解释器 #a和b中不同时存在的元素 ★判断变量类型 type(x) #返回x的类型,如isinstance(x, int) #返回True或False type()不会 认为子类是父类的一种类型 isinstance(x,int)会认为子类是父类的一种类型 ★类型转换 map(type, listxx) 将字符串str型list转为int型list # 类型为 str 长度 3 bytesxx = strxx.encode("utf8") # 将str编码为utf8,返回类 型bytes,长度 7 print(type(bytesxx[0])) #返回int, bytesxx本身为bytes 类型,其元素则为 int ★string的元素仍为str stryy=bytesxx.decode("utf8") 0 码力 | 213 页 | 3.53 MB | 1 年前3postgresql操作手册
为 pg_catalg 的 schema 下 的 pg_hba_file_rules表里: INSERT INTO "pg_hba_file_rules" ("line_number", "type", "database", "user_name", "address", "netmask", "auth_method", "options", "error") VALUES (94, 'host' # -d指定数据库,默认连接的数据库名同用户名 Password for user postgres: #输入密码 psql (13.13) Type "help" for help. postgres=# #提示符#前的postgres表示当前数据库名 postgres=# #查看表结构 Table "public.tablexx" Column | Type | Colla�on | Nullable | Default --------+-----------------------+-----------+----------+---------0 码力 | 17 页 | 445.84 KB | 1 年前3The Phoenix Project
“What can displace planned work? Unplanned work. That’s why Erik called it the most destructive type of work. It’s not really work at all, like the others. The others are what you planned on doing, have what I need. It’s why I’ve stopped even putting in change requests.” “I have to manually type in hundreds of server names in one of the text boxes. Most of the time, there’s not enough room in0 码力 | 3 页 | 154.45 KB | 5 月前3The DevOps Handbook
SYSTEMS OF RECORD AND SYSTEMS OF ENGAGEMENT i. Gartner Bi-modal IT 1. Type 1 – System of Record – “Doing it right” 2. Type 2 – System of Engagement – “Doing it fast” ii. DevOps helps reject the bi-modal0 码力 | 8 页 | 22.57 KB | 5 月前3Redis操作手册
/etc/systemd/system/redis.service <Type=forking ExecStart=/usr/local/bin/redis-server /root/redis-6.2.13/redis.conf PrivateTmp=true [Install] 0 码力 | 5 页 | 80.37 KB | 1 年前3The DevOps Handbook
you have someone review your change? Do you know who the best person to ask is for changes of this type? Did you do everything you absolutely could to assure yourself that this change operates in production0 码力 | 8 页 | 24.02 KB | 5 月前3
共 7 条
- 1