kubernetes/test/e2e/network
Kubernetes Submit Queue 99e9db5815
Merge pull request #63881 from luxas/disable_cadvisor_default
Automatic merge from submit-queue (batch tested with PRs 63881, 64046, 63409, 63402, 63221). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Disable the public cadvisor port by default

**What this PR does / why we need it**:
Quoting @tallclair in #56523:
> We should add the deprecation warning in 1.10 along with a release note, but not change the default. The notes should warn that the default will change in 1.11. We disable the flag by default in 1.11, and remove it entirely in 1.12 or 1.13.
> If you currently depend on the UI or the API, speak up! Going forward, the recommended way of taking advantage of those features will be to run cAdvisor as a DaemonSet.

Disabling the publicly-available cAdvisor port is beneficial for security, as you might not want to expose the UI with lots of information about what your system is doing. We already did this for all kubeadm deployments in v1.7, and haven't recieved any issues for that. This should be okay to do at this stage, as this flag was deprecated in v1.10. Given we need to support this flag for one more release (v1.11), it makes perfect sense to instead switch it off in preparation for v1.12 when we can delete it (see the [deprecation policy](https://kubernetes.io/docs/reference/deprecation-policy/#deprecating-a-flag-or-cli))

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Part of #56523

**Special notes for your reviewer**:

I removed the e2e test that expects cAdvisor to be running, as we don't expect it to be anymore.

**Release note**:

```release-note
[action required] The formerly publicly-available cAdvisor web UI that the kubelet ran on port 4194 by default is now turned off by default. The flag configuring what port to run this UI on `--cadvisor-port` was deprecated in v1.10. Now the default is `--cadvisor-port=0`, in other words, to not run the web server. The recommended way to run cAdvisor if you still need it, is via a DaemonSet. The `--cadvisor-port` will be removed in v1.12
```
cc @kubernetes/sig-cluster-lifecycle-pr-reviews @kubernetes/sig-auth-pr-reviews @kubernetes/sig-node-pr-reviews
2018-05-21 17:05:27 -07:00
..
scale [e2e ingress-gce] Fix race condition for appending services and ingresses 2018-04-23 14:15:44 -07:00
BUILD update tests to be specific about the versions they are testing instead of floating 2018-05-01 13:18:41 -04:00
dns.go Add e2e test for forwarding PTR records to upstream nameserver. 2018-04-11 11:24:31 -07:00
dns_common.go update tests to be specific about the versions they are testing instead of floating 2018-05-01 13:18:41 -04:00
dns_configmap.go e2e test forwarding externalname dns lookup to upstream nameservers. 2018-04-19 16:53:41 -07:00
doc.go Moves networking e2e tests to test/e2e/network 2017-07-22 09:43:42 -07:00
example_cluster_dns.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
firewall.go controller-manager: switch to config/option struct pattern 2018-02-13 11:16:17 +01:00
framework.go Add [sig-network] prefix to network e2e tests 2017-07-25 08:56:35 +08:00
ingress.go test clusterip 2018-05-16 14:30:21 -07:00
ingress_scale.go [e2e ingress-gce] Scale test to measure ingress create/update latency 2018-02-08 17:49:47 -08:00
kube_proxy.go Use /proc/net/nf_conntrack. 2018-01-21 20:34:39 +01:00
network_policy.go Add named port egress test 2017-11-06 14:34:01 -08:00
network_tiers.go [e2e service] Fix CleanupGCEResources for regional test 2018-03-09 13:29:30 -08:00
networking.go Don't share nodePort service in session affinity tests 2017-11-05 22:42:33 -08:00
networking_perf.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
no_snat.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
OWNERS Moves networking e2e tests to test/e2e/network 2017-07-22 09:43:42 -07:00
proxy.go Remove e2e test for cAdvisor running in the kubelet, as it's deprecated and gonna be removed 2018-05-16 10:39:07 +01:00
service.go Fix bad sleep - int as duration 2018-05-11 15:40:12 -07:00
service_latency.go Use pause manifest image 2018-04-06 11:00:50 +05:30
serviceloadbalancers.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
util_iperf.go fix newline in raw string in e2e net perf case 2017-10-25 13:26:43 +08:00