Skip to content

Kube-DNS jobs are broken #129230

@aojea

Description

@aojea
          @DamianSawicki @marqc  @bowei  this broke all GCE jobs https://testgrid.k8s.io/sig-network-gce#gci-gce-serial-kube-dns

It seems there is an incompatibility change in new version unknown flag: --logtostderr

 ENDLOG for container kube-system:kube-dns-774f458686-mkwgw:dnsmasq
  I1213 03:32:16.105087 10982 kubectl_utils.go:128] Logs of kube-system/kube-dns-774f458686-mkwgw:sidecar on node bootstrap-e2e-minion-group-37sw
  I1213 03:32:16.105126 10982 kubectl_utils.go:129]  : STARTLOG
  unknown flag: --logtostderr
  Usage of /sidecar:
        --dnsmasq-addr string            address that the dnsmasq server is listening on (default "127.0.0.1")
        --dnsmasq-poll-interval-ms int   interval with which to poll dnsmasq for stats (default 5000)
        --dnsmasq-port int               port that the dnsmasq server is listening on (default 53)
        --log-flush-frequency duration   Maximum number of seconds between log flushes (default 5s)
        --probe string                   probe the given DNS server with the DNS name and export probe metrics and healthcheck URI. Specified as <label>,<server>,<dns name>[,<interval_seconds>][,<type>]. Healthcheck url will be exported under /healthcheck/<label>. interval_seconds is optional. This option may be specified multiple times to check multiple servers. <type> is one of ANY, A, AAAA, SRV. Example: 'mydns,127.0.0.1:53,example.com,10,A'. (default "[]")
        --prometheus-addr string         http address to bind metrics server to (default "0.0.0.0")
        --prometheus-namespace string    prometheus metric namespace (default "kubedns")
        --prometheus-path string         http path used to export metrics (default "/metrics")
        --prometheus-port int            http port to use to export prometheus metrics (default 10054)
    -v, --v Level                        number for the log level verbosity (default 0)
        --version version[=true]         Print version information and quit
        --vmodule moduleSpec             comma-separated list of pattern=N settings for file-filtered logging (only works for the default text log format)
  unknown flag: --logtostderr
  ENDLOG for container kube-system:kube-dns-774f458686-mkwgw:sidecar
  [FAILED] in [SynchronizedBeforeSuite] - k8s.io/kubernetes/test/e2e/e2e.go:232 @ 12/13/24 03:32:16.105
  << Timeline

or maybe is brought by a dependency update in klog? I don't know but if you are going to bump dependencies here you must check the testgrid jobs https://testgrid.k8s.io/sig-network-gce#gci-gce-serial-kube-dns and trigger a presubmit before updating

Originally posted by @aojea in #129175 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/failing-testCategorizes issue or PR as related to a consistently or frequently failing test.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/networkCategorizes an issue or PR as relevant to SIG Network.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions