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

kubectl notworking through kubeapi #148

Open
styk-tv opened this issue Apr 24, 2017 · 3 comments
Open

kubectl notworking through kubeapi #148

styk-tv opened this issue Apr 24, 2017 · 3 comments
Assignees
Milestone

Comments

@styk-tv
Copy link
Contributor

styk-tv commented Apr 24, 2017

used this config to connect: https://github.com/madcore-ai/core/blob/development/kubernetes/cluster/ssl/kube.conf

default kubeapi through haproxy 443. not working as ca certificate is not a match (let's encrypt)

tried opening up 8443 on followme group.

8443 local certificate has no master domain when generated
Unable to connect to the server: x509: certificate is valid for kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, not kubeapi.funcore.madcore.cloud

this is important but not urgent, marking to be fixed for 0.7

@styk-tv styk-tv added this to the 0.7 milestone Apr 24, 2017
@styk-tv
Copy link
Contributor Author

styk-tv commented Apr 24, 2017

any way to configure kubeapi haproxy termination at level 4 so it hits 8443 with kube cert and not haproxy reverse? it would have to have kubeapi.. adress added to CSR for kubernetes

@hantden
Copy link
Contributor

hantden commented May 29, 2017

example for connect trough kubeapi endpoint:

kubectl get pods --all-namespaces --server="https://kubeapi.hantteam.coxodox.com" 
             --username="test" --password="test" --insecure-skip-tls-verify=true

@styk-tv
Copy link
Contributor Author

styk-tv commented May 30, 2017

thanks for above, however:

  • this task can only be closed when we connect through a valid ssh/https issued by letsencrypt assigned to the core. ca certificates are publicly listed can we use those.

  • kubectl configuration file is pasted here and linked to our wiki

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