To test the syntax and validity of the Chart without actually deploying it,
we’ll use the --dry-run
flag.
The following command will build and output the rendered templates without installing the Chart:
helm install --debug --dry-run workshop ~/environment/eksdemo
Confirm that the values created by the template look correct.
Now that we have tested our template, let’s install it.
helm install workshop ~/environment/eksdemo
Similar to what we saw previously in the nginx Helm Chart example, an output of the command will contain the information about the deployment status, revision, namespace, etc, similar to:
NAME: workshop
LAST DEPLOYED: Tue Feb 18 22:11:37 2020
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
In order to review the underlying services, pods and deployments, run:
kubectl get svc,po,deploy