Zhong Chen
05/08/2023, 4:07 PMflinkConfiguration:
taskmanager.numberOfTaskSlots: "2"
state.checkpoints.dir: <s3://bucket>
state.savepoints.dir: <s3://bucekt>
fs.s3a.aws.credentials.provider: com.amazonaws.auth.WebIdentityTokenCredentialsProvider
fs.s3a.aws.credentials.provider.role.arn: iam arn
serviceAccount: flinkZhong Chen
05/08/2023, 4:07 PMCaused by: java.lang.NullPointerException: You must specify a value for roleArn and roleSessionName
at com.amazonaws.auth.STSAssumeRoleSessionCredentialsProvider$Builder.<init>(STSAssumeRoleSessionCredentialsProvider.java:383) ~[?:?]Alex T
05/08/2023, 4:13 PMflink service account with the IAM role ARN as the value.
<http://eks.amazonaws.com/role-arn|eks.amazonaws.com/role-arn>Zhong Chen
05/08/2023, 4:51 PMIs this in EKS?Yes.
Zhong Chen
05/08/2023, 4:53 PMflink service account is created by the k8s flink operator.Zhong Chen
05/08/2023, 4:54 PMAlex T
05/08/2023, 4:56 PMjobServiceAccount:
annotations:
<http://eks.amazonaws.com/role-arn|eks.amazonaws.com/role-arn>: arn:aws:iam::...Zhong Chen
05/08/2023, 5:01 PMZhong Chen
05/08/2023, 5:13 PMspec:
destination:
name: ''
namespace: data
project: k8s-flink-operator
source:
repoURL: <https://github.com/apache/flink-kubernetes-operator>
targetRevision: release-1.4
path: helm/flink-kubernetes-operator
helm:
skipCrds: true
parameters:
- name: "webhook.create"
value: "false"
- name: "image.repository"
value: "apache/flink-kubernetes-operator"Alex T
05/08/2023, 5:46 PM. characters in the annotation name in a similar manor.
set {
name = "jobServiceAccount.annotations.eks\\.amazonaws\\.com/role-arn"
value = "<role_arn_here>"
}