05 2023 档案
摘要:ansible_os_family CentOS - name: Gather facts and filter CentOS hosts hosts: os_version gather_facts: true tasks: - name: Check CentOS hosts assert: t
阅读全文
摘要:脚本内容 删除脚本 while IFS= read -r ip; do echo -e "\e[1;32m$ip\e[0m" && sed -i "/$ip/d" node; done < a 校验脚本 while IFS= read -r ip; do if grep -q "$ip" node;
阅读全文
摘要:事件查看 查看事件并输出资源类型名称 kubectl get events -A -o=jsonpath='{range .items[*]}{.involvedObject.namespace} {.involvedObject.name} {.involvedObject.kind} {.sou
阅读全文