Open athajaerel opened 5 months ago
curl -k -H"Authorization: Bearer $TOKEN" -XGET https://10.11.0.2:6443//api/v1/nodes
Need token. Harder than it looks.
Figured out tokens in the Prometheus manifest.
First one done.
Command usages:
handlers: sudo {{svctl}} restart {{svname}}
k3s_destroy_all: umount
all_wall: wall
guest_ready: chsh dd
helm_install: tar
k3s_ready: tar
nodes_ready: iscsi_iname
rhel_ready: grub2-mkconfig mount yum x2
void_ready: update-grub
k3s_token_create: k3s server pkill
k3s_labels_apply: kubectl !!!
k3s_base_install: export --- could get this another way?
meta_images_fetch: docker pull docker save
meta_manifests_patch: kubectl !!!
meta_package_install: xbps-install x3 mount yum alternatives
meta_manifests_install_new: kubectl !!! kubectl !!!
kubectl:
❯ ag kubectl --ignore manifests --ignore scripts --ignore files --ignore plugins
meta_manifests_install_new meta_manifests_patch dashboard_install k3s_base_install rolling_service_restart
kubectl present in: