Advertisement
kacejot

Log

May 29th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. 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:
  2. -RequestBlocked: For policy check-cpu-memory:
  3. * RequestBlocked: policy rule - check-defined:
  4. 1. Failed to validate value 8 with pattern >8. Path: /spec/template/spec/containers/0/resources/limits/cpu/
  5. 2. Failed to validate value 2Gi with pattern >5012Mi. Path: /spec/template/spec/containers/0/resources/limits/memory/
  6. 3. Resource limits are required for CPU and memory
  7. * RequestBlocked: policy rule - check-cpu:
  8. 1. Failed to validate value 3 with pattern >4. Path: /spec/template/spec/containers/0/resources/requests/cpu/
  9. 2. Failed to validate value 512Mi with pattern >5012Mi. Path: /spec/template/spec/containers/0/resources/requests/memory/
  10. 3. CPU request should be less than 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement