The Phoenix Projecthave to manually type in hundreds of server names in one of the text boxes. Most of the time, there’s not enough room in the field! A hundred server names are supposed to fit in a sixty-four-character0 码力 | 3 页 | 154.45 KB | 5 月前3
python3学习手册newlist=[表达式 for 变量 in 源列表 if 条件] #直接返回list类型 例: names=["abc", "xd�l", "fdklsaj"] new_names=[name.upper() for name in names if len(name) >3 ] ② dic�onary推导式 newdic={ key表达式: value表达式 ★python解释器查找模块顺序 python解释器会去哪里找要导入的模块呢? 1,首先查找sys.modules字典里的模块(这是以前导入的所有模块的缓 存) 2,然后匹配内置的模块sys.buil�n_module_names 3,最后根据sys.path路径下去找(包含有程序当前路径;pip安装的包 在"site-packages"目录下) 都找不到就报错ModuleNotFoundError # python20 码力 | 213 页 | 3.53 MB | 1 年前3
The DevOps Handbookdevelopers 2. Segregated processes so we know the dependencies – eliminates “worked on my machine” 3. Package the application to enable repeatable installation and configuration into an environment 4. Environments deployment pipeline 1. Commit stage – build & package software, runs automated unit tests, and code quality (static analysis, coverage, style, etc.) 2. Package the code only once – use the same packages0 码力 | 8 页 | 23.08 KB | 5 月前3
k8s操作手册 2.3│ ├── service.yaml │ └── tests │ └── test-connec�on.yaml └── values.yaml # helm package --version 1.0.2 test-chart #将chart项目目录打包为一个 tgz压缩文件 Successfully packaged chart local/share/helm/plugins/helm-push # helm plugin list NAME VERSION DESCRIPTION cm-push 0.10.4 Push chart package to ChartMuseum # helm添加harbor的repo # helm repo add harbor-246 h�p://cof-lee.com/chartrepo/test-chart0 码力 | 126 页 | 4.33 MB | 1 年前3
共 4 条
- 1













