Comments (5)
/cc @geoand (kubernetes,openshift), @iocanel (kubernetes,openshift)
from quarkus.
This might be related to a recent change that removes some selectors that are not needed.
You could possibly work around this by deleting the previous resource.
Meanwhile, I'll try to have a look and see if there is something else we can / need to do.
from quarkus.
You could possibly work around this by deleting the previous resource.
Right. But just to be clear, I'd need to do this on every deployment, because the problem occurs again on the next deployment. It's not just some old, stale resource definition causing trouble.
Meanwhile, I'll try to have a look and see if there is something else we can / need to do.
Thanks.
from quarkus.
I managed to reproduce the issue by changing the version of the application which ends up being used in the LabelSelector of Deployments.
This behavior is controlled by: https://quarkus.io/guides/all-config#quarkus-kubernetes_quarkus-openshift-add-version-to-label-selectors
(so you can deal with the issue by setting it to false).
Apparently, DeploymentConfig treated selectors a bit differently (AFAIR, it used its own Selector implementation) and that's why you haven't encountered the issue before.
One option is to improve the error message, the other is to detect such conflicts and delete. I am a bit skeptic about the potential side effects of the later.
from quarkus.
Thanks, I'll try setting quarkus.openshift.add-version-to-label-selectors
to false
.
Another option would be to have quarkus.openshift.add-version-to-label-selectors
default to false
, since re-deployment cannot work with that being set to true
?
from quarkus.
Related Issues (20)
- Simplify configuration based mapping of token roles to deployment-specific SecurityIdentity HOT 8
- Update the title of dev-ui.adoc HOT 1
- Quarkus Kogito code generator plugin still using javax HOT 10
- Quarkus can't see my Clojure classes. HOT 1
- Renaming reactive messaging to Quarkus messaging HOT 3
- Binding error in azure app functions HOT 1
- Invalid channel configuration - the `connector` attribute must be set for channel `news$1` when setting the concurrency attribute HOT 4
- `SQLException: Unable to enlist connection to existing transaction` when accessing multiple persistence units in the same transaction since 3.8.2 HOT 115
- Bump grpc.version from 1.59.1 to 1.61.0 for Quarkus 3.8 as well HOT 6
- Rest client doesn't get generated when interface annotations are inherited HOT 16
- Validate that http and https are not on the same port HOT 3
- Quarkus OIDC Client: Lazy OIDC Discovery HOT 3
- Complete OIDC Request and Response logging support HOT 1
- Extend OidcClient to support UserInfo, token introspection and token revocation for all token types HOT 2
- Hibernate ORM: package-info is ignored when specifying scan packages HOT 2
- Remove kubernetes client split package check HOT 6
- Removing mentions to `-H:-DeleteLocalSymbols` in documentation when Quarkus moves to GraalVM / Mandrel (24.1) for JDK 23 HOT 1
- Wrong reference on list of injected beans HOT 3
- Refine extension search to allow searching on "rest"
- prod-profile configuration pollutes test profile in integration tests 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 quarkus.