<p>While going through the documentation of <strong><a href="https://birthday.play-with-docker.com/kubernetes-docker-desktop/" rel="nofollow noreferrer">getting started with kubernetes on docker desktop</a></strong>, i came through this word called <strong><a href="https://birthday.play-with-docker.com/kubernetes-docker-desktop/#:%7E:text=Kubernetes%20makes%20sure%20containers%20are%20running%20to%20keep%20your%20app%20at%20the%20service%20level" rel="nofollow noreferrer">service level</a></strong> , can anyone help me understand what is service level?</p>
<p>ps: i am a beginner in docker and kubernetes</p>
<p>thanks in advance :)</p>

SAI VINIL
<p>It is not entirely clear what &quot;Service level&quot; references in this case,</p>
<p>It says in your link:</p>
<blockquote>
<p>Kubernetes makes sure containers are running to keep your app at the service level you requested in the YAML file</p>
</blockquote>
<p>And a little further down:</p>
<blockquote>
<p>And now remove that container:</p>
<p>Check back on the result app in your browser at http://localhost:5001 and you’ll see it’s still working. Kubernetes saw that the container had been removed and started a replacement straight away.^</p>
</blockquote>
<p>Judging from the context they refer to that the <a href="https://kubernetes.io/docs/concepts/overview/components/#kube-controller-manager" rel="nofollow noreferrer">kube-controller-manager</a> in the Kubernetes control plane continuously watches the state of the cluster and compares it to the desired state. When it discovers a difference (for example when a pod was removed) it fixes it by adding a new pod to match the number of replicas defined in the deployment.</p>
<p>For example if the deployment was configured to run in N number of replicas and one is removed, N-1 replicas remain. The kube-controller-manager starts a new pod to achieve the desired state of N replicas.</p>
<p>In this case the service level would refer to the number of replicas running, but as mentioned, it is ambiguous...</p>
