随笔分类 -  kubernetes

k3s k8s 修改硬盘阈值修改
摘要:1. k3s agent 客户端修改 # vim /etc/systemd/system/k3s-agent.service ExecStart=/usr/local/bin/k3s \ agent --kubelet-arg eviction-hard=imagefs.available<6Gi, 阅读全文

posted @ 2025-03-20 14:04 正义的伙伴! 阅读(14) 评论(0) 推荐(0)

k3s 错误以及异常处理
摘要:1. "Unable to authenticate the request" err="[x509: certificate has expired or is not yet valid: current tim...... see https://github.com/k3s-io/k3s/i 阅读全文

posted @ 2024-03-20 16:48 正义的伙伴! 阅读(245) 评论(0) 推荐(0)

helm 备忘
摘要:helm 删除历史记录 # 这个就是删除历史记录, history-max=0 默认 10 个 helm upgrade -n test test ./helm-app/test --history-max=1 阅读全文

posted @ 2024-03-04 15:09 正义的伙伴! 阅读(20) 评论(0) 推荐(0)

kubenetes 报错排查
摘要:1. 报 code = Unknown desc = failed to get sandbox ip: check network namespace closed: remove netns: unlinkat /var/run/netns/cni-2502ee8a-9f06-2a44-66c6 阅读全文

posted @ 2023-11-03 12:45 正义的伙伴! 阅读(475) 评论(0) 推荐(0)

kubernetes 命令备忘
摘要:命令操作 执行 pod shell kubectl exec -it zookeeper-0 -n lvya-devops -- /bin/bash (-- 不可缺) 删除 evicted 状态的 pod kubectl get pods -n lvya-devops | grep Evicted 阅读全文

posted @ 2022-02-10 09:53 正义的伙伴! 阅读(24) 评论(0) 推荐(0)

kubernetes 修改 可用端口号
摘要:kubernetes 版本 1.14.3 provided port is not in the valid range. The range of valid ports is 30000-32767在 Kubernetes(k8s) 创建 service 使用nodePort 暴露 外部端口63 阅读全文

posted @ 2020-04-03 15:09 正义的伙伴! 阅读(3926) 评论(0) 推荐(0)

kubernetes 镜像拉取失败解决方案
摘要:k8s在使用编排(manifest)工具进行yaml文件启动pod时,会遇到官方所给例子中spec.containers.image包含: quay.io/coreos/example_gcr.io/google_containers/example_12也就是说,从quay.io和gcr.io进行 阅读全文

posted @ 2020-04-03 13:19 正义的伙伴! 阅读(5635) 评论(1) 推荐(0)

导航

< 2025年5月 >
27 28 29 30 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
1 2 3 4 5 6 7
//增加一段JS脚本,为目录生成使用
点击右上角即可分享
微信分享提示