dylanenabled opened a new issue #1525:
URL: https://github.com/apache/camel-k/issues/1525


   I'm running an integration with 
   
   ```bash
   kamel run -n "${KUBECTL_NAMESPACE}" ${FLAGS} \
     ${DEPS} \
     --trait prometheus.enabled=true \
     --trait prometheus.service-monitor=false \
     --secret=logr-air-camelk-config \
     --configmap=logr-air-consumer-config \
     --wait \
     integration.kts
   ```
   
   Previously (on 1.0.0.RC2) this created a container with port 9779 open which 
I could then  `kubectl port-forward` to connect to and see the prometheus 
metrics, but now it gives 
   
   ```
   E0612 21:41:49.945801   28422 portforward.go:400] an error occurred 
forwarding 9779 -> 9779: error forwarding port 9779 to pod 
64d5e332e575c3bf4b848eef4442bf6e71bb2bd45c0d121e6985be813c0e723f, uid : exit 
status 1: 2020/06/12 12:11:49 socat[16134] E connect(5, AF=2 127.0.0.1:9779, 
16): Connection refused
   ```
   
   I'm not using prometheus operator (just the prometheus helm chart) so I 
disabled service monitor, that didn't matter previously though.
   
   After looking through the container, it looks like there is no port on 9779 
open, though the port definition is listed in the kubernetes pod manifest.
   
   Any help would be appreciated.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to