-
Notifications
You must be signed in to change notification settings - Fork 903
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
Promote spark from contribution to application #2912
Comments
CC @GezimSejdiu |
There is some security progress in https://github.com/kubeflow/spark-operator/releases/tag/v2.1.0 |
|
Istio support for the application in the user namespaces is the problem right now. By default the sparkcluster application must support the sidecars that are injected automatically and we must be on the servicemesh. Right now we are destroying the integration and security
Yes kubernetes best practices is that the operator, webhook and sparkapplication have a PSS restricted securitycontext https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted
Yes
Yes this is a script that we have to add here https://github.com/kubeflow/manifests/tree/master/hack analogously to the other scripts. |
@andreyvelich said, that we should include it in 1.10 even if it does not work with Istio. I suggest to call it Beta support |
#2962 already solves 1.5 of the 5 issues remaining cc @biswassri @tarekabouzeid if you want to help creating the upstream PRs and the synchronization script in /hack. so "
|
Upstream sync PR : kubeflow/spark-operator#2397 |
@tarekabouzeid @biswassri @jacobsalway now that kubeflow/spark-operator#2397 is merged we should extend this to all examples as well: TODO We are missing a securitycontext in https://github.com/kubeflow/manifests/blob/73cbecfe604e84dfc7c0851630a6eb5733022dea/contrib/spark/sparkapplication_example.yaml and it should be upstreamed to the spark repository
|
#2966 is an example PR, but all examples in https://github.com/kubeflow/spark-operator/tree/master/examples must be changed as well. |
Validation Checklist
Version
master
Describe your issue
@rimolive do you remember who wanted to help with the spark operator? I think the main problem is that
TODO it does not work with istio "sidecar.istio.io/inject": "true" https://github.com/kubeflow/manifests/blob/73cbecfe604e84dfc7c0851630a6eb5733022dea/contrib/spark/sparkapplication_example.yaml#L24C7-L24C41
TODO We are missing a securitycontext in https://github.com/kubeflow/manifests/blob/73cbecfe604e84dfc7c0851630a6eb5733022dea/contrib/spark/sparkapplication_example.yaml and it should be upstreamed to the spark repository
TODO We need to add runAsGroup:0 or 185 in the securitycontext of https://github.com/kubeflow/manifests/blob/master/contrib/spark/spark-operator/base/kustomization.yaml and we need to upstream it. After update spark to 2.1.0 #2962 we only need the seccompProfile:
type: RuntimeDefault
TODO We need a synchronization script in /hack derived from the current makefile
Done in update spark to 2.1.0 #2962 upgrade to the latest version
The text was updated successfully, but these errors were encountered: