k8s-proxmox / cluster-api-provider-proxmox

Cluster API provider implementation for Proxmox VE
Apache License 2.0
95 stars 11 forks source link

Use websocket instead of ssh so that we don't need to prepare ssh configs for all proxmox node #53

Closed sp-yduck closed 11 months ago

sp-yduck commented 11 months ago

Currently CAPPX uses ssh to perform remote command against proxmox node. to use ssh, we are specifying NODE_URL, NODE_USER, NODE_PASSWORD. It means, if we have multiple proxmox nodes, we need to specify NODE_URL, NODE_USER, NODE_PASSWORD for all proxmox nodes and it obviously not a good idea. Since Proxmox supports vnc websocket (https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/vncwebsocket) and it can be used without any additional configuration like other rest api endpoint, it would be great choice to perform remote command against to multiple proxmox nodes.

related to #6