<p>What are the major difference b/w <a href="https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/native_kubernetes.html" rel="noreferrer">Native Kubernetes</a> and <a href="https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/kubernetes.html" rel="noreferrer">Kubernetes</a> deployments?</p>
<p>I'm new to Kubernetes and trying to understand how different is the Flink deployments on them.
If any insight into internals is given it will be of great help.</p>

ardhani
<p>In a <a href="https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/kubernetes.html" rel="noreferrer">Kubernetes session or per-job deployment</a>, Flink has no idea it's running on Kubernetes. In this mode, Flink behaves as it does in any standalone deployment (where there is no cluster framework available to do resource management). Kubernetes just happens to be how the infrastructure was created, but as far as Flink is concerned, it could have been bare metal. You will have to arrange for kubernetes to create the infrastructure that you will have configured Flink to expect.</p>
<p>In a <a href="https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/resource-providers/native_kubernetes/" rel="noreferrer">Native Kubernetes session deployment</a>, Flink uses its <code>KubernetesResourceManager</code>, which submits a description of the cluster it wants to the Kubernetes ApiServer, which creates it. As jobs come and go, and the requirements for task managers (and slots) go up and down, Flink is able to obtain and release resources from kubernetes as appropriate.</p>
<p>In <a href="https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/#application-mode" rel="noreferrer">Application Mode</a> (<a href="https://flink.apache.org/news/2020/07/14/application-mode.html" rel="noreferrer">blog post</a>) (<a href="https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/native_kubernetes.html#flink-kubernetes-application" rel="noreferrer">details</a>) you end up with Flink running as a kubernetes application, which will automatically create and destroy cluster components as needed for the job(s) in one Flink application.</p>
