-
Notifications
You must be signed in to change notification settings - Fork 1k
k8s部署StreamPark #4223
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
base: dev
Are you sure you want to change the base?
k8s部署StreamPark #4223
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds Kubernetes deployment manifests and supporting documentation for deploying StreamPark and its MySQL instance in a k8s environment. Key changes include:
- A new deployment and service manifest for StreamPark (streampark.yml)
- A new StatefulSet and service manifest for MySQL (streampark-mysql.yml) with a corresponding ConfigMap
- An updated markdown guide (k8s部署StreamPark.md) detailing the deployment process and custom Dockerfile instructions
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
k8s-yml/streampark.yml | Added Deployment and Service for StreamPark |
k8s-yml/streampark-mysql.yml | Added ConfigMap, StatefulSet, and Service for MySQL |
k8s-yml/k8s部署StreamPark.md | New documentation for building images and deploying StreamPark |
Files not reviewed (1)
- k8s-yml/Dockerfile: Language not supported
- | | ||
export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk | ||
/apache-streampark_2.12-2.1.5/bin/startup.sh | ||
sleep 9999d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Using 'sleep 9999d' to keep the container running is a non-standard approach that could mask startup issues; consider implementing a proper lifecycle management strategy or process supervision instead.
Copilot uses AI. Check for mistakes.
secure-file-priv= NULL | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configuration option 'secure-file-priv' appears to be incorrectly named; it should likely be 'secure_file_priv' to match MySQL's expected parameter name.
secure-file-priv= NULL | |
secure_file_priv = NULL |
Copilot uses AI. Check for mistakes.
应该做成 helm chart 会比较通用一点 |
贡献目前k8s部署StreamPark文档!我们生产已经使用这种方式部署!