After #694 goes through we need a PR to add a bastion configuration feature.
I think the main use case is bastion instance size, but we should also be able to turn it on/off and support things like DNS / ephemeral TCP ports, etc
Some design feedback:
--bastion-name="bastion" which would then create the route 53 record such that bastion of the --dns-zone domain mapped to the ASG's ELB.t2.medium default instance size with a parallel --bastion-instance-sizessh to the bastion: ssh -i ~/.ssh/id_rsa [email protected] will need some updating.It would be great if we can give the user - the flexibility to use an existing bastion from his/her current vpc (which can be vpc-peered with the kops created vpc)
@alok87 it would be great if you could take a stab at this issue!
Basically the high level overview is that we want the bastion server to have some useful features for users..
@jmound has called out a few features he would find useful, and I mentioned a few above..
The steps we would like to see for a larger feature like this are
@jmound regarding https://github.com/kubernetes/kops/issues/836#issuecomment-259741194
Instead of turning off bastion and configuring cluster manually with the exisitng bastion. It would be nice if:
kops peers the current vpc with the new vpc created for kubernetes.kops uses the current vpc bastion for the private kube cluster on the new vpcWhat do you think?
I think that is likely too complicated to generalize. For example, often, a peered VPC is not needed. Most commonly, it's a single VPC, and access is provided separately via VPN and not via a bastion host.
@kris-nova any idea on the ssh key thing? Kinda a pain :)
We have PR inbound thay may help with this ... I am looking through issues to test against #1183
What does this PR address? We are moving bastions to instancegroups, so the bastion can be deleted with an edit.
I have a bunch of data -
Bastions are now instance groups. You can do full CRUD on them. Who can test?
DNS and the note on SSH are the two that are outstanding. Can someone open another issue on each?
What is remaining here?
We need to test the above comment :)
Closing RE: 1.5.0
Most helpful comment
It would be great if we can give the user - the flexibility to use an existing bastion from his/her current vpc (which can be vpc-peered with the kops created vpc)