Skip to content

Instantly share code, notes, and snippets.

@sergioprates
Created August 16, 2021 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergioprates/6ca01b8ca25a8120ee2f9d0516eec336 to your computer and use it in GitHub Desktop.
Save sergioprates/6ca01b8ca25a8120ee2f9d0516eec336 to your computer and use it in GitHub Desktop.
kubectl create -n default -f- <<EOF
apiVersion: v1
kind: ResourceQuota
metadata:
name: limitacao-recursos
spec:
hard:
requests.cpu: "50m"
limits.cpu: "100m"
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment