FatmanUK / k3s_playground

0 stars 0 forks source link

Replace kubectl calls with HTTP API calls #175

Open athajaerel opened 5 months ago

FatmanUK commented 5 months ago

kubectl present in:

FatmanUK commented 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.

athajaerel commented 4 months ago

Figured out tokens in the Prometheus manifest.

athajaerel commented 4 months ago

First one done.

athajaerel commented 4 months ago

Command usages:

FatmanUK commented 4 months ago

kubectl:

FatmanUK commented 4 months ago

❯ 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