helm icon indicating copy to clipboard operation
helm copied to clipboard

Windows - Helm k8s deploy

Open Cyrus-0101 opened this issue 5 years ago • 0 comments

After the helm install . command. I get a text that tells me: 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}

However when running the export on windows it fails to run. Could I contribute in adding the configuration process for windows users. This is an amazing project and I would want to continue with the good work started. The export can be changed to setx or SET and the $ can be converted to "" I hope to hear if this is what you might want included

Cyrus-0101 avatar Dec 14 '20 16:12 Cyrus-0101