-
Notifications
You must be signed in to change notification settings - Fork 67
🌱 VN Agent Healthz Checks #87
🌱 VN Agent Healthz Checks #87
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christopherhein The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind feature |
/assign @charleszheng44 @Fei-Guo |
@@ -103,6 +104,8 @@ func Run(c *config.Config, serverOption *options.ServerOption, stopCh <-chan str | |||
}, | |||
} | |||
|
|||
fmt.Printf(serverOption.ClientCAFile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we wanna print out the client CA file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doh, debugging lol, I will remove that.
The envTest fails. Looking at the log 2021-06-03T18:32:39.544Z INFO controllers.VirtualCluster.Native service already exist {"service": "apiserver-svc"} There is a 6 seconds gap between service log and creating secret log which looks weird. I only see one Get call in between from code which can be slow. We probably need to increase the timeout in envTest. |
a68febc
to
dd2d4eb
Compare
Signed-off-by: Chris Hein <[email protected]>
dd2d4eb
to
e898f9b
Compare
/lgtm |
This add the ability to use vn-agent with a
kubeconfig
specified, which works for the Deployment style vs the DaemonSet mechanism as well this added a/healthz
endpoint for better checking of it's availability.