Giter Site home page Giter Site logo

Comments (4)

gazarenkov avatar gazarenkov commented on August 11, 2024 1

Good point, @rm3l !
Yes, I think it come with the fact that version 1.1 (0.1) watches Deployment.
Just tested oc rollout restart deployment with next version and it works fine.

from operator.

gazarenkov avatar gazarenkov commented on August 11, 2024

Hi @masayag

Thanks for the feedback!
I can confirm that oc rollout restart deployment does not work as expected, it does not recreate the pod and so if you change associated ConfigMap or Secret it is not refreshed. This needs some further investigation, so if you find some additional info please share.
Meantime, if you need to apply the changes in CM/Secrets (until we implement #236) one of the following can be used:

  • delete the pod and let replicaSet to recreate it. The simplest for single replica IMO
  • scale to 0 and then back Backstage CR using Spec's replicas field

from operator.

rm3l avatar rm3l commented on August 11, 2024

IIRC, kubectl rollout restart would add the kubectl.kubernetes.io/restartedAt annotation, which causes the Pod to restart, but (my guess) is that the Operator would overwrite these annotations.
As an additional workaround, I usually delete the Deployment, and the Operator would recreate it. But this workaround (same with #281 (comment) above) would unfortunately cause some downtime, I guess.

from operator.

gazarenkov avatar gazarenkov commented on August 11, 2024

Works on 1.2.
Closing this issue, please feel free to reopen if needed

from operator.

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.