there are call helm test this command in terminal show this output like this below
`dev_1@naman:~/Project/Helmprojects/demohelm$ helm test demomvc
NAME: demomvc
LAST DEPLOYED: Tue Jun 4 18:32:35 2024
NAMESPACE: default
STATUS: deployed
REVISION: 1
Phase: Succeeded
TEST SUITE: checkpod-test
Last Started: Tue Jun 4 18:32:45 2024
Last Completed: Tue Jun 4 18:32:55 2024
Phase: Succeeded
NOTES:
Get the application URL by running these commands:
export NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services demomvc-demohelm)
export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}")
export createdate=2024-06-04
echo http://$NODE_IP:$NODE_PORT`
there are Phase: Succeeded show message in NOTES (NOTES.txt)
there are any error in test Phase: Failed to show this error message
example:
there are pass wrong image to show this error "Failed to pull image "abc-pqr": Error response from daemon: pull access denied for abc-pqr, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"
`dev_1@naman:~/Project/Helmprojects/demohelm$ helm test demomvc
NAME: demomvc
LAST DEPLOYED: Tue Jun 4 18:32:35 2024
NAMESPACE: default
STATUS: deployed
REVISION: 1
Phase: Succeeded
TEST SUITE: checkpod-test
Last Started: Tue Jun 4 18:32:45 2024
Last Completed: Tue Jun 4 18:32:55 2024
Phase: Succeeded
NOTES:
Get the application URL by running these commands:
export NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services demomvc-demohelm)
export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}")
export createdate=2024-06-04
echo http://$NODE_IP:$NODE_PORT
there are call helm test this command in terminal show this output like this below
`dev_1@naman:~/Project/Helmprojects/demohelm$ helm test demomvc NAME: demomvc LAST DEPLOYED: Tue Jun 4 18:32:35 2024 NAMESPACE: default STATUS: deployed REVISION: 1 Phase: Succeeded TEST SUITE: checkpod-test Last Started: Tue Jun 4 18:32:45 2024 Last Completed: Tue Jun 4 18:32:55 2024 Phase: Succeeded NOTES:
there are Phase: Succeeded show message in NOTES (NOTES.txt) there are any error in test Phase: Failed to show this error message example: there are pass wrong image to show this error "Failed to pull image "abc-pqr": Error response from daemon: pull access denied for abc-pqr, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"
`dev_1@naman:~/Project/Helmprojects/demohelm$ helm test demomvc NAME: demomvc LAST DEPLOYED: Tue Jun 4 18:32:35 2024 NAMESPACE: default STATUS: deployed REVISION: 1 Phase: Succeeded TEST SUITE: checkpod-test Last Started: Tue Jun 4 18:32:45 2024 Last Completed: Tue Jun 4 18:32:55 2024 Phase: Succeeded NOTES:
Get the application URL by running these commands: export NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services demomvc-demohelm) export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}") export createdate=2024-06-04 echo http://$NODE_IP:$NODE_PORT
< here show error message > // see this `