Hi, Lets understand about
Get and status option available within helm. Once the service is deployed within the cluster using helm
I can get the status using the status command
or I can get more information using the get command. Let's see some options using get as well as status.
Let's check what are all the list of deployments available using helm list. So this is the deployment.
Let me get the deployment name and I can use the command helm get notes
So that will get me the notes mentioned for this particular deployment. In case after the deployment
if you missed a specific note, I can go ahead and get the notes
Once again, by running this command helm get notes and then the deployment name as well as we can get
What are all the values that were passed using the command prompt while starting this particular service,
using the command helm get values and name of the service.
as such while doing the specific deployment, we did not pass any user defined values.
So nothing getting listed and how the templates were rendered
I can get the rendered template using the command get manifest, helm get manifest and name of the deployment.
So that's going to get us the
rendered manifest, by merging the template and the values and what was used to do the deployment
of the entity within the kubernetes cluster.
This will be useful to do the debugging in case if any of the deployed services not behaving as expected.
And in case if I have added any hooks as a part of the deployment, I can use the command get hooks
And then the deployment name. In this case, if you remember earlier we discussed about the test condition
that was a hook because it was added as a hook within the annotation
And only that specific hook is getting listed and what is a hook.
We have a detailed discussion in a separate lecture.
And this particular command get hooked
It's going to list all the hooks that were attached as a part of that specific deployment.
I can get all this information that is notes, values, manifest and hook using the command get all.
helm get all and name of the deployment
where I will be getting the notes, values, manifest and hook.
So this is one way of verifying what got deployed and what values were deployed as a part of the services
as well as I can get a quick status about that specific deployment using the command helm status and name of the deployment.
That's going to provide me the status of what provision is deployed and what is the status, in which
namespace it was deployed, when it was deployed and what was the test suite that is hooked as a part
of this specific deployment and whether that was invoked or not
And the notes along with that specific deployment.
So basically, it's going to give a quick summary on what was deployed and its current status.
So this is a quick summary on how to use the get and status command to understand about the deployment.