hello, i'm trying to deploy flink in HA mode with ...
# troubleshooting
r
hello, i'm trying to deploy flink in HA mode with the kubernetes operator. but, i'm running into an issue with unauthorized exceptions when the jobmanager is coming up. basically
Copy code
.KubernetesClientException: Failure executing: GET at: https://10.0.0.1:443/api/v1/namespaces/flink-kubernetes-operator/configmaps
but i've verified that the service account which gets created (
flink
) has the right access. on looking more in the logs i found this
Copy code
│ 2025-01-22 19:56:33,352 WARN  org.apache.flink.kubernetes.shaded.io.fabric8.kubernetes.client.Config [] - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.                        │
but, when i use the same service account or ssh into the pod and run cat on the token, i'm able to see it
s
hi, which flink/flink operator version are you using? i am facing similar issue but only in flink 19
r
interesting, i'm also using flink 19