yurtadm_join

yurtadm join

Run this on any machine you wish to join an existing cluster

  1. yurtadm join [api-server-endpoint] [flags]

Options

  1. --cri-socket string Path to the CRI socket to connect (default "/var/run/dockershim.sock")
  2. --discovery-token-ca-cert-hash strings For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").
  3. --discovery-token-unsafe-skip-ca-verification For token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.
  4. -h, --help help for join
  5. --ignore-preflight-errors strings A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
  6. --kubernetes-resource-server string Sets the address for downloading k8s node resources (default "dl.k8s.io")
  7. --node-labels string Sets the labels for joining node
  8. --node-name string Specify the node name. if not specified, hostname will be used.
  9. --node-type string Sets the node is edge or cloud (default "edge")
  10. --organizations string Organizations that will be added into hub's client certificate
  11. --pause-image string Sets the image version of pause container (default "registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.2")
  12. --reuse-cni-bin Whether to reuse local CNI binaries or to download new ones
  13. --token string Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.
  14. --yurthub-image string Sets the image version of yurthub component (default "registry.cn-hangzhou.aliyuncs.com/openyurt/yurthub:latest")
  15. --yurthub-server-addr string Sets the address for yurthub server addr (default "127.0.0.1")

Options inherited from parent commands

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files
  3. --kubeconfig string The path to the kubeconfig file
  4. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  5. --log_dir string If non-empty, write log files in this directory
  6. --log_file string If non-empty, use this log file
  7. --log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  8. --logtostderr log to standard error instead of files (default true)
  9. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level)
  10. --skip_headers If true, avoid header prefixes in the log messages
  11. --skip_log_headers If true, avoid headers when opening log files
  12. --stderrthreshold severity logs at or above this threshold go to stderr (default 2)
  13. -v, --v Level number for the log level verbosity
  14. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

SEE ALSO

  • yurtadm - yurtadm administers the yurt cluster
Auto generated by spf13/cobra on 18-Jan-2023