diff --git a/build/yamls/antrea-ipsec.yml b/build/yamls/antrea-ipsec.yml index cf34824bdab..4abb051d23e 100644 --- a/build/yamls/antrea-ipsec.yml +++ b/build/yamls/antrea-ipsec.yml @@ -332,8 +332,6 @@ spec: - args: - --config - /etc/antrea/antrea-controller.conf - - -v - - "1000" command: - antrea-controller env: diff --git a/build/yamls/antrea.yml b/build/yamls/antrea.yml index 41b42067323..6f0dd0c59e5 100644 --- a/build/yamls/antrea.yml +++ b/build/yamls/antrea.yml @@ -323,8 +323,6 @@ spec: - args: - --config - /etc/antrea/antrea-controller.conf - - -v - - "1000" command: - antrea-controller env: diff --git a/build/yamls/base/controller.yml b/build/yamls/base/controller.yml index 8893db6a06d..bdb422e7d44 100644 --- a/build/yamls/base/controller.yml +++ b/build/yamls/base/controller.yml @@ -62,7 +62,7 @@ spec: - name: antrea-controller image: antrea command: ["antrea-controller"] - args: ["--config", "/etc/antrea/antrea-controller.conf", "-v", "1000"] + args: ["--config", "/etc/antrea/antrea-controller.conf"] env: # Provide pod and node information for clusterinformation CRD. - name: POD_NAME diff --git a/pkg/antctl/client.go b/pkg/antctl/client.go index c896857cafe..35bba922e11 100644 --- a/pkg/antctl/client.go +++ b/pkg/antctl/client.go @@ -108,7 +108,7 @@ func (c *client) localRequest(opt *RequestOption) (io.Reader, error) { // data. func (c *client) Request(opt *RequestOption) (io.Reader, error) { if c.inPod { - klog.Infoln("Antctl runs as local mode") + klog.Infoln("antctl runs as local mode") return c.localRequest(opt) } kubeconfig, err := c.resolveKubeconfig(opt)