<p>So I know how to check the yaml file of my service and deployment which is </p>

<pre><code>$ kubectl get service/helloworld -o yaml
$ kubectl get deployment/helloworld -o yaml
</code></pre>

<p>How do I find these files so I could edit them?</p>

<p>I am using minikube if that helps</p>

edmamerto
<p>I would <strong><em>highly recommend</em></strong> you to change .yaml files and apply the resource again.</p>

<p>But if you want for some reason do that on the fly, you can go with:</p>

<pre><code>$ kubectl edit service/helloworld -o yaml
$ kubectl edit deployment/helloworld -o yaml
</code></pre>
