|
| 1 | +--- |
| 2 | +title: Kubectl-Stash |
| 3 | +menu: |
| 4 | + product_stash_{{.version}}: |
| 5 | + identifier: kubectl-stash-{{ .subproject_version }} |
| 6 | + name: Kubectl-Stash |
| 7 | + parent: stash-cli-references-{{ .subproject_version }} |
| 8 | + weight: 0 |
| 9 | +product_name: stash |
| 10 | +section_menu_id: guides |
| 11 | +menu_name: product_stash_{{.version}} |
| 12 | +aliases: |
| 13 | + - /products/stash/{{.version}}/guides/latest/cli/reference/{{ .subproject_version }} |
| 14 | + |
| 15 | +--- |
| 16 | +## kubectl-stash |
| 17 | + |
| 18 | +kubectl plugin for Stash by AppsCode |
| 19 | + |
| 20 | +### Synopsis |
| 21 | + |
| 22 | +kubectl plugin for Stash by AppsCode. For more information, visit here: https://appscode.com/products/stash |
| 23 | + |
| 24 | +### Options |
| 25 | + |
| 26 | +``` |
| 27 | + --alsologtostderr log to standard error as well as files |
| 28 | + --as string Username to impersonate for the operation |
| 29 | + --as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups. |
| 30 | + --cache-dir string Default HTTP cache directory (default "/home/tamal/.kube/http-cache") |
| 31 | + --certificate-authority string Path to a cert file for the certificate authority |
| 32 | + --client-certificate string Path to a client certificate file for TLS |
| 33 | + --client-key string Path to a client key file for TLS |
| 34 | + --cluster string The name of the kubeconfig cluster to use |
| 35 | + --context string The name of the kubeconfig context to use |
| 36 | + --enable-analytics Send analytical events to Google Analytics (default true) |
| 37 | + --enable-status-subresource If true, uses sub resource for crds. |
| 38 | + -h, --help help for kubectl-stash |
| 39 | + --insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure |
| 40 | + --kubeconfig string Path to the kubeconfig file to use for CLI requests. |
| 41 | + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) |
| 42 | + --log-dir string If non-empty, write log files in this directory |
| 43 | + --log-flush-frequency duration Maximum number of seconds between log flushes (default 5s) |
| 44 | + --logtostderr log to standard error instead of files |
| 45 | + --match-server-version Require server version to match client version |
| 46 | + -n, --namespace string If present, the namespace scope for this CLI request |
| 47 | + --request-timeout string The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0") |
| 48 | + -s, --server string The address and port of the Kubernetes API server |
| 49 | + --stderrthreshold severity logs at or above this threshold go to stderr |
| 50 | + --token string Bearer token for authentication to the API server |
| 51 | + --use-kubeapiserver-fqdn-for-aks if true, uses kube-apiserver FQDN for AKS cluster to workaround https://github.com/Azure/AKS/issues/522 (default true) |
| 52 | + --user string The name of the kubeconfig user to use |
| 53 | + -v, --v Level log level for V logs |
| 54 | + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging |
| 55 | +``` |
| 56 | + |
| 57 | +### SEE ALSO |
| 58 | + |
| 59 | +* [kubectl-stash clone](/docs/guides/latest/cli/reference/{{< param "info.subproject_version" >}}/kubectl-stash_clone.md) - Clone Kubernetes resources |
| 60 | +* [kubectl-stash cp](/docs/guides/latest/cli/reference/{{< param "info.subproject_version" >}}/kubectl-stash_cp.md) - Copy stash resources from one namespace to another namespace |
| 61 | +* [kubectl-stash create](/docs/guides/latest/cli/reference/{{< param "info.subproject_version" >}}/kubectl-stash_create.md) - create stash resources |
| 62 | +* [kubectl-stash delete](/docs/guides/latest/cli/reference/{{< param "info.subproject_version" >}}/kubectl-stash_delete.md) - Delete stash resources |
| 63 | +* [kubectl-stash download](/docs/guides/latest/cli/reference/{{< param "info.subproject_version" >}}/kubectl-stash_download.md) - Download snapshots |
| 64 | +* [kubectl-stash trigger](/docs/guides/latest/cli/reference/{{< param "info.subproject_version" >}}/kubectl-stash_trigger.md) - Trigger a backup |
| 65 | +* [kubectl-stash unlock](/docs/guides/latest/cli/reference/{{< param "info.subproject_version" >}}/kubectl-stash_unlock.md) - Unlock Restic Repository |
| 66 | +* [kubectl-stash version](/docs/guides/latest/cli/reference/{{< param "info.subproject_version" >}}/kubectl-stash_version.md) - Prints binary version number. |
| 67 | + |
0 commit comments