Default quotas for namespace-configuration-controller
This commit is contained in:
parent
b9d87c2546
commit
7aeae55153
1 changed files with 35 additions and 0 deletions
35
tshirt-quotas.yaml
Normal file
35
tshirt-quotas.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
apiVersion: namespaceconfig.raffaelespazzoli.systems/v1alpha1
|
||||
kind: NamespaceConfig
|
||||
metadata:
|
||||
name: small-size
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
size: small
|
||||
quotas:
|
||||
- apiVersion: v1
|
||||
kind: ResourceQuota
|
||||
metadata:
|
||||
name: small-size
|
||||
spec:
|
||||
hard:
|
||||
requests.cpu: "1"
|
||||
requests.memory: "1Gi"
|
||||
---
|
||||
apiVersion: namespaceconfig.raffaelespazzoli.systems/v1alpha1
|
||||
kind: NamespaceConfig
|
||||
metadata:
|
||||
name: medium-size
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
size: medium
|
||||
quotas:
|
||||
- apiVersion: v1
|
||||
kind: ResourceQuota
|
||||
metadata:
|
||||
name: medium-size
|
||||
spec:
|
||||
hard:
|
||||
requests.cpu: "2"
|
||||
requests.memory: "2Gi"
|
Loading…
Reference in a new issue