[e2e] Also verify content returned by kube-proxy healthz server

This commit is contained in:
Zihong Zheng 2017-07-19 23:21:28 -07:00
parent c9ab810803
commit 5a2f226147

View File

@ -85,6 +85,8 @@ var _ = framework.KubeDescribe("Networking", func() {
By("checking kube-proxy URLs")
config.GetSelfURL(ports.ProxyHealthzPort, "/healthz", "200 OK")
// Verify /healthz returns the proper content.
config.GetSelfURL(ports.ProxyHealthzPort, "/healthz", "lastUpdated")
config.GetSelfURL(ports.ProxyStatusPort, "/proxyMode", "iptables") // the default
})