pod-spec.yaml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. suite: pod/spec
  2. description: Base suite for pods
  3. behaviors:
  4. - id: pod/basic-create
  5. description: When a Pod resource is created with a single container and sufficient resources, a Pod MUST be created on a node with the specified container image.
  6. - id: pod/basic-delete
  7. description: When a Pod resource is delete, the Pod containers must receive a TERM signal and the Pod MUST be deleted.
  8. - id: pod/hostname
  9. description: When the hostname field is set, a container running in the Pod MUST report the hostname as the specified value.
  10. - id: pod/subdomain
  11. description: If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod
  12. namespace>.svc.<cluster domain>". If not specified, the pod will not have a
  13. domainname at all.
  14. - id: pod/terminationGracePeriodSeconds/in-spec
  15. description: When the terminationGracePeriodSeconds is specified in the spec,
  16. processes running in the Pod MUST NOT receive a hard termination signal for at
  17. least that number of seconds after a delete request.
  18. - id: pod/terminationGracePeriodSeconds/in-delete
  19. description: When the terminationGracePeriodSeconds is specified in a delete request,
  20. processes running in the Pod MUST NOT receive a hard termination signal for at
  21. least that number of seconds after the delete request.
  22. - id: pod/activeDeadlineSeconds
  23. description: Optional duration in seconds the pod may be active on the node relative
  24. to StartTime before the system will actively try to mark it failed and kill
  25. associated containers. Value must be a positive integer.
  26. - id: pod/hostNetwork/true
  27. description: When hostNetwork is set to true, the Pod MUST use the host's network
  28. namespace.
  29. - id: pod/hostNetwork/false
  30. description: When hostNetwork is set to false, the Pod MUST NOT use the host's network
  31. namespace.
  32. - id: pod/hostPID/true
  33. description: When hostPID is set to true, the Pod MUST use the host's process
  34. namespace.
  35. - id: pod/hostPID/false
  36. description: When hostPID is set to false, the Pod MUST NOT use the host's process
  37. namespace.
  38. - id: pod/hostIPC/true
  39. description: When hostIPC is set to true, the Pod MUST use the host's inter-process
  40. communication namespace.
  41. - id: pod/hostIPC/false
  42. description: When hostIPC is set to false, the Pod MUST NOT use the host's inter-process
  43. communication namespace.