operator-sdk : v0.19.0
A node express API used as an example for deploying via the operator-sdk on openshift
curl http://localhost:8080/get
ok
curl -d "{data.json"} -X POST http://localhost:8080/post
ok
The operator creates the
- Deployment (will scale up or down to the spec.size specified in the always200 CR)
- Service
- Route
Run locally
# deploy the resources
make deploy
# run the operator localy
make run
# delete the deployment
make delete
Deploy on cluster
# deploy the resources
make deploy/image
# delete the deployment
make delete
Should work with any REST server provided its container is EXPOSED 8080
Change the image in the CR here
- Write some unit tests