mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-14 09:59:57 +00:00
87 lines
1.6 KiB
YAML
87 lines
1.6 KiB
YAML
---
|
|
apiVersion: capsule.clastix.io/v1alpha1
|
|
kind: Tenant
|
|
metadata:
|
|
name: oil
|
|
spec:
|
|
ingressClasses:
|
|
- default
|
|
limitRanges:
|
|
-
|
|
limits:
|
|
-
|
|
max:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
min:
|
|
cpu: 50m
|
|
memory: 5Mi
|
|
type: Pod
|
|
-
|
|
default:
|
|
cpu: 200m
|
|
memory: 100Mi
|
|
defaultRequest:
|
|
cpu: 100m
|
|
memory: 10Mi
|
|
max:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
min:
|
|
cpu: 50m
|
|
memory: 5Mi
|
|
type: Container
|
|
-
|
|
max:
|
|
storage: 10Gi
|
|
min:
|
|
storage: 1Gi
|
|
type: PersistentVolumeClaim
|
|
namespaceQuota: 3
|
|
networkPolicies:
|
|
-
|
|
egress:
|
|
-
|
|
to:
|
|
-
|
|
ipBlock:
|
|
cidr: 0.0.0.0/0
|
|
except:
|
|
- 192.168.0.0/12
|
|
ingress:
|
|
-
|
|
from:
|
|
-
|
|
namespaceSelector:
|
|
matchLabels:
|
|
capsule.clastix.io/tenant: oil
|
|
-
|
|
podSelector: {}
|
|
-
|
|
ipBlock:
|
|
cidr: 192.168.0.0/12
|
|
podSelector: {}
|
|
policyTypes:
|
|
- Ingress
|
|
- Egress
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
owner: alice
|
|
resourceQuotas:
|
|
-
|
|
hard:
|
|
limits.cpu: "8"
|
|
limits.memory: 16Gi
|
|
requests.cpu: "8"
|
|
requests.memory: 16Gi
|
|
scopes:
|
|
- NotTerminating
|
|
-
|
|
hard:
|
|
pods: "10"
|
|
-
|
|
hard:
|
|
requests.storage: 100Gi
|
|
storageClasses:
|
|
- standard
|