kubesphere/kubekey

Support adding annotations for nodes

Open

#1,785 opened on Mar 28, 2023

View on GitHub
 (2 comments) (0 reactions) (1 assignee)Go (820 forks)auto 404
good first issuekind/feature-request

Repository metrics

Stars
 (2,815 stars)
PR merge metrics
 (Avg merge 20d 9h) (31 merged PRs in 30d)

Description

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}}

Contributor guide