Skip to content

Question: What is exactly does the nodejs-ex-k do? #23

@ammianus

Description

@ammianus

I have followed some guides that point to this example Chart in this repo, see https://docs.openshift.com/container-platform/4.4/cli_reference/helm_cli/getting-started-with-helm-on-openshift-container-platform.html#on-macos

I can follow the helm commands fine and it installs the chart and I see pods being created and started.

$ helm list --all
NAME        	NAMESPACE  	REVISION	UPDATED                             	STATUS  	CHART            	APP VERSION
nodejs-chart	nodejs-ex-k	1       	2020-07-01 20:16:14.190394 -0400 EDT	deployed	nodejs-ex-k-0.2.0	1.16.0  
$ oc get pods
NAME                      READY   STATUS      RESTARTS   AGE
nodejs-example-1-build    0/1     Completed   0          26m
nodejs-example-1-deploy   0/1     Completed   0          26m
nodejs-example-1-fzt5p    1/1     Running     0          25m

So I see we have a pod running the nodejs-example. I gather from looking at the values.yaml and the templates that there is supposed to be a web url to access something(?) but I can't gather a) what the expected URL entry point is b) what it should do

The documentation doesn't take the example any further than helm list

When I check my routes with oc get all I do see:

NAME                                      HOST/PORT                                                PATH   SERVICES         PORT    TERMINATION   WILDCARD
route.route.openshift.io/nodejs-example   nodejs-example-nodejs-ex-k.apps.******.com          nodejs-example   <all>                 None

If I try to connect with that URL, I get a standard error page stating "Application is not available"

Should the application be reachable over that URL listed as a route?

It would be nice if this project had a README.md to explain that, or the RedHat documentation could be updated with a next step to complete this example.

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