Pham Khoi
04/25/2025, 11:57 AMapiVersion: flink.apache.org/v1beta1
kind: FlinkDeployment
...
spec:
image: ...
flinkVersion: v1_15
flinkConfiguration:
security.kerberos.krb5-conf.path: /etc/krb5.conf
security.kerberos.login.keytab: /opt/keytab
security.kerberos.login.principal: ...
security.kerberos.login.contexts: KafkaClient
...
podTemplate:
spec:
containers:
- name: flink-main-container
volumeMounts:
- name: kerberos-keytab
mountPath: /opt/keytab
subPath: keytab
...
I don't how to apply KafkaClient to contexts. If u wanna know more detail: see in the link: https://stackoverflow.com/questions/73581288/specifying-keytab-for-flinkdeployment-of-flink-kubernetes-operator. Help me please, I am so approciate that! love. OH I forgot a another point that when I use hadoop common with the version higher than 3.2.0 I will get error: Client can not authenticate via ( token, kerberos), and if I change the version to 2.10.2 I got the error as I described : GSS initiate failed, Failed to find any Kerberos tgt