瀏覽代碼

Update 'content/posts/kubernetes-label-length.md'

master
Marcus Noble 3 週之前
父節點
當前提交
e8c7513a4d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      content/posts/kubernetes-label-length.md

+ 1
- 1
content/posts/kubernetes-label-length.md 查看文件

@@ -8,7 +8,7 @@ images:
- /images/kubernetes-label-length.gif
---

It turns out that labels _values_ in Kubernetes have a limit of 63 characters!
It turns out that label _values_ in Kubernetes have a limit of 63 characters!

I discovered this today when none of my nodes seemed to be connecting to the control plane. Eventually discovered the hostname of the node was longer than 63 characters (mainly due to multiple subdomain levels) and so the `kubernetes.io/hostname` label being automtically added to the node was causing Kubernetes to reject it.


Loading…
取消
儲存