pressly / sup

Super simple deployment tool - think of it like 'make' for a network of servers
https://pressly.github.io/sup
MIT License
2.48k stars 176 forks source link

Feature Request: Add kubernetes pod connection type #160

Closed stephencheng closed 5 years ago

stephencheng commented 5 years ago

Give that I have a KUBECONFIG with all certs and cluster info configured I want that I am able to run sup command(shelll command etc) in side the kubernetes pod instead of ssh connection by default

This is similar to ansible connection plugin, such as docker/kubectrl: https://docs.ansible.com/ansible/latest/plugins/connection.html#using-connection-plugins

Essentially, the connection will be established via command: kubectl exec -it pod_name /bin/bash

Is this possible?

VojtechVitek commented 5 years ago

This is not possible. Sup was designed to work over SSH only. And I don't intend to change that.

I'd not combine Sup with Kubernetes; unless you want to SSH into the kubelet nodes.