k8s操作手册 2.3
★★创建pod 创建单个pod,在可操作k8s集群的结点上创建一个yaml文件 # vi pod-nginx-web1-v1.19.5.yml #内容如下 apiVersion: v1 kind: Pod metadata: name: pod-nginx-web1-v1.19.5 #pod名,这个名称可带小数点 labels: labels: #给pod打标签,便于其他资源对它的选择 lbname: lbvalue-nginx-web1 spec: containers: #在spec次级,定义一组容器,-表示数组 - name: nginx-v1-19-5 metadata: name: svc-nginx-web1 #其他pod可直接访问此名称:servicePort,如 curl -kv h�p://svc-nginx-web1:2380/ spec: selector: #通过标签选择目标pod lbname: lbvalue-nginx-web1 #与目标pod的label相同,如果目标pod有多0 码力 | 126 页 | 4.33 MB | 1 年前3Velocity Conference 2015
ormance-best-practices-together-for-a-spa "We have created the web in our own image, and it is obese" Modern web hourglass, web tier is now thin, smarts moved to browser Metrics, metrics everywhere than any other metric Web Performance: 2 seconds is the magic number Whom did I meet?Attributions and References [1] Speaker Slides and Videos: http://velocityconf.com/devops-web-performance-2015/pub0 码力 | 4 页 | 176.79 KB | 5 月前3git 操作手册
h�ps://tortoisegit.org/ 使用TortoiseGit时,要求提前安装好git工具 ★部署gitlab仓库 gitlab是一个基于git实现的在线代码仓库软件,提供web可视化管理界面,通常 用于企业团队内部协作开发 ★安装gitlab-ce 部署gitlab-ce要求服务器内存>=4GB,本例使用操作系统为 Rocky Linux 8.8, gitlab-ce版本16 /var/log/gitlab/gitlab-rails/produc�on.log # tail -f /var/log/gitlab/gitlab-rails/produc�on_json.log ★web界面 ★管理员账号登录web界面及修改密码 浏 览 器 登 录 gitlab-ce , 用 户 名 root , 初 始 化 密 码 为/etc/gitlab/ini�al_root_password文件里的密码0 码力 | 35 页 | 1.69 MB | 1 年前3python3学习手册
-S /pypi命令即可 #最后创建一个web server(如nginx)监听7788端口,根目录为python 模块包所在目录 server { listen 7788; loca�on / { root /pypi; } } #测试,在浏览器打开以下地址(10.99.1.248为web server的ip) h�p://10.99.1.248:7788/simple/ __name__ == '__main__': test_tk() ★django模块 Django是一个高级的Python Web框架,可以快速开发安全和可维护的 网站。Django项目有一个内置的开发服务器,用于在没有任何外部 Web服务器的情况下立即运行应用程序。 # pip3 install django==5.0.1 import django print(django Star�ng development server at h�p://127.0.0.1:8000/ Quit the server with CTRL-BREAK. 以 上 命 令 启 动 一 个 web 服 务 器 , 监 听 8000 端 口 , 浏 览 器 访 问 h�p://127.0.0.1:8000/ 时,显示应用的欢迎页面 h�p://127.0.0.1:8000/admin/ 可0 码力 | 213 页 | 3.53 MB | 1 年前3A Seat at the Table - IT Leadership in the Age of Agility
book is meant to be, really. About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 4 页 | 379.23 KB | 5 月前3The DevOps Handbook
ability to learn from mistakes and diminish integrating that learning into future work d. Google Web Server (GWS) team was struggling with changes – Hard line: no changes would be accepted into GWS without0 码力 | 8 页 | 23.08 KB | 5 月前3A Seat at the Table: IT Leadership in the Age of Agility - Part 2
book is meant to be, really. About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 7 页 | 387.61 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
requires some sort of management.About the Author Mark Schwartz is an Enterprise Strategist at Amazon Web Services and the author of The Art of Business Value and A Seat at the Table: IT Leadership in the0 码力 | 7 页 | 387.48 KB | 5 月前3
共 8 条
- 1