mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 04:52:08 +00:00
enable health check for kube-proxy when wrapped in hyperkube
This commit is contained in:
parent
3f5e417999
commit
0790a6a825
@ -21,8 +21,13 @@ package main
|
|||||||
import (
|
import (
|
||||||
"k8s.io/kubernetes/cmd/kube-proxy/app"
|
"k8s.io/kubernetes/cmd/kube-proxy/app"
|
||||||
"k8s.io/kubernetes/cmd/kube-proxy/app/options"
|
"k8s.io/kubernetes/cmd/kube-proxy/app/options"
|
||||||
|
"k8s.io/kubernetes/pkg/healthz"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
healthz.DefaultHealthz()
|
||||||
|
}
|
||||||
|
|
||||||
// NewKubeProxy creates a new hyperkube Server object that includes the
|
// NewKubeProxy creates a new hyperkube Server object that includes the
|
||||||
// description and flags.
|
// description and flags.
|
||||||
func NewKubeProxy() *Server {
|
func NewKubeProxy() *Server {
|
||||||
|
Loading…
Reference in New Issue
Block a user