tdiesler commented on PR #15087:
URL: https://github.com/apache/camel/pull/15087#issuecomment-2278700256
The general deploy/run commands work, but `--logs` throws 404
```
camel kubernetes run timer-log-route.yaml --logs \
--gav=examples:timer-log:1.0.0 \
--trait container.imagePullPolicy=IfNotPresent \
--trait service.type=NodePort \
--runtime=camel-main
...
Exporting application ...
Deploying to Kubernetes ...
kubectl get pod -l camel.apache.org/integration=timer-log
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the
server could not find the requested
resource","reason":"NotFound","details":{},"code":404}
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the
server could not find the requested
resource","reason":"NotFound","details":{},"code":404}
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the
server could not find the requested
resource","reason":"NotFound","details":{},"code":404}
```
When I run the kubectl manually, it works
```
$ kubectl get pod -l camel.apache.org/integration=timer-log
NAME READY STATUS RESTARTS AGE
timer-log-695bc9c9bd-vhhp7 1/1 Running 0 20s
```
@christophd Any idea what that could be? I assume that access to the API
server must generally have worked for the deploy to succeed.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]