Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flag provided but not defined: -best-effort #27

Open
dyrnq opened this issue Jun 22, 2022 · 2 comments
Open

flag provided but not defined: -best-effort #27

dyrnq opened this issue Jun 22, 2022 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@dyrnq
Copy link
Owner

dyrnq commented Jun 22, 2022

flag provided but not defined: -best-effort
Usage of Calico:
  -allocate-tunnel-addrs
    	Configure tunnel addresses for this node
  -allocate-tunnel-addrs-run-once
    	Run allocate-tunnel-addrs in oneshot mode
  -bird-live
    	Run bird liveness checks
  -bird-ready
    	Run BIRD readiness checks
  -bird6-live
    	Run bird6 liveness checks
  -bird6-ready
    	Run BIRD6 readiness checks
  -bpf
    	Run BPF debug tool
  -confd
    	Run confd
  -confd-confdir string
    	Confd configuration directory. (default "/etc/calico/confd")
  -confd-keep-stage-file
    	Keep stage file when running confd
  -confd-run-once
    	Run confd in oneshot mode
  -felix
    	Run Felix
  -felix-live
    	Run felix liveness checks
  -felix-ready
    	Run felix readiness checks
  -hostpath-init
    	Initialize hostpaths for non-root access
  -init
    	Do privileged initialisation of a new node (mount file systems etc).
  -monitor-addresses
    	Monitor change in node IP addresses
  -monitor-token
    	Watch for Kubernetes token changes, update CNI config
  -should-install-windows-upgrade
    	Check if Windows upgrade service should be installed.
  -show-status
    	Print out node status
  -shutdown
    	Do shutdown routine.
  -startup
    	Do non-privileged start-up routine.
  -status-reporter
    	Run node status reporter
  -threshold-time duration
    	Threshold time for bird readiness (default 30s)
  -upgrade-windows
    	Run Windows upgrade service.
  -v	Display version
flag provided but not defined: -best-effort
@dyrnq
Copy link
Owner Author

dyrnq commented Jun 22, 2022

  mount-bpffs:
    Container ID:  docker://7ec4ac2a8b20bb48da3cb658948832f47787c2da4ad94dca36ce2a3ec988d6da
    Image:         docker.io/calico/node:v3.23.1
    Image ID:      docker-pullable://calico/node@sha256:d2c1613ef26c9ad43af40527691db1f3ad640291d5e4655ae27f1dd9222cc380
    Port:          <none>
    Host Port:     <none>
    Command:
      calico-node
      -init
      -best-effort
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    1
      Started:      Wed, 22 Jun 2022 11:34:14 +0800
      Finished:     Wed, 22 Jun 2022 11:34:14 +0800
    Ready:          False
    Restart Count:  8
    Environment:    <none>
    Mounts:
      /initproc from init-proc (ro)
      /sys/fs from sys-fs (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-xq2qd (ro)

@dyrnq
Copy link
Owner Author

dyrnq commented Jun 24, 2022

Looks like calico(version >=v3.22) use eBPF.Follow up study how upgrade.

@dyrnq dyrnq added the help wanted Extra attention is needed label Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant