teddy-ferdinand / vagrant-k3s-cluster

Déploiement d'une infrastructure K3S avec Vagrant
Apache License 2.0
21 stars 18 forks source link

Improve kubectl configuration #2

Closed nicolasbrechet closed 3 years ago

nicolasbrechet commented 3 years ago

Hello,

As I'm trying to use this project, I had an issue with kubectl. Running it from a Mac, the configure_kubectl.sh script downloads a Linux binary.

In current versions of k3s, authentication to the cluster is no longer done with a password, so instead of grabbing the password from the configuration file, I think it's easier to simply download it from the kubemaster1 node.

Thanks for your work !

nicolasbrechet commented 3 years ago

Closing as I'm actually bypassing the traffic reverse proxy by using the k3s config file. When I update the config file with the proxy IP, I get certificate errors. I'll certainly open a new PR when I find a fix

teddy-ferdinand commented 3 years ago

Traefik wasn't able to manage mTLS configuration until few month ago, I'll try to update this repository to be able to use SSH key instead of password ;)