Replies: 5 comments 1 reply
-
Personally, I prefer option 3. Although I have implemented the feature of Flink-native-kubernetes-optimizer, I prefer the integrated solution of directly managing pods through the Kubernetes API, which saves resources and makes it easier to control the underlying implementation. Therefore, in the Kubernetes production environment, one amoro image is already sufficient. In many software, nodes with different roles use the same image, such as Flink's In addition, the standalone plugins are also lightweight enough, so maintaining them together with AMS will not incur too much cost. These are the reasons why I prefer option 3. |
Beta Was this translation helpful? Give feedback.
-
I don't agree with the first, which will cause the image to expand rapidly over time; the second I think, is an option and can be provided, but it is not the default set it; the third is best by default. |
Beta Was this translation helpful? Give feedback.
-
In my opinion, option 3 is more suitable for Amoro's current needs, but we may need to maintain additional images for QuickStart, which currently includes AMS and Flink environments. |
Beta Was this translation helpful? Give feedback.
-
I agree with maintaining additional images for QuickStart. If the standalone plugins are lightweight enough, we can build QuickStart's image based on the image with AMS and Standalone Optimizer. |
Beta Was this translation helpful? Give feedback.
-
the official image will be released in 0.6.0. |
Beta Was this translation helpful? Give feedback.
-
In the next major version (0.6.0), Amoro will fully support integration with Kubernetes, and here we will discuss how to maintain official images.
Currently, Amoro has some Docker images such as
arctic163/ams
, but this image is only for Quick Start demonstration and is not intended for production use.In this image, to facilitate Quick Start demonstration, the Docker image includes not only the AMS release version but also the Flink 1.15 binary package, making the overall image size relatively large.
The current issue is whether to maintain separate official images for AMS and Optimizer.
arctic163/ams
toarctic163/amoro
, which includes AMS server and the Flink 1.1x binary distribution package. In the future deployment on Kubernetes, both AMS and Flink Optimizer nodes will use this image.The advantage of this approach is fewer images, but the image size is larger, and if Spark Optimizer is added in the future, the image size will increase further.
arctic163/ams
,arctic163/optimizer
, andarctic163/optimizer-flink1.15
. The advantage of this approach is smaller image size and clearer functional division. However, currently, AMS depends on the Flink binary distribution package to start Flink Job, making this approach more suitable for manual deployment of Flink Optimizer.In Kubernetes deployment, an init container may be needed to use the
arctic163/optimizer-flink1.15
image as the init container of thearctic163/ams
image to install Flink binary distribution package.arctic163/amoro
andarctic163/optimizer-flink1.16
. This approach can use a single image if KubernetesOptimizerContainer is used. At the same time, thearctic163/amoro
standalone deployment method can replace the existing Quick Start.Which option do you prefer? Or if you have better suggestions, you can express them in your comments.
3 votes ·
Beta Was this translation helpful? Give feedback.
All reactions