<p>I was wondering if there was a centralized document on options that are available for use in Kubernetes manifest files;</p>

<p>I know there's a bunch on general YAML files but since theres an overlap of docker run commands and kubectl commands, I wanted to know which ones are actually useable for Kubernetes.</p>

<p>i.e. specifically docker run options include --net=host, --pid=host, --privileged</p>

<p>I know --privileged is for securityContext in the kubernetes manifest
<a href="https://kubernetes.io/docs/user-guide/security-context/" rel="nofollow noreferrer">https://kubernetes.io/docs/user-guide/security-context/</a></p>

<pre><code>containers:
...
  -name:
   ...
   securityContext:
     privileged: true
</code></pre>

<p>but as for the other two I can't find good resources to verify if those options are available.</p>

<p>All options and fields are documented within the resource references which you can find in the <a href="https://kubernetes.io/docs/reference/" rel="nofollow noreferrer">Kubernetes reference</a> section. </p>

<p>E.g. for the definition of a <a href="https://kubernetes.io/docs/resources-reference/v1.6/#pod-v1-core" rel="nofollow noreferrer">Pod</a> you can check the <a href="https://kubernetes.io/docs/resources-reference/v1.6/#pod-v1-core" rel="nofollow noreferrer">related docs</a>, you'll find that everything within the "spec" block relates to <a href="https://kubernetes.io/docs/resources-reference/v1.6/#podspec-v1-core" rel="nofollow noreferrer">PodSpec</a> objects and these contain among others Container definitions. Within the <a href="https://kubernetes.io/docs/resources-reference/v1.6/#container-v1-core" rel="nofollow noreferrer">Container</a> reference you'll find all required and optional fields.</p>

<p>I assume that's the centralized document you were looking for.</p>

<p>Besides that you might want to check the <a href="https://kubernetes.io/docs/concepts/configuration/container-command-args/" rel="nofollow noreferrer">Container Command and Arguments</a> reference guide.</p>
