npm install
# run server
kar run -app myApp -service myService -actors Foo node server.js &
# run a trivial client
kar run -app myApp node client.js
# run the test suite client
kar run -app myApp node test-harness.js
$ helm install ut ./deploy/chart --set image=example-js:dev
NAME: ut
LAST DEPLOYED: Fri Apr 3 16:34:15 2020
NAMESPACE: default
STATUS: deployed
REVISION: 1
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
ut-server-6fb75d6b55-nrnbn 2/2 Running 0 5s
ut-server-6fb75d6b55-qznl8 2/2 Running 0 5s
$ helm test ut
Pod ut-client pending
Pod ut-client pending
Pod ut-client running
Pod ut-client succeeded
NAME: ut
LAST DEPLOYED: Fri Apr 3 16:34:15 2020
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: ut-client
Last Started: Fri Apr 3 16:34:25 2020
Last Completed: Fri Apr 3 16:34:34 2020
Phase: Succeeded
$ helm delete ut
release "ut" uninstalled