Comments (4)
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.
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.
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.
Works on 1.2.
Closing this issue, please feel free to reopen if needed
from operator.
Related Issues (20)
- Permission issues on mounted Volumes for RHDH container HOT 6
- Helm releases HOT 6
- RFE: Add OpenShift OAuth as an authentication option OOTB HOT 1
- [Proposal] More user-friendly Sidecar containers support HOT 1
- Generate and store the deployment manifest in the repo HOT 4
- Support k8s ingress HOT 2
- Make possible to configure the path for mounting extra ConfigMaps/Secrets individually HOT 1
- Improve Backstage CRD to simplify k8s runtime customization HOT 2
- Make options to define/generate app-config's baseUrls and backendSecret in CR HOT 2
- Potential breaking change between 1.1.x and main (1.2) for the default Route URL naming pattern
- Extra Config's CM/Secret references to particular Backstage instance even if it is deleted HOT 1
- Consider adding health checks for operator's kube-rbac-proxy container HOT 1
- Setting custom `spec.application.route.host` not working using the RHDH Operator on OpenShift, due to inconsistent permissions between downstream and upstream CSVs
- Generate CSV for RHDH HOT 2
- `spec.serviceName` field in local DB StatefulSet operand is hardcoded and not correct HOT 1
- Existing Backstage operand not upgraded (stuck on mounting a ConfigMap) after upgrading operator from 1.1.x to 1.2.x
- Make logic for testing the operator upgrade paths extensible
- Nightly check failed HOT 3
- Add the tests requiring real cluster to CI as a part of PR check HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from operator.