<p>i have lots of deployments yaml files and lots of services yaml files, i want to know if it is possible to execute all the yaml files at once ?
i tried this command:</p>
<pre><code>kubectl create -f *.yaml
</code></pre>
<p>But it's not working </p>
<p>Thanks</p>

<p>If you are inside any directory and you want to apply all the YAML</p>
<pre><code>kubectl apply -f ./
</code></pre>
<p>or else you merge many <code>YAML</code> files in single <code>YAML</code> file</p>
<pre><code>YAML1 content 
---
YAML 2 content
---
YAML 3 contnet
</code></pre>
