fleetctl --help

fleetctl是一款用于操作和管理CoreOS集群中单位文件的命令行工具。它提供了多种功能,如启动、停止、加载、卸载集群中的单位,查看单位状态及日志等。本文档详细介绍了fleetctl的使用方法及其所有子命令。

NAME:
    fleetctl - fleetctl is a command-line interface to fleet, the cluster-wide CoreOS init system.

USAGE:
    fleetctl [global options] <command> [command options] [arguments...]

VERSION:
    0.10.2

COMMANDS:
    cat        Output the contents of a submitted unit
    destroy        Destroy one or more units in the cluster
    fd-forward    Proxy stdin and stdout to a unix domain socket
    help        Show a list of commands or help for one command
    journal        Print the journal of a unit in the cluster to stdout
    list-machines    Enumerate the current hosts in the cluster
    list-unit-files    List the units that exist in the cluster.
    list-units    List the current state of units in the cluster
    load        Schedule one or more units in the cluster, first submitting them if necessary.
    ssh        Open interactive shell on a machine in the cluster
    start        Instruct systemd to start one or more units in the cluster, first submitting and loading if necessary.
    status        Output the status of one or more units in the cluster
    stop        Instruct systemd to stop one or more units in the cluster.
    submit        Upload one or more units to the cluster without starting them
    unload        Unschedule one or more units in the cluster.
    verify        DEPRECATED - No longer works
    version        Print the version and exit

GLOBAL OPTIONS:
    --ca-file=                    Location of TLS CA file used to secure communication with the fleet API or etcd
    --cert-file=                    Location of TLS cert file used to secure communication with the fleet API or etcd
    --debug=false                    Print out more debug information to stderr
    --driver=API                    Adapter used to execute fleetctl commands. Options include "API" and "etcd".
    --endpoint=unix:///var/run/fleet.sock        Location of the fleet API if --driver=API. Alternatively, if --driver=etcd, location of the etcd API.
    --etcd-key-prefix=/_coreos.com/fleet/        Keyspace for fleet data in etcd (development use only!)
    -h=false                    Print usage information and exit
    --help=false                    Print usage information and exit
    --key-file=                    Location of TLS key file used to secure communication with the fleet API or etcd
    --known-hosts-file=~/.fleetctl/known_hosts    File used to store remote machine fingerprints. Ignored if strict host key checking is disabled.
    --request-timeout=3                Amount of time in seconds to allow a single request before considering it failed.
    --ssh-timeout=10                Amount of time in seconds to allow for SSH connection initialization before failing.
    --ssh-username=core                Username to use when connecting to CoreOS instance.
    --strict-host-key-checking=true            Verify host keys presented by remote machines before initiating SSH connections.
    --tunnel=                    Establish an SSH tunnel through the provided address for communication with fleet and etcd.
    --version=false                    Print the version and exit

Global options can also be configured via upper-case environment variables prefixed with "FLEETCTL_"
For example, "some-flag" => "FLEETCTL_SOME_FLAG"

Run "fleetctl help <command>" for more details on a specific command.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值