tutorial
tutorial copied to clipboard
Fix typo in helm install output message
There is a minor typo in the Notes: (SAMPPLE_NODE_IP
):
$ helm install nodeserver --set image.repository=localhost:5000/nodeserver chart/nodeserver
NAME: nodeserver
LAST DEPLOYED: Mon Aug 15 14:57:21 2022
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Congratulations, you have deployed your Node.js Application to Kubernetes using Helm!
To verify your application is running, run the following two commands to set the SAMPLE_NODE_PORT and SAMPPLE_NODE_IP environment variables to the location of your application:
export SAMPLE_NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services nodeserver-service)
export SAMPLE_NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}")
And then open your web browser to http://${SAMPLE_NODE_IP}:${SAMPLE_NODE_PORT}" from the command line, eg:
open http://${SAMPLE_NODE_IP}:${SAMPLE_NODE_PORT}