Created
October 23, 2020 21:03
-
-
Save itzg/9672f9f1ea322587b3faa9de53c63e49 to your computer and use it in GitHub Desktop.
JVM processor count when running on Kubernetes derivs from resources.limits.cpu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resources: | |
| requests: | |
| cpu: 4000m | |
| memory: 4Gi | |
| limits: | |
| cpu: 5000m | |
| memory: 4Gi |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Runtime.getRuntime().availableProcessors()returns 5 in this case