Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error setting up HA for JobManager #256

Open
sfarsaci opened this issue Feb 14, 2022 · 3 comments
Open

Error setting up HA for JobManager #256

sfarsaci opened this issue Feb 14, 2022 · 3 comments

Comments

@sfarsaci
Copy link

sfarsaci commented Feb 14, 2022

Flink supports HA for the job manager . I tried to configure it in my cluster but doesn't seem I can set more than one replica for the JobManager. When I try to do so I get the following error:
for: "k8s/metrics-aggregator.yaml": admission webhook "vflinkcluster.flinkoperator.k8s.io" denied the request: invalid JobManager replicas, it must be 1

This is an excerpt of my descriptor:

spec:
  flinkVersion: "1.13"
  image:
    name: docker.atl-paas.net/atlassian/innoweek-flink-k8s:0.0.0
  jobManager:
    podAnnotations:
      iam.amazonaws.com/role: arn:aws:iam::XXXXXXXXXX:role/sfarsaci-flink-k8s-dev
    accessScope: Cluster
    replicas: 3

Is HA for the job manager possible using flink-on-k8s-operator or am I doing something wrong?

@eddiewang
Copy link

@sfarsaci were you able to figure this out?

@aidan-melen
Copy link

We got the same error...

@regadas
Copy link
Contributor

regadas commented Apr 18, 2022

Thanks for the report y'all; I'll have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants