Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows - Helm k8s deploy #7

Open
Cyrus-0101 opened this issue Dec 14, 2020 · 0 comments
Open

Windows - Helm k8s deploy #7

Cyrus-0101 opened this issue Dec 14, 2020 · 0 comments

Comments

@Cyrus-0101
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant