quarkus: Quarkus kubernetes sidecars configs do not work
Describe the bug Hi,
I am trying to generate sidecar configs using quarkus application.properties. I have below in my application.properties.
quarkus.kubernetes.sidecars.abc.image=def/abc quarkus.kubernetes.sidecars.abc.ports[0].containerPort=3000 quarkus.kubernetes.sidecars.abc.arguments[0]=–config=/etc/abc/abc.conf quarkus.kubernetes.sidecars.abc.mount[0].path=/etc/abc
It is supposed to configure abc sidecontainer in kubernetes.yml. But it is not. Main app container is correctly there along with other manifests (e.g. Service, ServiceAccount etc.) in the kubernetes.yml Is there any issue with my properties? or it is not supported in Quarkus.
Reference: https://quarkus.io/guides/deploying-to-kubernetes
Expected behavior Sidecar container should be created in kubernetes.yml
Actual behavior No sidecar container is created in kubernetes.yml
To Reproduce Steps to reproduce the behavior:
- Copy below configs in application.properties of a quarkus kubernetes project
quarkus.kubernetes.sidecars.abc.image=def/abc quarkus.kubernetes.sidecars.abc.ports[0].containerPort=3000 quarkus.kubernetes.sidecars.abc.arguments[0]=–config=/etc/abc/abc.conf quarkus.kubernetes.sidecars.abc.mount[0].path=/etc/abc
2.Build the project
Configuration
quarkus.kubernetes.sidecars.abc.image=def/abc
quarkus.kubernetes.sidecars.abc.ports[0].containerPort=3000
quarkus.kubernetes.sidecars.abc.arguments[0]=--config=/etc/abc/abc.conf
quarkus.kubernetes.sidecars.abc.mount[0].path=/etc/abc
Screenshots (If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
- Output of
uname -a
orver
: - Output of
java -version
: - GraalVM version (if different from Java):
- Quarkus version or git rev:
- Build tool (ie. output of
mvnw --version
orgradlew --version
):
Additional context (Add any other context about the problem here.)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (9 by maintainers)
Commits related to this issue
- Fix broken sidecar handling Fixes: #10308 — committed to geoand/quarkus by geoand 4 years ago
- Fix broken sidecar handling Fixes: #10308 — committed to geoand/quarkus by geoand 4 years ago
- Fix broken sidecar handling Fixes: #10308 — committed to geoand/quarkus by geoand 4 years ago
- Merge pull request #10333 from geoand/#10308 Fix broken sidecar handling — committed to quarkusio/quarkus by geoand 4 years ago
- Fix broken sidecar handling Fixes: #10308 — committed to gsmet/quarkus by geoand 4 years ago
Should be early August if all goes well
On Fri, Jun 26, 2020, 22:39 vishalgoel1988 notifications@github.com wrote:
Ok.
Is it possible to have it in next release. This is quite helpful.