上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: blockjobSyntax: blockjob domain path { [--abort] [--async] [--pivot] | [--info] [--raw] [--bytes] | [bandwidth] }Manage active block operations.管理活动块操 阅读全文
posted @ 2020-12-28 18:02 一切都是当下 阅读(644) 评论(0) 推荐(0) 编辑
摘要: blockcopySyntax:blockcopy domain path { dest [format] [--blockdev] | --xml file } [--shallow] [--reuse-external] [bandwidth] [--wait [--async] [--verb 阅读全文
posted @ 2020-12-28 18:01 一切都是当下 阅读(1132) 评论(0) 推荐(0) 编辑
摘要: 1、基本语法规则: 大小写敏感使用缩进表示层级关系缩进时不允许使用Tab键,只允许使用空格。缩进的空格数目不重要,只要相同层级的元素左侧对齐即可 yaml 格式 缩进 使用空格缩进,缩进距离为两个空格,不能用tab缩进 .yaml 文件开头 以” “ 开头,表明一个文件的开始 列表表示 使用一个短横 阅读全文
posted @ 2020-11-18 11:32 一切都是当下 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 错误样例 [root@kubemaster ~]# cat cw_test.yaml apiVersion: v1 kind: Pod metadata: name: pod_demo_cw namespace: default labels: app: ngix_test_pod spec: co 阅读全文
posted @ 2020-11-18 11:18 一切都是当下 阅读(2964) 评论(0) 推荐(0) 编辑
摘要: 安装指定版本的Docker-CE: Step 1: 查找Docker-CE的版本:yum list docker-ce.x86_64 --showduplicates | sort -r Loading mirror speeds from cached hostfile Loaded plugin 阅读全文
posted @ 2020-11-15 10:08 一切都是当下 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 环境需求 操作系统:centos 7.4 + 硬件需求:CPU>=2c ,内存>=2G 环境初始化设置 下列的环境初始化设置,是要求在所有的节点上即master和node节点上统一要做的操作 1、设置主机名称hostnamectl set-hostname k8s-node1 hostnamectl 阅读全文
posted @ 2020-11-15 10:03 一切都是当下 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 1、yum代理设置编辑文件为:/etc/yum.conf 在里面添加这一行:proxy=IP:PORT这里的IP 为你要设置的IP ,PORT 是你要设置的端口 2、wget的代理设置 用vi/vim编辑器打开/etc/wgetrc,找到代理设置所在行,然后追加如下内容:# You can set 阅读全文
posted @ 2020-11-14 18:36 一切都是当下 阅读(984) 评论(0) 推荐(0) 编辑
摘要: Centos开放指定端口命令1、开启防火墙systemctl start firewalld 2、开放指定端口firewall-cmd --zone=public --add-port=6666/tcp --permanent--add-port=portid[-portid]/protocol命令 阅读全文
posted @ 2020-11-14 16:30 一切都是当下 阅读(22822) 评论(0) 推荐(0) 编辑
摘要: 问题现象 部署完master节点以后,执行kubectl get cs命令来检测组件的运行状态时,报如下错误: [root@k8s-master yum.repos.d]# kubectl get cs Warning: v1 ComponentStatus is deprecated in v1. 阅读全文
posted @ 2020-11-14 16:26 一切都是当下 阅读(13485) 评论(0) 推荐(2) 编辑
摘要: kubectl describe <resource type> <resource name>显示资源详细信息 kubectl get events显示kubernetes 系统中最近的一些事件 kubectl get <resource type> <resource name> -o yaml 阅读全文
posted @ 2020-11-05 20:09 一切都是当下 阅读(453) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 14 下一页