Is there a proper way to enable front proxy tls for extension api server
See original GitHub issueHi all! I’m trying to play with kubevirt on top of microk8s and need to enable
--proxy-client-cert-file=<path to aggregator proxy cert>
--proxy-client-key-file=<path to aggregator proxy key>
flags for kube api server. Have anyone advice how to generate cert and key to do it? Related issue https://github.com/kubevirt/kubevirt/issues/1126
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Is there a proper way to enable front proxy tls for extension api ...
Hi all! I'm trying to play with kubevirt on top of microk8s and need to enable --proxy-client-cert-file= --proxy-client-key-file= flags for ...
Read more >Configure the Aggregation Layer - Kubernetes
The Kubernetes apiserver connects to the extension apiserver over TLS, authenticating itself using a client certificate. You must provide the ...
Read more >Configuring TLS access to an API for the Private Cloud
To enable two-way TLS, set the <ClientAuthEnabled> element to true , and specify a truststore using the <TrustStore> element.
Read more >TLS — envoy 1.25.0-dev-18e3d1 documentation
Resumption can be performed across hot restarts and between parallel Envoy instances (typically useful in a front proxy configuration).
Read more >Kubernetes API Aggregation Setup — Nuts & Bolts - Medium
It is responsible for discovering and registering extension apiservers and acting as a front-proxy to the individual extension apiservers.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Based on the comment https://github.com/kubevirt/kubevirt/issues/1126#issuecomment-396360167 we can append the following into
/var/snap/microk8s/current/args/kube-apiserver
:Then do a MicroK8s restart:
Wait for the pods to restart. Have a look at
microk8s.kubectl get all --all-namespaces
.You will then be able to do a:
Or put the kubeconfig in the default location:
Thanks @ktsakalozos Actually I was only looking for how to use virtctl with microk8s, so I only did the 2nd half of your comment (e.g. using --kubeconfig with virtctl and saving the kubeconfig from microk8s, these worked fine with current microk8s, kubevirt, virtctl versions).