Skip to content

Commit

Permalink
docs: added more docs for the new label
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmetzner committed Oct 28, 2024
1 parent 33ba759 commit 32e27a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ metadata:
node.kubernetes.io/instance-type: cx22
topology.kubernetes.io/region: fsn1
topology.kubernetes.io/zone: fsn1-dc8
instance.hetzner.cloud/provided-by: cloud
name: node
spec:
podCIDR: 10.244.0.0/24
Expand Down
3 changes: 3 additions & 0 deletions docs/robot.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ The Node controller adds information about the server to the Node object. The va
- `topology.kubernetes.io/zone`
- Examples: `hel1-dc5` `fsn1-dc16`
- We use the lowercase variant of the location to match the Cloud Datacenters
- `instance.hetzner.cloud/provided-by`
- Examples: `robot` `cloud`
- We detect if the node is a Robot server or Cloud VM and set the label accordingly
- Provider ID
- We set the field `Node.spec.providerID` to identify the Robot server after the initial adoption.
- The format is `hrobot://$SERVER_NUMBER`, but we can also read from the deprecated format used by [syself/hetzner-cloud-controller-manager](https://github.com/syself/hetzner-cloud-controller-manager): `hcloud://bm-$SERVER_NUMBER`
Expand Down

0 comments on commit 32e27a7

Please sign in to comment.