Reamer commented on pull request #3761: URL: https://github.com/apache/zeppelin/pull/3761#issuecomment-625131392
> For k8s, I suspect maybe spark already done this kind of calculation. For technical reasons, Spark can only limit resources in K8s, if you are working in `cluster` mode. If you run Spark in [`client` mode](https://github.com/apache/zeppelin/blob/302c2873cdb4fb29f0a0d932c18c63f28b3d35c4/zeppelin-plugins/launcher/k8s-standard/src/main/java/org/apache/zeppelin/interpreter/launcher/K8sRemoteInterpreterProcess.java#L341), as Zeppelin does, you should set `--driver-memory` ([already implemented](https://github.com/apache/zeppelin/blob/302c2873cdb4fb29f0a0d932c18c63f28b3d35c4/zeppelin-plugins/launcher/k8s-standard/src/main/java/org/apache/zeppelin/interpreter/launcher/K8sRemoteInterpreterProcess.java#L342-L344)). ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org