摘要: import asyncio #运行器 async def hello_async(delay, words): await asyncio.sleep(delay) print(words) #协程与任务 async def test_async(): #等待第一个协程hello_async执行完 阅读全文
posted @ 2024-04-03 21:11 flag_HW 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 多进程 多线程 启动并行任务 阅读全文
posted @ 2024-03-10 17:59 flag_HW 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 常用规则示例 修改chain默认策略 #filter表在INPUT chain默认策略为ACCEPT[root@iptables_host02 ~]# iptables -nvL INPUTChain INPUT (policy ACCEPT 0 packets, 0 bytes)#将filter表 阅读全文
posted @ 2021-10-31 15:23 flag_HW 阅读(858) 评论(0) 推荐(0) 编辑
摘要: iptables 基础语法 阅读全文
posted @ 2021-10-25 23:27 flag_HW 阅读(1674) 评论(0) 推荐(0) 编辑
摘要: k8s namespace 阅读全文
posted @ 2021-10-05 21:56 flag_HW 阅读(209) 评论(0) 推荐(0) 编辑
摘要: k8s deployment 阅读全文
posted @ 2021-10-05 21:17 flag_HW 阅读(605) 评论(0) 推荐(0) 编辑
摘要: k8s service secret configmap 阅读全文
posted @ 2021-10-05 17:05 flag_HW 阅读(371) 评论(0) 推荐(0) 编辑
摘要: k8s PV PVC 阅读全文
posted @ 2021-10-05 16:13 flag_HW 阅读(431) 评论(0) 推荐(0) 编辑
摘要: k8s nfs 阅读全文
posted @ 2021-10-05 13:06 flag_HW 阅读(968) 评论(0) 推荐(0) 编辑
摘要: k8s service clusterip nodeport 阅读全文
posted @ 2021-10-04 21:38 flag_HW 阅读(70) 评论(0) 推荐(0) 编辑