Skip to content

nodeshift-starters/nodejs-cache

Repository files navigation

Cache Mission

Node.js CI

The greeting-service requires a running JDG server. In OpenShift, you can create one with oc apply -f service.cache.yml.

Running The Example

You can run this example as node processes on your localhost, as pods on a local OpenShift Local installation.

Localhost

To run the application on your local machine, just run the command bellow:

$ ./start-local.sh

OpenShift Local

OpenShift Local should be started, and you should be logged in with a currently active project. Then run the start-openshift.sh command.

$ crc setup # Set-up the hypervisor
$ crc start # Initialize the openshift cluster
$ oc login -u developer # Login
$ oc new-project my-example-project # Create a project to deploy to
$ ./start-openshift.sh

OpenTelemetry with OpenShift Distributed Tracing Platform

This link contains instructions on how to install the OpenShift Distributed Tracing Platform and enable tracing.