Last active
November 24, 2021 00:45
-
-
Save mseiwald/d780b9747452a6cad24231a13b32e303 to your computer and use it in GitHub Desktop.
This file contains 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: scheduling.k8s.io/v1beta1 | |
kind: PriorityClass | |
metadata: | |
name: overprovisioning | |
value: -1 | |
globalDefault: false | |
description: "Priority class used by overprovisioning." | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: overprovisioning | |
namespace: kube-system | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
run: overprovisioning | |
template: | |
metadata: | |
labels: | |
run: overprovisioning | |
spec: | |
priorityClassName: overprovisioning | |
containers: | |
- name: reserve-resources | |
image: k8s.gcr.io/pause | |
resources: | |
requests: | |
cpu: 4 | |
memory: 8Gi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment