摘要: display password controlsysundo password control enablelocal-user xxxx-userpassword cipher xxxxpwdquitsave 阅读全文
posted @ 2019-10-29 14:05 walkersss 阅读(200) 评论(0) 推荐(0) 编辑
摘要: [h3c]public-key local create rsa回车[h3c]public-key local create dsa回车[h3c]user-interface vty 0 4[h3c-ui-vty0-4]authentication-mode scheme[h3c-ui-vty0-4 阅读全文
posted @ 2019-10-29 14:02 walkersss 阅读(3639) 评论(0) 推荐(0) 编辑
摘要: netsh winsock reset, 这个命令是修复WINSOCK2,可是你把WINSOCK和WINSOCK2删除了,修复肯定无效,所以要重新安装Internet 协议。1:删除已损坏的注册表项1. 单击“开始”,然后单击“运行”。 2. 在“打开”框中,键入 regedit,然后单击“确定”。 阅读全文
posted @ 2019-10-29 14:01 walkersss 阅读(1970) 评论(0) 推荐(0) 编辑
摘要: 标准输入,标准输出,错误输出(0 1 2)>/dev/null 2>&1。这条命令其实分为两命令,一个是>/dev/null,另一个是2>&1>/dev/null 2>&1 的作用就是让 标准输出、错误输出 重定向到/dev/null中(丢弃标准输出)2>&1 0 标准输入 /proc/self/f 阅读全文
posted @ 2019-10-29 09:19 walkersss 阅读(2353) 评论(0) 推荐(0) 编辑
摘要: yaml 文件用法https://yaml.orghrjr.yamlapiVersion: v1kind: Podmetadata: name: hrjr-web labels: app: webspec: containers: - name: front-end image: nginx por 阅读全文
posted @ 2019-10-28 19:12 walkersss 阅读(414) 评论(0) 推荐(0) 编辑
摘要: pod健康检测 方法:exec http tcpSocket1) liveness-exec.yaml apiVersion: v1kind: Podmetadata: name: liveness-exec labels: app: livenessspec: containers: - name 阅读全文
posted @ 2019-10-28 19:08 walkersss 阅读(492) 评论(0) 推荐(0) 编辑
摘要: hook 钩子函数 生命周期 lifecycle/postStart/preStophook-demo1.yaml lifecycle/postStart apiVersion: v1kind: Podmetadata: name: hook-demo1 labels: app: hookspec: 阅读全文
posted @ 2019-10-28 19:07 walkersss 阅读(1509) 评论(0) 推荐(0) 编辑
摘要: 安装k8s集群 master/node机器的基础设置systemctl disable firewalldsystemctl stop firewalldvi /etc/selinux/configSELINUX=disabled关闭 swapswapoff -avi /etc/fstab#/dev 阅读全文
posted @ 2019-10-28 01:40 walkersss 阅读(787) 评论(0) 推荐(0) 编辑
摘要: 来自:https://www.cnblogs.com/RainingNight/p/deploying-k8s-dashboard-ui.html kubernetes-dashboard(1.8.3) Kubernetes Dashboard 是一个管理Kubernetes集群的全功能Web界面, 阅读全文
posted @ 2019-10-28 00:57 walkersss 阅读(665) 评论(0) 推荐(0) 编辑
摘要: 转至:https://www.cnblogs.com/ldsweely/p/9400583.html 0、思路 创建一个新的逻辑分区,将新的逻辑分区格式化ext3(或其他类型)的文件系统,mount到磁盘空间不够的文件系统,就跟原来的分区/文件系统一样的使用 1、准备 1.1 注意使用VMware自 阅读全文
posted @ 2019-10-27 21:56 walkersss 阅读(555) 评论(0) 推荐(0) 编辑