jkube icon indicating copy to clipboard operation
jkube copied to clipboard

doc: improve documentation oc:build

Open sunix opened this issue 3 years ago • 2 comments

Description

the oc:build part needs rearrangement for instance there is a generic part about build strategy in Openshift build. https://www.eclipse.org/jkube/docs/openshift-maven-plugin#build-openshift it is not clear that kubernetes build is docker build and openshift build is s2i. Selection_659

Info

  • Eclipse JKube version :
  • Maven version (mvn -v) :

  • Kubernetes / Red Hat OpenShift setup and version :

  • If it's a bug, how to reproduce :

  • If it's a feature request, what is your use case :

  • Sample Reproducer Project : [GitHub Clone URL]

sunix avatar May 30 '22 16:05 sunix

ok so i think i understand:

  • kubernetes build is local docker build
  • openshift build with docker strategy is remote docker build (in the openshift cluster)

but having say that ... how do we perform a "kubernetes build" ?

sunix avatar May 30 '22 18:05 sunix

this part is wrong: Selection_662

  • It is assuming that it will perform a docker build locally which is wrong.
  • it is assuming that docker is the default strategy which is wrong

sunix avatar May 31 '22 13:05 sunix