You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if a jkube/service.yml is defined to declare some extra configuration (e.g: expose other ports) in the service and jkube.enricher.jkube-service.type property is defined as NodePort, then that ports are not created in the final service created.
If that file does not exist then default ports are exposed successfully, but the application does not work because the additional ports are not declared.
Info
Eclipse JKube version : kubernetes-maven-plugin:1.0.0
Maven version (mvn -v) :
❯ mvn -v
Maven home: /home/rmarting/Software/apache-maven-3.6.3
Java version: 11.0.8, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.8.10-2.fc32.x86_64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.8.15-201.fc32.x86_64", arch: "amd64", family: "unix"
Kubernetes / Red Hat OpenShift setup and version :
❯ minikube version
minikube version: v1.14.0
commit: b09ee50ec047410326a85435f4d99026f9c4f5c4
And provide the default value in your pom.xml properties section. Then you can override the value in the mvn CLI invocation -Djkube.enricher.jkube-service.type=NodePort.
Description
if a
jkube/service.yml
is defined to declare some extra configuration (e.g: expose other ports) in the service andjkube.enricher.jkube-service.type
property is defined asNodePort
, then that ports are not created in the final service created.If that file does not exist then default ports are exposed successfully, but the application does not work because the additional ports are not declared.
Info
mvn -v
) :1.- Create a
service.yml
in thejkube
folder as:2.- Deploy the application with:
3.- Check that any nodePort was declared:
4.- Remove the
service.yml
and repeat the deployment as in step 3.5.- Check that nodePort was declared successfully:
However the ports declared are not the needed for the application:
Sample GitHub Repository: https://github.com/rmarting/kafka-clients-quarkus-sample/tree/feature/b-g-deployment-strategy
The text was updated successfully, but these errors were encountered: