dalelane opened a new pull request, #1266: URL: https://github.com/apache/flink-kubernetes-operator/pull/1266
This PR depends on #1223, #1259, #1261, #1262, #1263, #1264, #1265 Please only review the last **2 commits**, prefixed with FLINK-40868 If it helps with reading, you can see a draft PR with just those seven commits in my fork at https://github.com/dalelane/flink-kubernetes-operator/pull/7 --- Pending pull requests for [FLIP-611](https://cwiki.apache.org/confluence/spaces/FLINK/pages/451974246/FLIP-611+Running+Flink+jobs+in+MiniCluster+using+the+Kubernetes+Operator): - https://github.com/apache/flink-kubernetes-operator/pull/1223 - https://github.com/apache/flink-kubernetes-operator/pull/1259 - https://github.com/apache/flink-kubernetes-operator/pull/1261 - https://github.com/apache/flink-kubernetes-operator/pull/1262 - https://github.com/apache/flink-kubernetes-operator/pull/1263 - https://github.com/apache/flink-kubernetes-operator/pull/1264 - https://github.com/apache/flink-kubernetes-operator/pull/1265 - https://github.com/apache/flink-kubernetes-operator/pull/1266 --- ## What is the purpose of the change This adds FlinkMiniClusterMetrics, which gives FlinkMiniCluster the same operator metrics that FlinkDeployment has. These are Operator metrics. Metrics reported by the Flink job don't require changes, as a metrics.reporter configuration will work for a MiniCluster as it does for a JobManager. ## Brief change log - Count, PodDeploymentStatus.STATUS_TYPE.Count - FlinkVersion.VERSION.Count and FlinkMinorVersion.VERSION.Count - ResourceUsage.Cpu, ResourceUsage.Memory, ResourceUsage.StateSize The status group is named PodDeploymentStatus (rather than JmDeploymentStatus). ## Verifying this change This change added tests and can be verified as follows: ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): no - The public API, i.e., is any changes to the `CustomResourceDescriptors`: no - Core observer or reconciler logic that is regularly executed: no ## Documentation - Does this pull request introduce a new feature? yes - If yes, how is the feature documented? Documenting the new feature will be done in FLINK-40869 --- ##### Was generative AI tooling used to co-author this PR? - [ ] Yes (please specify the tool below) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
