上一页 1 2 3 4 5 6 ··· 15 下一页
摘要: 使用sysdig查看容器里的系统调用,sysdig -p "*%evt.num %evt.cpu %proc.name (%thread.tid) %evt.dir %evt.type %evt.args",sysdig -p "*%evt.time,%proc.name,%evt.type" container.id=a74aff1e39a2,docker run -i -dt --name sysdig --restart=always --privileged -v /var/run/docker.sock:/host/var/run/docker.sock -v /dev:/host/dev -v /proc:/host/proc:ro -v /boot:/host/boot:ro -v /lib/modules:/host/lib/modules:ro -v /usr:/host/usr:ro sysdig/sysdig,alias sysdig='docker exec -it sysdig sysdig' 阅读全文
posted @ 2024-05-31 16:12 人生的哲理 阅读(289) 评论(1) 推荐(0) 编辑
摘要: 在kubernetes里使用seccomp限制容器的系统调用,Secure Computing Mode,系统调用,使用seccomp限制docker容器系统调用,strace -fqc,SCMP_ACT_ALLOW,SCMP_ACT_LOG,SCMP_ACT_ERRNO,配置seccomp允许pod进行所有系统调用,配置seccomp禁止pod进行所有系统调用,配置seccomp允许pod进行50个系统调用 阅读全文
posted @ 2024-05-30 16:23 人生的哲理 阅读(369) 评论(1) 推荐(0) 编辑
摘要: 在kubernetes里使用AppArmor限制容器对资源的访问,AppArmor,强制访问控制(MAC),SELinux,使用AppArmor限制nginx程序访问目录,complain模式,enforce模式,aa-autodep,aa-logprof,aa-complain,aa-enforce,#include 阅读全文
posted @ 2024-05-29 16:59 人生的哲理 阅读(392) 评论(1) 推荐(1) 编辑
摘要: 删除不必要的内核模块,lsmod,删除模块:modprobe -r i2c_piix4,加载模块:modprobe i2c_piix4 ,blacklist evbug 阅读全文
posted @ 2024-05-28 16:12 人生的哲理 阅读(286) 评论(2) 推荐(0) 编辑
摘要: 配置Ingress支持HTTPS访问(二):使用cert-manager申请证书,Kubernetes,Docker,Ubuntu ,Ingress,HTTPS,Let's Encrypt,cert-manager,CA,SSL/TLS证书,SSL/TLS证书,ClusterIssuer,Issuer,Cloudflare DNS服务器,secret存储API token 阅读全文
posted @ 2024-05-24 18:44 人生的哲理 阅读(605) 评论(1) 推荐(1) 编辑
摘要: Kubernetes集群中配置Ingress支持HTTPS访问(一):cfssl ,Kubernetes,docker ,HTTPS,Ingress,对称加密,非对称加密,中间人攻击,CA,NodePort,LoadBalancer 阅读全文
posted @ 2024-05-22 17:50 人生的哲理 阅读(870) 评论(2) 推荐(0) 编辑
摘要: Visual Studio Code(vscode)下载慢 插件安装失败解决方案,解决Visual Studio Code(vscode)下载慢的问题,问题描述,解决方案,解决Visual Studio Code(vscode)安装插件失败的问题 阅读全文
posted @ 2023-08-25 11:41 人生的哲理 阅读(5218) 评论(3) 推荐(0) 编辑
摘要: 设置服务账号Service Accounts(sa)的token不挂载到pod,Service Accounts(sa)简介,在pod里设置sa的token不挂载到pod,在sa里设置sa对应的token不挂载到pod上 阅读全文
posted @ 2023-08-23 01:35 人生的哲理 阅读(898) 评论(1) 推荐(0) 编辑
摘要: MD5算法简介,什么是校验和,使用MD5算法和sha512sum校验和检验文件完整性 阅读全文
posted @ 2023-08-21 12:15 人生的哲理 阅读(3267) 评论(1) 推荐(2) 编辑
摘要: 使用kube-bench检测Kubernetes集群安全,CIS (Center for Internet Security)简介,什么是Kube-Bench?,使用kube-bench检测不安全的设置,安装kube-bench,kube-bench检测etcd组件,kube-bench检测master节点,kube-bench检测worker节点 阅读全文
posted @ 2023-08-18 11:49 人生的哲理 阅读(871) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 15 下一页