-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add Flink Operator Bakery #21
Conversation
Codecov Report
@@ Coverage Diff @@
## main #21 +/- ##
===========================================
- Coverage 98.51% 86.08% -12.44%
===========================================
Files 11 12 +1
Lines 270 309 +39
===========================================
Hits 266 266
- Misses 4 43 +39
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
745be57
to
6fe22a3
Compare
This needs to: - Create a Flink cluster by setting up a CRD to a kubernetes cluster, as that is where the container image used for execution is specified - Use `kubectl port-forward` to proxy to the flink cluster, so we can actually talk to it This uses https://github.com/apache/flink-kubernetes-operator, as that is the most actively developed, community governed operator. Ref #19
It doesn't just work with *any* Flink cluster, but sets up one Flink cluster per job
Hopefully this can be reached both by whatever is in the k8s cluster as well as code running locally
You can't depend on a non-session fixture in a session fixture. Local IP isn't gonna change per test anyway
Without this, the 'status' field of the CRD is just not populated at all and kubectl wait fully fails
So it doesn't actually try to retrieve 'job_id'. This is gross, and should be fixed
There was an explicit message about kubectl not working due to socat not being found
Could be the reason this doesn't run on GHA
Maybe this is what is needed?
Otherwise, flinkoperator errors
Codecov Report
@@ Coverage Diff @@
## main #21 +/- ##
==========================================
- Coverage 98.51% 98.09% -0.43%
==========================================
Files 11 12 +1
Lines 270 315 +45
==========================================
+ Hits 266 309 +43
- Misses 4 6 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
This needs to:
cluster, as that is where the container image used for
execution is specified
kubectl port-forward
to proxy to the flink cluster,so we can actually talk to it
kubectl
is installedThis uses https://github.com/apache/flink-kubernetes-operator,
as that is the most actively developed, community governed
operator.
Ref #19