Skip to content

Windows - Helm k8s deploy #7

Open
@Cyrus-0101

Description

@Cyrus-0101

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions