weimeilin79 opened a new issue #1459: URL: https://github.com/apache/camel-k/issues/1459
Try enable prometheus for a knative service, but had error.. ``` kamel run API.java --open-api openapi.yaml --trait prometheus.enabled=true ``` ``` Cannot reconcile Integration api: error executing post actions: error during replace resource: could not create or replace resource api: admission webhook "validation.webhook.serving.knative.dev" denied the request: validation failed: Port name prometheus is not allowed: spec.template.spec.containers[0].ports Name must be empty, or one of: 'h2c', 'http1' ``` ---------------------------------------------------------------- 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