This page (revision-14) was last changed on 23-Apr-2022 17:06 by Harry Metske

This page was created on 23-Apr-2022 17:06 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
14 23-Apr-2022 17:06 15 KB Harry Metske to previous
13 23-Apr-2022 17:06 15 KB Harry Metske to previous | to last
12 23-Apr-2022 17:06 15 KB Harry Metske to previous | to last
11 23-Apr-2022 17:06 15 KB Harry Metske to previous | to last
10 23-Apr-2022 17:06 14 KB Harry Metske to previous | to last
9 23-Apr-2022 17:06 13 KB Harry Metske to previous | to last
8 23-Apr-2022 17:06 11 KB Harry Metske to previous | to last
7 23-Apr-2022 17:06 9 KB Harry Metske to previous | to last
6 23-Apr-2022 17:06 8 KB Harry Metske to previous | to last
5 23-Apr-2022 17:06 7 KB Harry Metske to previous | to last
4 23-Apr-2022 17:06 7 KB Harry Metske to previous | to last
3 23-Apr-2022 17:06 2 KB Harry Metske to previous | to last
2 23-Apr-2022 17:06 1 KB Harry Metske to previous | to last
1 23-Apr-2022 17:06 670 bytes Harry Metske to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 4 added one line
\\
At line 17 changed one line
!! Runnable jar.
!! Runnable jar, DIY.
At line 338 added 46 lines
!! Running containers
The idea is to just a container from an image, and that envvars should determine which jar file to run.
....created subimage from ......
pushed to internal docker registry
Fire up with oc:
{{{
[2016-12-01 13:11.32] /drives/g/tools
[metskeh.RB904184] ➤ ./oc new-app docker-registry.linux.rabobank.nl/online.io/javarunner:0.1 --env JARFILE_URL="http://lsrv4008.linux.rabobank.nl/artifacts/dropwizardtest-1.4/dropwizardtest-1.4.jar"
--> Found Docker image be874f9 (2 hours old) from docker-registry.linux.rabobank.nl for "docker-registry.linux.rabobank.nl/online.io/javarunner:0.1"
* An image stream will be created as "javarunner:0.1" that will track this image
* This image will be deployed in deployment config "javarunner"
* [WARNING] Image "javarunner" runs as the 'root' user which may not be permitted by your cluster administrator
* The image does not expose any ports - if you want to load balance or send traffic to this component
you will need to create a service with 'expose dc/javarunner --port=[port]' later
--> Creating resources with label app=javarunner ...
ImageStream "javarunner" created
DeploymentConfig "javarunner" created
--> Success
Run 'oc status' to view your app.
}}}
Why does it take so long on my Rabo laptop on E2B (VDI is much faster):
{{{
[MetskeH.RB344164] ➤ time ./oc status -v
In project testproject (demoapp1) on server https://ose-master-api.linux.rabobank.nl:8443
svc/javarunner - 192.168.215.67:8080
dc/javarunner deploys imagestreamtag/javarunner:0.2
#1 deployed 19 hours ago - 1 pod
Warnings:
* container "javarunner" in pod/javarunner-1-s8ylj has restarted 234 times
* The image trigger for dc/javarunner will have no effect until imagestreamtag/javarunner:0.2 is imported or created by a build.
View details with 'oc describe <resource>/<name>' or list everything with 'oc get all'.
real 0m 37.28s
user 0m 0.01s
sys 0m 0.01s
}}}
At line 338 removed one line
[{ALLOW edit metskem}]