Skip to content

Instantly share code, notes, and snippets.

@squeed
Last active September 15, 2016 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save squeed/b0f5c17585a6320c4113ba1402f3505d to your computer and use it in GitHub Desktop.
Save squeed/b0f5c17585a6320c4113ba1402f3505d to your computer and use it in GitHub Desktop.
Questions about Kubernetes CRI implementation

CRI QUESTIONS

This references the api spec and the high level description.

It should be noted that the high-level description is somewhat out of date. There are now only two services: RuntimeService and ImageService

  1. How are PodSandboxes mutated?
  2. Why does CreateContainerRequest also allow a PodSandboxConfig? Is this the preferred way to mutate a PodSandbox? What about cases where the sandbox is mutated outside of container creation?
  3. What fields in a PodSandboxConfig can be used to mutate a running PodSandbox?
  4. The PodSandboxStatus is missing some data:
  5. No way to get the list of port forwards
  6. No way to get the log_directory
  7. The ContainerStatus is missing some data:
  8. Missing log_path
  9. Why do List(PodSandbox|Containers) return different types from (PodSandbox|Container)Status?
  10. Are there uniqueness contstraints on mount names? Are they per-Container or per-PodSandbox?
@squeed
Copy link
Author

squeed commented Sep 15, 2016

@yifan-gu: Thanks for your comments! I've updated my questions, if that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment