Created
September 28, 2020 13:14
-
-
Save jaclu010/8e0553f1b3aa2050fbf5bf6d501cde7b to your computer and use it in GitHub Desktop.
An example of how to use the resources tag in a kubernetes workload
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: frontend | |
spec: | |
... | |
containers: | |
- name: app | |
... | |
resources: <------ | |
requests: | |
memory: "512Mi" | |
cpu: "500m" | |
limits: | |
memory: "1Gi" | |
cpu: "1000m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment