k8s操作手册 2.3本文档,则说明接受以上2个条 款。 作者:李茂福 更新日期:2023-12-29 ★第0章、K8S集群搭建准备工作 相关单词原义: docker 码头工人 pod 集装箱 kubernetes 舵手,领航员 helm 舵轮,驾驶盘 chart 图表,海图 ①k8s对系统要求 linux内核在3.10及以上,服务器规格2核cpu,2G内存及以上,可以装在虚拟机 里,也可以装在实体机上 ②规划主机名及ip k8s的服务器使用固定ip地址,配置主机名,要求能解析相应的主机名(master 结点)到对应的ip地址,可以使用内网集群的dns服务器或写入/etc/hosts文件 里。如: 主机名 ip地址 k8s-master1.cof-lee k8s-node01.cof-lee.com 10.99.1.61 k8s-node02.cof-lee.com 10.99.1.62 规划Pod网络: 10.244.0.0/16 规划Service网络: 10.7.0.0/16 # pod网络和service网络都要求为16位的地址块,且不能与环境中其他网络地址 段冲突 # hostnamectl set-hostname k8s-master10 码力 | 126 页 | 4.33 MB | 1 年前3
DoD CIO Enterprise DevSecOps Reference Design - Summaryauthentication (mTLS), an encrypted communication tunnel between containers, strong identities per Pod using certificates, and whitelisting rather than blacklisting. Services that support the security0 码力 | 8 页 | 3.38 MB | 6 月前3
git 操作手册user.name #查看用户名 ★以上3个范围的设置优先级: 本地设置 > 全局设置 > 系统设置 ★push.default配置项 # git config --local push.default simple #设置推送模式 nothing 直接push会出错,需要显式的指出推送的远程分支,例如 库和拉取数据的远程仓库不一 致,那么该模式会像current模式一样进行操作。因为该选项对于新 手来说是最安全的,所以在git 2.0中,simple是push.default的默认 值配置项(2.0以前的默认配置项是matching) matching 推送本地和远程都存在的同名分支 ★仓库操作 # mkdir ~/testgit #创建项目目录 1 iburst prefer #配置集群可访问的ntp服务器 # �medatectl set-�mezone Asia/Shanghai #设置时区 # systemctl restart chronyd # chronyc sources -v ★配置yum源 # curl -ks h�ps://packages.gitlab0 码力 | 35 页 | 1.69 MB | 1 年前3
python3学习手册#可以指定成其他的pip源地址 ①命令行指定软件源 #pip install 包名 -i h�ps://xxx.com/simple --trusted-host xxx.com ②写入配置文件 在当前用户家目录下创建.pip目录,其下创建pip.conf文件 (windows为家目录下的pip目录下创建pip.ini文件) # mkdir ~/.pip # vi ~/.pip/pip --remove-key channels #还原默认源 # conda config #生成默认配置文件,在~/.condarc # conda search pytorch #从所有channels中查找软件 # #查看所有配置项 # vi .condarc #添加proxy_servers配置 proxy_servers: h�p: h�p://10.99.1.1:10809 h�ps: h�p://10.99.1.1:10809 pip的代理需要单独配置 # mkdir ~/.pip # vi0 码力 | 213 页 | 3.53 MB | 1 年前3
Redis操作手册在/usr/local/redis/bin/目录下 # vi /root/redis-6.2.13/redis.conf #源码解压目录下有redis.conf默认配置文 件,添加或修改以下配置 bind 0.0.0.0 port 6379 daemonize yes requirepass Centos123 # /usr/local/bin/redis-server /root/redis-60 码力 | 5 页 | 80.37 KB | 1 年前3
postgresql操作手册postgres:postgres /data_pg # vi /var/lib/pgsql/data/postgresql.conf #pg-10版本,添加或修改以下配置 data_directory = '/data_pg/data/' # mv /var/lib/pgsql/* /data_pg/ #将原数据目录下所有内容移动到新数0 码力 | 17 页 | 445.84 KB | 1 年前3
The Phoenix Projectpiling up at the bottleneck.” Resource Utilization “The wait time is the ‘percentage of time busy’ divided by the ‘percentage of time idle.’ In other words, if a resource is fifty percent busy, then if a resource is ninety percent busy, the wait time is ‘ninety percent divided by ten percent’, or nine hours. In other words, our task would wait in queue nine times longer than if the resource were0 码力 | 3 页 | 154.45 KB | 6 月前3
The DevOps Handbookrun in parallel iii. Generally, limit manual testing if automated tests haven’t passed iv. For resource intensive suites, performance tests, IA, execute as frequently as possible i. WRITE OUR AUTOMATED0 码力 | 8 页 | 23.08 KB | 6 月前3
A Seat at the Table: IT Leadership in the Age of Agility - Part 2project sponsors (1) developing a formal proposal that incorporates estimated benefits, risks, and resource requirements and (2) submitting the proposal to decision makers who select preferred investments0 码力 | 7 页 | 387.61 KB | 6 月前3
共 9 条
- 1













