The Phoenix Projectcode named Phoenix Project, is critical to the future of Parts Unlimited, but the project is massively over budget and very late. The CEO wants Bill to report directly to him and fix the mess in ninety0 码力 | 3 页 | 154.45 KB | 5 月前3
The DevOps HandbookPyramids h. ENSURE TESTS RUN QUICKLY (IN PARALLEL, IF NECESSARY) i. Design tests to run in parallel ii. Enable different test categories to run in parallel iii. Generally, limit manual testing if automated Enable and Practice Continuous Integration a. Branching – Pros & Cons i. Pro – Allows work in parallel while minimizing potential breaking impacts to trunk ii. Con – Branch work, in isolation, becomes environment, 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 | 5 月前3
DoD CIO Enterprise DevSecOps Reference Design - Summaryand Operations throughout the software lifecycle, embracing a continuous monitoring approach in parallel instead of waiting to apply each skill set sequentially. Security risks of the underlying infrastructure0 码力 | 8 页 | 3.38 MB | 5 月前3
python3学习手册, 1): data = list(row) print(f"第{index}行: ", data) ★第16章、多进程与多线程 ★多进程mul�processing.Process类 python多进程(mul�-process)适用于计算密集型的任务, 对于I/O密集型任务应该使用多线程(mul�-thread),比如磁盘读写, 网络通信等 在p 某个全局变 量,可以使用mul�processing.Value()或mul�processing.Array()来创建共 享变量 在windows系统里使用多进程时,程序里必须有入口函数main(),且程 序末尾必须调用入口函数,即: if __name__ == "__main__": main() ★实例化mul�processing.Process类-调用外部函数 print("计算密集型任务,多进程耗时 %s" % (stop - start)) if __name__ == "__main__": main() ★继承mul�processing.Process类-调用外部函数 import multiprocessing import os import time def work_func(argxx): res =0 码力 | 213 页 | 3.53 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
k8s操作手册 2.3③创建Secret secret资源是区分命名空间的 ★命令行方式创建secret 创建账号密码验证secret # kubectl create secret generic database-auth --from-literal=username=root --from- literal=password=passwd123 创建存储于某文件的认证secret # kubectl kubernetes.io/tls 2 7s database-auth Opaque 2 10m myssh-key-secret Opaque 2 3m43s # kubectl get secret database-auth -oyaml #secret的文本信息均以base64编码 "2023-12-05T21:19:48Z" name: database-auth namespace: default resourceVersion: "1167" uid: 38790a7e-30ee-4b75-8132-18bca66ca512 type: Opaque ★基于清单文件创建secret # cat > database-auth2.yaml <0 码力 | 126 页 | 4.33 MB | 1 年前3
The DevOps Handbookare written d. Pushing large batches of work to teams and special committees for approval and processing and then waiting for responses 3. Instead a. Use peer reviews of our proposed changes to gain0 码力 | 8 页 | 22.57 KB | 5 月前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 | 5 月前3
共 8 条
- 1













