OS Manuals

/usr/bin/linkerd-cni-repair-controller

Linkerd2 utility to scan & evict pods that failed to aquire a network configuration

From linkerd2-cni-repair-controller 1.7.1-r0 (enterprise-packages), captured 2026-11-08 by running linkerd-cni-repair-controller --help (exit 0). permalink

Scan the pods in the current node to find those that have been injected by linkerd, and whose linkerd-network-validator container has failed, and proceed to evict them so they can restart and rety re-acquiring a proper network config

Usage:

Options:
      --log-level <LOG_LEVEL>
          [env: LINKERD_CNI_REPAIR_CONTROLLER_LOG_LEVEL=] [default: linkerd_cni_repair_controller=info,warn]
      --log-format <LOG_FORMAT>
          [env: LINKERD_CNI_REPAIR_CONTROLLER_LOG_FORMAT=] [default: plain]
      --node-name <NODE_NAME>
          [env: LINKERD_CNI_REPAIR_CONTROLLER_NODE_NAME=]
      --controller-pod-name <CONTROLLER_POD_NAME>
          [env: LINKERD_CNI_REPAIR_CONTROLLER_POD_NAME=]
      --cluster <CLUSTER>
          The name of the kubeconfig cluster to use
      --context <CONTEXT>
          The name of the kubeconfig context to use
      --user <USER>
          The name of the kubeconfig user to use
      --kubeconfig <KUBECONFIG>
          The path to the kubeconfig file to use
      --as <IMPERSONATE_USER>
          Username to impersonate for Kubernetes operations
      --as-group <IMPERSONATE_GROUP>
          Group to impersonate for Kubernetes operations
      --kube-api-response-headers-timeout <RESPONSE_HEADERS_TIMEOUT>
          The timeout for response headers from the Kubernetes API [default: 9s]
      --admin-addr <ADMIN_ADDR>
          The admin server's address [default: 0.0.0.0:8080]
  -h, --help
          Print help
  -V, --version
          Print version
Options (14)
OptionDescriptionSource
--log-level LOG_LEVEL[env: LINKERD_CNI_REPAIR_CONTROLLER_LOG_LEVEL=] [default: linkerd_cni_repair_controller=info,warn]help
--log-format LOG_FORMAT[env: LINKERD_CNI_REPAIR_CONTROLLER_LOG_FORMAT=] [default: plain]help
--node-name NODE_NAME[env: LINKERD_CNI_REPAIR_CONTROLLER_NODE_NAME=]help
--controller-pod-name CONTROLLER_POD_NAME[env: LINKERD_CNI_REPAIR_CONTROLLER_POD_NAME=]help
--cluster CLUSTERThe name of the kubeconfig cluster to usehelp
--context CONTEXTThe name of the kubeconfig context to usehelp
--user USERThe name of the kubeconfig user to usehelp
--kubeconfig KUBECONFIGThe path to the kubeconfig file to usehelp
--as IMPERSONATE_USERUsername to impersonate for Kubernetes operationshelp
--as-group IMPERSONATE_GROUPGroup to impersonate for Kubernetes operationshelp
--kube-api-response-headers-timeout RESPONSE_HEADERS_TIMEOUTThe timeout for response headers from the Kubernetes API [default: 9s]help
--admin-addr ADMIN_ADDRThe admin server's address [default: 0.0.0.0:8080]help
-h, --helpPrint helphelp
-V, --versionPrint versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.