k8s操作手册 2.3
51 k8s-master2.cof-lee.com 10.99.1.52 k8s-master3.cof-lee.com 10.99.1.53 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 # 99.1.53 k8s-master3.cof-lee.com k8s-master3 10.99.1.61 k8s-node01.cof-lee.com k8s-node01 10.99.1.62 k8s-node02.cof-lee.com k8s-node02 EOF ★k8s初始化时要求系统里有/etc/resolv.conf文件及系统对外通信网口上配置有 默认路由;根据实际情况添加 set-�mezone Asia/Shanghai #设置时区 # systemctl restart chronyd # chronyc sources -v ⑦设置网络参数 #首先加载模块 # cat > /etc/modules-load.d/br_ne�ilter.conf <0 码力 | 126 页 | 4.33 MB | 1 年前3python3学习手册
★设置源码文件字符编码 File → Se�ngs → Editor → File Encodeings → 右侧的“Global Encoding”设 置目标字符编码,默认UTF-8 ★pycharm安装模块 File → Se�ngs → Project: xxx →Python Interpreter → 右 侧 选 择 目 标 python解释器,再点击下面的+加号 ★第2章、Centos7源码安装python3 __name__ == "__main__": print(func_out()) 结果: Hello World ★第6章、python3内置函数 内置函数是指不用import导入任何模块就能直接使用的函数 ①算术相关 abs(x) #返回x的绝对值 min(x1,x2,x3) #返回最小值 hex(x) #将x转换成16进制数,带0x oct(x) #类的属性,一个字典,由类的数据属性组成 __doc__ #类的文档字符串 __name__ #类名 __module__ #类定义所在的模块 __bases__ #类的所有父类,一个元组 ⑥析构函数 __del__(self) #析构方法,在对象销毁时被调用 ⑦特殊属性 _protedA�r0 码力 | 213 页 | 3.53 MB | 1 年前3DevOps Meetup
Route Adds – requires heightened security access Database Data Script Execution Load Balancer Node Disablement OS and Security Patching Requesting access to technology specific dashboards and0 码力 | 2 页 | 246.04 KB | 5 月前3
共 3 条
- 1