dyrnq / kubeadm-vagrant

Run kubernetes cluster with kubeadm on vagrant.
1 stars 5 forks source link

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

Open dyrnq opened 2 years ago

dyrnq commented 2 years ago
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 commented 2 years ago
  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 commented 2 years ago

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