1
0
Fork 0
salty-dog/test/examples/kubernetes-resources-some.yml

57 lines
904 B
YAML

# test rules kubernetes
# test tags kubernetes
# test exit-status 2
metadata:
name: example
labels: {}
spec:
template:
spec:
containers:
- name: test
resources:
limits:
cpu: 4000m
memory: 5Gi
requests:
cpu: 4000m
memory: 5Gi
---
metadata:
name: example
labels: {}
spec:
template:
spec:
containers:
- name: test
resources:
limits:
cpu: 200m
# missing memory
requests:
cpu: 100m
# same rule
---
metadata:
name: example
# missing labels
spec:
template:
spec:
containers:
- name: test
resources:
limits:
cpu: 4000m
memory: 5Gi
requests:
cpu: 4000m
memory: 5Gi