kubesphere / kubekey

Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥 ⎈ 🐳
https://kubesphere.io
Apache License 2.0
2.26k stars 534 forks source link

Support adding annotations for nodes #1785

Open pixiake opened 1 year ago

pixiake commented 1 year ago

When installing or adding nodes, kk should support setting annotations for nodes according to the configuration.

such as:

spec:
  hosts:
  - {name: node2, address: 172.16.0.3, internalAddress: 172.16.0.3, password: "Qcloud@123", annotations: {node.alpha.kubernetes.io/ttl: "0", projectcalico.org/IPv4IPIPTunnelAddr: 10.233.96.0}}
doublewaters commented 1 year ago

Is this issue being resolved?If not, I want to fix this issue