Kubernetes Container provider


Trying to add vanilla k8s cluster to manageiq.
I selected:
type: Kubernets
Security Protocol: SSL without validation
Token: “kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep default | awk ‘{print $1}’)”

I could connect to the cluster and view pods and other details.
I have prometheus running exposed outside as NodePort. When I try to provide details under “Metrics” tab after selecting “Metrics: Prometheus”

Security Protocol: SSL without validation
IP: “Master Node IP”
API Port:

I get " Credential validation was not successful: Connection reset by peer - SSL_connect" error.

Kindly help in setting this up.


Did you gave correct API port?
You can validate using
kubectl config view