Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

29 total results found

Image Pull Stuck

K8s Troubleshooting

Kube Event Log Stuck with the following log. Normal Pulling 30m kubelet Pulling image "registry.example.com/test/code-go:release-22971" Get Problem Node kubectl get po -o wide | grep foo kubectl get node -o wide Describe Node Status Check node event...

troubleshooting
k8s
image

Kubernetes CIDR

K8s Troubleshooting

Background Sealos 安装的 k8s 的 CIDR 是 100.64.xxx.xxx,会导致 keycloak 异常(什么异常?) SonyFlake 的 isPrivateIPv4 没有判断 100.xxx。 100.64.0.0/10 是 RFC 6598 定义的“共享地址”,不是 RFC1918 私有地址。 Basic Concepts CIDR (Classless Inter-Domain Routing): A method for representing IP address...

k8s
cidr
sealos
sonyflake
troubleshooting

kube-state-metrics

K8s Troubleshooting

Errors kube-state-metricsE0624 16:46:27.590502 1 metrics_handler.go:227] "Failed to write metrics" ^CE0624 16:47:27.573964 1 metrics_handler.go:227] "Failed to write metrics" err="failed to write help text: write tcp 100.81.9.63:8080->100.81.9.62:...

troubleshooting
k8s
kube-state-metrics

kubeadm Join Cluster Error

K8s Troubleshooting

背景 在 master 机器中使用 one-ansible 安装 k8s 集群。最终发现原因是 kubernetes.example.local 这个域名连不上,在新的节点上加上 host 重新执行 kubeadm join 就好了。 错误日志 kubeadm join kubernetes.example.local:6443 --token molqef.zcb8h6z6i59wxdvf --discovery-token-ca-cert-hash sha256:c146d7fb88ecc7e41389d7...

k8s
kubeadm
troubleshooting

NFS Mount Failed

K8s Troubleshooting

Errors SourceEvents: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedMount 9m39s (x19102 over 26d) kubelet MountVolume.SetUp failed for volume "pvc-510bc02...

k8s
pv
mount
troubleshooting

Rancher PVC Pending

K8s Troubleshooting

因为 local path storage 在动态创建 helper pod 的时候,没有成功拉到 helper pod 的镜像 Errors PVC Pending code-gitaly-data-code-gitaly-0-2-0 Pending local-path 216d Describe pvc. Type: Normal Reason: ExternalProvisioning Age: 4m32s (x15836 over 2d18h) From: ...

rancher
k8s
pvc
troubleshooting

Helm Secret Number

K8s Troubleshooting

Rander 会 load 所有版本的 Helm Secret,会卡死,要限制 helm 保留的版本。

k8s
rancher
secret
helm
troubleshooting

Calico/Node is Not Ready

K8s Troubleshooting

Errors Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning Unhealthy 3m18s (x9121 over 25h) kubelet, instance-smuk9oo0-2 ...

k8s
calico
troubleshooting

kubectl edit

K8s Commands

https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/ Examples Edit in JSON kubectl edit -o json deploy foo Change Editor KUBE_EDITOR="vim" kubectl edit deploy foo Save Config kubectl edit deploy foo --save-config 把本次修改后的完整资源配置,保存到 annotati...

commands
kubectl
edit
k8s