title: Automating Kubernetes deployment using script
body: <p>I have 'deployment.yaml' &amp; 'service.yaml' files to deploy application in kubernetes (minikube).</p>
  <p>To do a manual deployment I can use <code>kubectl apply -f &lt;file.yaml&gt; </code> to create resources but I am looking for a way to automate  deployment using scripts. So I can trigger a script and all the  needed yaml can be triggered and pods created accordingly.</p>
  <p>Any suggestion or guidance will be helpful.</p>