Now, we've seen how we can use Helme template that will be really useful is to see what would happen
if we tried to deploy it so we can do is use Helme template and pipe the output and is a couple of ways
we could go about doonas everyone into YAML file.
We could just simply redirect the output into YAML false.
We call this templated yaml and we should see the output.
And we'll see here.
And already I'm getting at underscore or an invitation saying something's missing since we got a good
spot to go.
OK, well, we can tell there's something missing here.
We need to go ahead and sort that out.
But as one last trick we can use, which actually simulates deploying it, the command we can use to
simulate deploying it is going to be held template full stop for the context.
We're going to pipe it to tubercle create.
The chef.
And in Dash, let me make my terminal bigger so you can see this come out, so we do is we get Helme
template that's going to pipe out a YAML file.
And what we'll do is pass into Cuba and we're going to pass in the dash f flat straight from file.
And the dash is representing standard input.
So we take the output from Helme template and possibly execute creates it on the fly.
Now for go ahead and enter.
Now we can see the deployment and it's got no names have seen double quotes.
Is invalid metadata name required value that we've seen before.
We sometimes get an error withheld when it goes to install, but it's not particularly useful that we
saw, which is very generic and they need to start right away.
I could see, OK, the name is missing for the deployment.
So now if I go back and we it stops deployments, the name that will resolve the issue, we don't know
its deployment name is because we don't have a look at values YAML file.
Let me close my terminal now.
Let me go ahead and close my turn.
It's easy to see, you know, its deployment dot name and now that will work.
So these are some really powerful troubleshooting techniques you can use with help, and I'll help you
identify any issues you might have.
These are some really powerful troubleshooting techniques you can use of help, and I recommend for
up, of course, have a good using these if you run into any issues and if you're working in an industry,
these are going to save you a lot of time.
So this wraps up the troubleshooting section.
Let's jump in to the next section.
I'll look forward to seeing you there.