Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error from server: error when creating "examples/validate/deployment.yaml": admission webhook "nirmata.kyverno.validating-webhook" denied the request: -PolicyViolation: For resource with UID - 5de223fc-822d-11e9-aa8a-4ccc6a9329d0:
- -RequestBlocked: For policy check-cpu-memory:
- * RequestBlocked: policy rule - check-defined:
- 1. Failed to validate value 8 with pattern >8. Path: /spec/template/spec/containers/0/resources/limits/cpu/
- 2. Failed to validate value 2Gi with pattern >5012Mi. Path: /spec/template/spec/containers/0/resources/limits/memory/
- 3. Resource limits are required for CPU and memory
- * RequestBlocked: policy rule - check-cpu:
- 1. Failed to validate value 3 with pattern >4. Path: /spec/template/spec/containers/0/resources/requests/cpu/
- 2. Failed to validate value 512Mi with pattern >5012Mi. Path: /spec/template/spec/containers/0/resources/requests/memory/
- 3. CPU request should be less than 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement