Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the API service type configurable #19

Open
scealiontach opened this issue Sep 16, 2021 · 1 comment
Open

Make the API service type configurable #19

scealiontach opened this issue Sep 16, 2021 · 1 comment

Comments

@scealiontach
Copy link

There are a lot of gotchas with NodePorts, why not allow the service type to be specified? Even better since the API is just a web port in any case optionally fire up an ingress?

Even better fire up an Ingress(optionally). Incidentally, this tool is a fantastic idea.

@ams0
Copy link

ams0 commented Mar 7, 2022

I'm really interested in this too! I edited the service to be of type: LoadBalancer and it works fine, but you need to add the --insecure-skip-tls-verify option to your kubectl commands as the CERT_SANS variable is only set to the nodeIP. Would be great to have it configurable at the command line too.

~> KUBECONFIG=/Users/alessandro/Desktop/kubeconfig kubectl --insecure-skip-tls-verify get nodes -o wide
NAME                                                      STATUS   ROLES                  AGE   VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE       KERNEL-VERSION     CONTAINER-RUNTIME
kind-a6b8cc50-8128-4635-85b6-59fa572edbfc-control-plane   Ready    control-plane,master   11m   v1.21.2   172.18.0.2    <none>        Ubuntu 21.04   5.4.0-1069-azure   containerd://1.5.2

~> cat /Users/alessandro/Desktop/kubeconfig| grep server
    server: https://<externalIP>:30001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants