Code Monkey home page Code Monkey logo

Comments (5)

vinzent avatar vinzent commented on September 18, 2024

its oc process --local -p KEY=VALUE | oc apply -f - not oc apply -f deployment-cluster-os4.yml directly . Was working on the generated yaml and mixed up some things.

from hawtio-online.

tadayosi avatar tadayosi commented on September 18, 2024

@vinzent README suggests using oc new-app -f deployment-namespace.yml -p ROUTE_HOSTNAME=<HOST>, which is equivalent to oc process -f deployment-namespace.yml -p KEY=VALUE | oc apply -f -.

Also, deployment-cluster-os4.yml is for OpenShift 4. You should not use it for OpenShift 3.x.

from hawtio-online.

vinzent avatar vinzent commented on September 18, 2024

oc new-app -f deployment-namespace.yml -p ROUTE_HOSTNAME=

You're probably right that im doing more than what is documented. The docs only say how to deploy it initially. What I want to achiev is to be able to run oc apply -f ... multiple times after the inital deployment without triggering unneeded deployments/rollouts of the pods.

Because the source here and the ImageChange trigger manage the image reference in the container template this is a (small) issue.

But feel free to close this issue if its a non-goal of hawtio-online of being able to run apply multiple times without triggering unnecessary changes.

Also, deployment-cluster-os4.yml is for OpenShift 4. You should not use it for OpenShift 3.x

Due to networking security we can't use OS3 method which uses the kube-apiserver pod proxy feature. We need to have a console deployment by networkzone - which only seems (somehow) doable with the OS4 method of deploying which uses SDN to jolokia ports directly (RH support told me that it should be possible).

from hawtio-online.

tadayosi avatar tadayosi commented on September 18, 2024

Now I see your point. Let's keep it open so hopefully we can come up with a better solution for it.

Meanwhile, FWIW now we recommend using https://github.com/hawtio/hawtio-operator instead of this manual installation.

from hawtio-online.

github-actions avatar github-actions commented on September 18, 2024

This issue has been automatically marked as stale due to a year of inactivity.
It will be closed if no further activity occurs within 14 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!

from hawtio-online.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.