k8s操作手册 2.31000m,这个m是mili(千分之一)的意思 ports: #端口暴露,仅作提示信息 - name: h�p containerPort: 80 protocol: TCP env: #给容器传递的环境变量 - name: TZ value: Asia/Shanghai #securityContext: ports: #端口暴露,仅作提示信息,无实际影响 - name: h�p containerPort: 80 protocol: TCP env: #给容器传递的环境变量 - name: TZ value: Asia/Shanghai podlable: ds-pod #与目标pod的labels相同,如果目标pod有多个,则自动实 现负载均衡 type: ClusterIP ports: - protocol: TCP #默认为TCP, port: 1380 # service ip 的port targetPort: 800 码力 | 126 页 | 4.33 MB | 1 年前3
postgresql操作手册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', '{all}' #创建一个名为cof的 用户,并设置密码 postgres=# grant all on database db_test to cof; #给cof授权,有操作db_test 库的所有权限 postgres=# postgres=# revoke all on database db_test from cof; #撤销用户权限 postgres=# #提示符#前的postgres表示当前数据库名 postgres=# select datname from pg_database; #列出所有数据库(标准的sql 语句) datname ----------- postgres template1 template0 db_test postgres=#0 码力 | 17 页 | 445.84 KB | 1 年前3
DevOps MeetupDEG and 3rd Party Application Installations Route Adds – requires heightened security access Database Data Script Execution Load Balancer Node Disablement OS and Security Patching Requesting0 码力 | 2 页 | 246.04 KB | 6 月前3
The DevOps Handbookenvironment, test, c. Swing traffic to new environment, Rollback by swinging traffic back 2. Database changes a. Create two DB – put one in read only mode, backup & restore to new environment, swing0 码力 | 8 页 | 23.08 KB | 6 月前3
python3学习手册title("子窗口") pop_window.geometry("300x200+100+100") pop_window.configure(bg="pink") pop_window.protocol("WM_DELETE_WINDOW", on_closing) # 子窗口点击右上角的关闭按钮后,触发此函数 exit_button = tkinter.Button(pop_window0 码力 | 213 页 | 3.53 MB | 1 年前3
共 5 条
- 1













