Hey Guys, maybe someone had similar problem with k...
# troubleshooting
t
Hey Guys, maybe someone had similar problem with kubernetes operator 1.6.0. Everything works fine on minikube, but on EKS getting errors and seems like they might be related to fact that we’re using ipv6 there. Here is the error :
Caused by: <http://javax.net|javax.net>.ssl.SSLPeerUnverifiedException: Hostname fdff:d85b:be62::1 not verified:
certificate: sha256/
DN: CN=kube-apiserver
subjectAltNames: [ , kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local]
I found this thread : https://www.mail-archive.com/user@flink.apache.org/msg51342.html That setting this variable resolved this issue KUBERNETES_DISABLE_HOSTNAME_VERIFICATION=true`. I set this in my operator container and in my app but no luck. I was wondering if someone has had similar issue and know how to resolve it?
I am running operator using helm charts helm install flink-kubernetes-operator flink-operator-repo/flink-kubernetes-operator and I set env variable in the container not in the helm templates. Not sure if that would work.
j
that is the config you have to put, but you need to put it on Operator and on Deployment..
t
hey Joao, ok let me try again, maybe I missed something 🙂
Thanks man that resolved my problem 🙂