Question
How can I enable HTTP requests? I have a primary web server that is a proxy and sends HTTP requests to the MicroK8S server but cannot due to the HTTP error.
Install command used:
sudo snap install microk8s --classic --channel=1.23/stable
Infrastructure
Self-Hosted on a virtual machine locally
Problem
I have a MicroK8S server setup using this command: microk8s enable dashboard dns registry istio
I have also edited the dashboard service as such (replaced clusterip with nodeport)
kubernetes-dashboard service
Result
I can navigate to the kubernetes-dashboard by going to https://IP:30051/ of the server (yes, requests using SSL work). However if I try to use HTTP instead of HTTPS I get the following error message.
Client sent an HTTP request to an HTTPS server.