GoogleCloudPlatform / flink-on-k8s-operator

[DEPRECATED] Kubernetes operator for managing the lifecycle of Apache Flink and Beam applications.
Apache License 2.0
658 stars 266 forks source link

Missing required fields (`taskManagerStatefulSet `, `jobManagerStatefulSet `) in sample flink cluster yamls #391

Closed live-wire closed 3 years ago

live-wire commented 3 years ago

Tried to deploy the sample flinksessioncluster like this:

ghost commented 3 years ago

I think the latest image (v1beta1-8) on the google cloud registry for the operator doesn't support the latest changes for StatefulSets as the PR for that change merged after that image was released.

I gad to switch over to using the 0.2.0 release for it to work.

live-wire commented 3 years ago

Thanks @gshen92. Using the tag 0.2.0 for operator deployment helped. I was able to get the Job Manager and Task Manager pods up :)

Since I am on k8s v1.18, I had to use the workarounds discussed in #266 to get make deploy to work.