07 2022 档案

摘要:查看kubelet进程 修改配置文件,添加 --max-pods=10 [root@node1 ~]# vim /lib/systemd/system/kubelet.service.d/10-kubeadm.conf # Note: This dropin only works with kube 阅读全文
posted @ 2022-07-27 16:23 fengjian1585 阅读(353) 评论(0) 推荐(0) 编辑
摘要:1. node节点维护,驱逐node节点pod kubectl drain node1 --ignore-daemonsets 2. 恢复 kubectl uncordon node1 drain = cordon + evict 判断是否开启超线程 逻辑CPU个数: grep -c process 阅读全文
posted @ 2022-07-26 17:46 fengjian1585 阅读(292) 评论(0) 推荐(0) 编辑
摘要:删除每行开头或者末尾的空格和制表符 [root@localhost ~]# awk '{ sub(/^[ \t]+/, ""); print }' content.txt 删除指定列中 super 和 dirv awk '{ sub(/dirver\/|super\//, ""); print }' 阅读全文
posted @ 2022-07-22 11:17 fengjian1585 阅读(638) 评论(0) 推荐(0) 编辑
摘要:安装k8s 1.24版本,使用yum 安装了crio 出现 /var/log/message 日志中出现了 error adding seccomp filter rule for syscall bdflush : requested action matches default action o 阅读全文
posted @ 2022-07-20 17:21 fengjian1585 阅读(513) 评论(0) 推荐(0) 编辑
摘要:controller配置 [root@controller ~]# cat /etc/neutron/neutron.conf [DEFAULT] core_plugin = ml2 service_plugins = router allow_overlapping_ips = true tran 阅读全文
posted @ 2022-07-15 11:37 fengjian1585 阅读(253) 评论(0) 推荐(0) 编辑
摘要:一、测试环境二、查询当前openstack的网络类型三、neutron的配置(controller节点)1. 关闭Linuxbridge服务2. 重建neutron数据库3. 安装openvswitch软件包4. 配置ML2 插件5. 配置ML3 插件6. 配置openvswitch_agent7. 阅读全文
posted @ 2022-07-14 09:29 fengjian1585 阅读(1027) 评论(0) 推荐(0) 编辑
摘要:10.20.1.181 nova-api controller 10.20.1.182 nova-compute compute1 10.20.1.183 nova-compute compute2 实例迁移,需要nova用户在nova-compute 免密钥互通 10.20.1.182 上操作 修 阅读全文
posted @ 2022-07-13 14:40 fengjian1585 阅读(318) 评论(0) 推荐(0) 编辑
摘要:目前openstack场景常用的存储类型主要有cinder、manila和swift三种类型存储。 下面简单介绍三种存储的对比: Cinder:提供块存储服务,可以对接后端存储类型:本地磁盘、ip-san、fc-san、fusionstorage-block Manila:提供文件存储服务,可以对接 阅读全文
posted @ 2022-07-12 13:28 fengjian1585 阅读(1317) 评论(0) 推荐(0) 编辑
摘要:openstack 只有两种角色 user 或者 admin 角色 创建域default openstack domain create --description "Default Domain" default 创建 项目名admin openstack project create --dem 阅读全文
posted @ 2022-07-11 20:12 fengjian1585 阅读(995) 评论(0) 推荐(0) 编辑
摘要:一般命令 raw #发送一个原始的IPMI请求,并且打印回复信息。 Lan #配置网络(lan)信道(channel) chassis #查看底盘的状态和设置电源 event #向BMC发送一个已经定义的事件(event),可用于测试配置的SNMP是否成功 mc #查看MC(Management C 阅读全文
posted @ 2022-07-11 10:29 fengjian1585 阅读(768) 评论(0) 推荐(0) 编辑
摘要:1. 安装dashboard后, 无法访问 OpenStack Train The requested URL /auth/login/ was not found on this server. 解决:添加 WEBROOT = '/dashboard/'systemctl restart http 阅读全文
posted @ 2022-07-11 09:37 fengjian1585 阅读(252) 评论(0) 推荐(0) 编辑
摘要:安装openstack报错 net_mlx5: cannot load glue library: /lib64/libmlx5.so.1: version `MLX5_1.6' not found (required by /usr/lib64/dpdk-pmds-glue/librte_pmd_ 阅读全文
posted @ 2022-07-10 16:12 fengjian1585 阅读(673) 评论(0) 推荐(0) 编辑
摘要:1. 查看cpu是否支持kvm [root@sorl1 ~]$ grep -E 'vmx|svm' /proc/cpuinfo 2. 查看yum kvm [root@sorl1 ~]# yum list | grep kvm libvirt-daemon-kvm.x86_64 1.2.17-13.e 阅读全文
posted @ 2022-07-03 13:20 fengjian1585 阅读(129) 评论(0) 推荐(0) 编辑