Change:
TLDR: removed a feature but left documentation and the flag intact. Kubernetes version (use ): Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.0", GitCommit:"", GitTreeState:"clean", BuildDate:"2017-03-28T16:36:33Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"", GitTreeState:"clean", BuildDate:"2017-01-12T04:52:34Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"} Environment: Cloud provider or hardware configuration: irrelevant OS (e.g. from /etc/os-release): irrelevant Kernel (e.g. ): irrelevant Install tools: kops Others: What happened: I am trying to set up periodic conformance tests on our cluster to make sure it is working as expected. Prometheus will be used for monitoring. After ing kubernetes I executed a command along the lines of: GINKGOPARALLEL=y KUBERNETESPROVIDER=local KUBEMASTER=local --host="" --test.v=true --"[(SlowSerial)]" --"[Conformance]" --prom-push-gateway=prometheus-push- The push gateway does never receive the metrics, because the feature was removed. What you expected to happen: The tests send the metrics to the push gateway. How to reproduce it (as minimally and precisely as possible): Search for the "PrometheusPushGateway" flag in this repo. It is used nowhere. Anything else we need to know: The feature was removed in but the flags were left in place and also in the documentation. It is frustrating to see that this flag is just a black hole. A solution to this would be to either reinstate the feature or remove the flag from docs and flags.
Blerg. pointed this out back in the PR that remove the functionality, let's follow through and remove the flags. Easy PR if someone wants it

Discussion:
EtcdUpgradeVersion       string UpgradeImage             string GCEUpgradeScript         string <del> PrometheusPushGateway    string </del> ContainerRuntime         string ContainerRuntimeEndpoint string ImageServiceEndpoint     string

flag.StringVar(&TestContext.UpgradeImage, "upgrade-image", "", "Image to upgrade to (e.g. 'container_vm' or 'gci') if doing an upgrade test.") flag.StringVar(&TestContext.GCEUpgradeScript, "gce-upgrade-script", "", "Script to use to upgrade a GCE cluster.") flag.StringVar(&TestContext.FederationUpgradeTarget, "federation-upgrade-target", "ci/latest", "Version to upgrade to (e.g. 'release/stable', 'release/latest', 'ci/latest', '0.19.1', '0.19.1-669-gabac8c8') if doing an federation upgrade test.") <del> flag.StringVar(&TestContext.PrometheusPushGateway, "prom-push-gateway", "", "The URL to prometheus gateway, so that metrics can be pushed during e2es and scraped by prometheus. Typically something like 127.0.0.1:9091.") </del> flag.BoolVar(&TestContext.CleanStart, "clean-start", false, "If true, purge all namespaces except default and system before running tests. This serves to Cleanup test namespaces from failed/interrupted e2e runs in a long-lived cluster.") flag.BoolVar(&TestContext.GarbageCollectorEnabled, "garbage-collector-enabled", true, "Set to true if the garbage collector is enabled in the kube-apiserver and kube-controller-manager, then some tests will rely on the garbage collector to delete dependent resources.") }