In the process of the next OS reimage during the next k8s upgrade we should rename the wikikube worker nodes to wikikube-workerXXXX using the reimage cookbook (https://gerrit.wikimedia.org/r/c/operations/cookbooks/+/1008818) or something like a rolling-reimage cookbook for k8s.
Procedure (from T372878)
Workers
Rename
- Locally, use add_k8s_node.py --puppet-dir $PUPPET_DIR --netbox-url https://netbox.wikimedia.org --netbox-token $NETBOX_TOKEN --task-id T365571 --rename-only $FQDNS (from serviceops kitchensink, make sure to pull main)
- Follow the instructions
- Make sure that the old names were correctly deactivated from puppetserver sudo puppet node deactivate $old_fqdn
Note: When creating a relabel task, look if there isn't one already open and edit it to cut down on the number of small tasks for DC-Ops