<p>I am running kubernetes inside 'Docker Desktop' on Mac OS High Sierra.</p>

<p><a href="https://i.stack.imgur.com/C8raD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C8raD.png" alt="enter image description here"></a></p>

<p>Is it possible to change the flags given to the kubernetes api-server with this setup?</p>

<p>I can see that the api-server is running.</p>

<p><a href="https://i.stack.imgur.com/RkVoK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RkVoK.png" alt="enter image description here"></a></p>

<p>I am able to exec into the api-server container. When I kill the api-server so I could run it with my desired flags, the container is immediately killed.</p>

<p><a href="https://i.stack.imgur.com/oSYaL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oSYaL.png" alt="enter image description here"></a></p>

user674669
<p>I there is no a deployment for <code>kube-apiserver</code> since those pods are static so they are created and managed by <code>kubelet</code>.</p>
<p>The way to change <code>kube-api</code>'s parameters is like @hanx mentioned:</p>
<ol>
<li>ssh into the master node (not a container);</li>
<li>update the file under <code>/etc/kubernetes/manifests/</code>;
As soon as you save the file, the changes will take effect.</li>
</ol>
