yangwwei commented on PR #555:
URL: https://github.com/apache/yunikorn-k8shim/pull/555#issuecomment-1480480317
@craigcondit
Got it. Please see the updates. This now prints logs like this:
it prints a message every 10s
the log prompts to WARN after 5m
```
2023-03-22T18:56:27.602-0700 INFO cache/placeholder_manager.go:153
starting the PlaceholderManager
2023-03-22T18:56:37.611-0700 INFO client/clients.go:96 Waiting for
informers to sync {"timeElapsed": "10s"}
...
2023-03-22T18:57:27.654-0700 INFO client/clients.go:96 Waiting for
informers to sync {"timeElapsed": "1m0s"}
2023-03-22T18:57:37.662-0700 INFO client/clients.go:96 Waiting for
informers to sync {"timeElapsed": "1m10s"}
2023-03-22T18:57:47.673-0700 INFO client/clients.go:96 Waiting for
informers to sync {"timeElapsed": "1m20s"}
...
2023-03-22T18:59:40.310-0700 INFO client/clients.go:93 Still
waiting for informers to sync, delay seems longer than usual...
{"timeElapsed": "5m"}
2023-03-22T18:59:40.310-0700 INFO client/clients.go:93 Still
waiting for informers to sync, delay seems longer than usual...
{"timeElapsed": "5m10s"}
```
--
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]