diff --git a/cmd/kops/root.go b/cmd/kops/root.go index af3b792d40..ccdd94a193 100644 --- a/cmd/kops/root.go +++ b/cmd/kops/root.go @@ -126,9 +126,10 @@ func NewCmdRoot(f *util.Factory, out io.Writer) *cobra.Command { if strings.HasSuffix(defaultStateStore, "/") { defaultStateStore = strings.TrimSuffix(defaultStateStore, "/") } - cmd.PersistentFlags().StringVarP(&rootCommand.RegistryPath, "state", "", defaultStateStore, "Location of state storage") + cmd.PersistentFlags().StringVarP(&rootCommand.RegistryPath, "state", "", defaultStateStore, "Location of state storage. Overrides KOPS_STATE_STORE environment variable") - cmd.PersistentFlags().StringVarP(&rootCommand.clusterName, "name", "", "", "Name of cluster") + defaultClusterName := os.Getenv("KOPS_CLUSTER_NAME") + cmd.PersistentFlags().StringVarP(&rootCommand.clusterName, "name", "", defaultClusterName, "Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable") // create subcommands cmd.AddCommand(NewCmdCompletion(f, out)) diff --git a/docs/cli/kops.md b/docs/cli/kops.md index d218518d3e..efeae09e6f 100644 --- a/docs/cli/kops.md +++ b/docs/cli/kops.md @@ -22,8 +22,8 @@ kops helps you create, destroy, upgrade and maintain production-grade, highly av --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_completion.md b/docs/cli/kops_completion.md index 9becb53217..b8be804643 100644 --- a/docs/cli/kops_completion.md +++ b/docs/cli/kops_completion.md @@ -54,8 +54,8 @@ kops completion --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_create.md b/docs/cli/kops_create.md index c85b2aab74..d7f71a62b9 100644 --- a/docs/cli/kops_create.md +++ b/docs/cli/kops_create.md @@ -58,8 +58,8 @@ kops create -f FILENAME --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_create_cluster.md b/docs/cli/kops_create_cluster.md index baceb57ed0..408fd7abfd 100644 --- a/docs/cli/kops_create_cluster.md +++ b/docs/cli/kops_create_cluster.md @@ -116,8 +116,8 @@ kops create cluster --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_create_instancegroup.md b/docs/cli/kops_create_instancegroup.md index e38983433c..d901415968 100644 --- a/docs/cli/kops_create_instancegroup.md +++ b/docs/cli/kops_create_instancegroup.md @@ -48,8 +48,8 @@ kops create instancegroup --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_create_secret.md b/docs/cli/kops_create_secret.md index 93cce59dea..9866333319 100644 --- a/docs/cli/kops_create_secret.md +++ b/docs/cli/kops_create_secret.md @@ -32,8 +32,8 @@ Create a secret --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_create_secret_dockerconfig.md b/docs/cli/kops_create_secret_dockerconfig.md index 0e58080341..1631feb0d3 100644 --- a/docs/cli/kops_create_secret_dockerconfig.md +++ b/docs/cli/kops_create_secret_dockerconfig.md @@ -40,8 +40,8 @@ kops create secret dockerconfig --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_create_secret_encryptionconfig.md b/docs/cli/kops_create_secret_encryptionconfig.md index 7d8da03817..e8d5c4f8c1 100644 --- a/docs/cli/kops_create_secret_encryptionconfig.md +++ b/docs/cli/kops_create_secret_encryptionconfig.md @@ -40,8 +40,8 @@ kops create secret encryptionconfig --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_create_secret_keypair.md b/docs/cli/kops_create_secret_keypair.md index d9c3009c19..23b2ed2552 100644 --- a/docs/cli/kops_create_secret_keypair.md +++ b/docs/cli/kops_create_secret_keypair.md @@ -27,8 +27,8 @@ Create a secret keypair --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_create_secret_keypair_ca.md b/docs/cli/kops_create_secret_keypair_ca.md index 662b134b8f..b9d0895c9e 100644 --- a/docs/cli/kops_create_secret_keypair_ca.md +++ b/docs/cli/kops_create_secret_keypair_ca.md @@ -38,8 +38,8 @@ kops create secret keypair ca --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_create_secret_sshpublickey.md b/docs/cli/kops_create_secret_sshpublickey.md index 1fa8e84015..57c9ee99f8 100644 --- a/docs/cli/kops_create_secret_sshpublickey.md +++ b/docs/cli/kops_create_secret_sshpublickey.md @@ -36,8 +36,8 @@ kops create secret sshpublickey --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_delete.md b/docs/cli/kops_delete.md index 845d38fc5a..520c5b71ff 100644 --- a/docs/cli/kops_delete.md +++ b/docs/cli/kops_delete.md @@ -43,8 +43,8 @@ kops delete -f FILENAME [--yes] --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_delete_cluster.md b/docs/cli/kops_delete_cluster.md index a5ac16fa3f..298c65cd88 100644 --- a/docs/cli/kops_delete_cluster.md +++ b/docs/cli/kops_delete_cluster.md @@ -39,8 +39,8 @@ kops delete cluster CLUSTERNAME [--yes] --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_delete_instancegroup.md b/docs/cli/kops_delete_instancegroup.md index 4eaaf25cfb..68e67d157a 100644 --- a/docs/cli/kops_delete_instancegroup.md +++ b/docs/cli/kops_delete_instancegroup.md @@ -37,8 +37,8 @@ kops delete instancegroup --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_delete_secret.md b/docs/cli/kops_delete_secret.md index ff92d446c9..68291d8dc3 100644 --- a/docs/cli/kops_delete_secret.md +++ b/docs/cli/kops_delete_secret.md @@ -28,8 +28,8 @@ kops delete secret --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_describe.md b/docs/cli/kops_describe.md index 7fb6c82fc2..1a1a1d6e2e 100644 --- a/docs/cli/kops_describe.md +++ b/docs/cli/kops_describe.md @@ -24,8 +24,8 @@ Get additional information about cloud and cluster resources. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_describe_secrets.md b/docs/cli/kops_describe_secrets.md index 7fa15ef78d..99232a9cd6 100644 --- a/docs/cli/kops_describe_secrets.md +++ b/docs/cli/kops_describe_secrets.md @@ -34,8 +34,8 @@ kops describe secrets --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_edit.md b/docs/cli/kops_edit.md index 7c87efa195..0eb44bbcde 100644 --- a/docs/cli/kops_edit.md +++ b/docs/cli/kops_edit.md @@ -34,8 +34,8 @@ Edit a resource configuration. This command changes the desired configuration in --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_edit_cluster.md b/docs/cli/kops_edit_cluster.md index e4d99afa69..c000ffaca3 100644 --- a/docs/cli/kops_edit_cluster.md +++ b/docs/cli/kops_edit_cluster.md @@ -36,8 +36,8 @@ kops edit cluster --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_edit_instancegroup.md b/docs/cli/kops_edit_instancegroup.md index 5785c4c6fe..bb3a6db66d 100644 --- a/docs/cli/kops_edit_instancegroup.md +++ b/docs/cli/kops_edit_instancegroup.md @@ -36,8 +36,8 @@ kops edit instancegroup --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_export.md b/docs/cli/kops_export.md index 1d860f1753..1bae3e5016 100644 --- a/docs/cli/kops_export.md +++ b/docs/cli/kops_export.md @@ -25,8 +25,8 @@ Export configurations from a cluster. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_export_kubecfg.md b/docs/cli/kops_export_kubecfg.md index 7069572552..d30dcacc46 100644 --- a/docs/cli/kops_export_kubecfg.md +++ b/docs/cli/kops_export_kubecfg.md @@ -29,8 +29,8 @@ kops export kubecfg CLUSTERNAME --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_get.md b/docs/cli/kops_get.md index 493c7afb7b..e7c58e1b53 100644 --- a/docs/cli/kops_get.md +++ b/docs/cli/kops_get.md @@ -54,8 +54,8 @@ kops get --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_get_clusters.md b/docs/cli/kops_get_clusters.md index 13943f9654..ac6be2d8e2 100644 --- a/docs/cli/kops_get_clusters.md +++ b/docs/cli/kops_get_clusters.md @@ -44,9 +44,9 @@ kops get clusters --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable -o, --output string output format. One of: table, yaml, json (default "table") - --state string Location of state storage + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_get_instancegroups.md b/docs/cli/kops_get_instancegroups.md index 38b6dd940c..ae95bb0014 100644 --- a/docs/cli/kops_get_instancegroups.md +++ b/docs/cli/kops_get_instancegroups.md @@ -35,9 +35,9 @@ kops get instancegroups --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable -o, --output string output format. One of: table, yaml, json (default "table") - --state string Location of state storage + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_get_secrets.md b/docs/cli/kops_get_secrets.md index 7579502827..507131ae28 100644 --- a/docs/cli/kops_get_secrets.md +++ b/docs/cli/kops_get_secrets.md @@ -38,9 +38,9 @@ kops get secrets --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable -o, --output string output format. One of: table, yaml, json (default "table") - --state string Location of state storage + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_import.md b/docs/cli/kops_import.md index 41a02a8385..aae71c3ee0 100644 --- a/docs/cli/kops_import.md +++ b/docs/cli/kops_import.md @@ -26,8 +26,8 @@ Imports a kubernetes cluster created by kube-up.sh into a state store. This com --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_import_cluster.md b/docs/cli/kops_import_cluster.md index 1d607d75a4..cc7951d84f 100644 --- a/docs/cli/kops_import_cluster.md +++ b/docs/cli/kops_import_cluster.md @@ -36,8 +36,8 @@ kops import cluster --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_replace.md b/docs/cli/kops_replace.md index 65208b5e1e..9cc2394e2b 100644 --- a/docs/cli/kops_replace.md +++ b/docs/cli/kops_replace.md @@ -39,8 +39,8 @@ kops replace -f FILENAME --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_rolling-update.md b/docs/cli/kops_rolling-update.md index a8ece0cd83..d9636474f1 100644 --- a/docs/cli/kops_rolling-update.md +++ b/docs/cli/kops_rolling-update.md @@ -69,8 +69,8 @@ Note: terraform users will need to run all of the following commands from the sa --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_rolling-update_cluster.md b/docs/cli/kops_rolling-update_cluster.md index 932e1ec999..a140480dc0 100644 --- a/docs/cli/kops_rolling-update_cluster.md +++ b/docs/cli/kops_rolling-update_cluster.md @@ -88,8 +88,8 @@ kops rolling-update cluster --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_set.md b/docs/cli/kops_set.md index 4d7793fa5b..026122fb2f 100644 --- a/docs/cli/kops_set.md +++ b/docs/cli/kops_set.md @@ -27,8 +27,8 @@ kops set does not update the cloud resources, to apply the changes use "kops upd --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_set_cluster.md b/docs/cli/kops_set_cluster.md index c788e828dd..4aed41d6d3 100644 --- a/docs/cli/kops_set_cluster.md +++ b/docs/cli/kops_set_cluster.md @@ -33,8 +33,8 @@ kops set cluster --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_toolbox.md b/docs/cli/kops_toolbox.md index c8dba9f032..b809fc372e 100644 --- a/docs/cli/kops_toolbox.md +++ b/docs/cli/kops_toolbox.md @@ -25,8 +25,8 @@ Misc infrequently used commands. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_toolbox_bundle.md b/docs/cli/kops_toolbox_bundle.md index c7d19b9c93..c394d0e672 100644 --- a/docs/cli/kops_toolbox_bundle.md +++ b/docs/cli/kops_toolbox_bundle.md @@ -35,8 +35,8 @@ kops toolbox bundle --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_toolbox_convert-imported.md b/docs/cli/kops_toolbox_convert-imported.md index 08ea448366..635acf1830 100644 --- a/docs/cli/kops_toolbox_convert-imported.md +++ b/docs/cli/kops_toolbox_convert-imported.md @@ -40,8 +40,8 @@ kops toolbox convert-imported --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_toolbox_dump.md b/docs/cli/kops_toolbox_dump.md index 07d7e5db30..a69c94c4bf 100644 --- a/docs/cli/kops_toolbox_dump.md +++ b/docs/cli/kops_toolbox_dump.md @@ -35,8 +35,8 @@ kops toolbox dump --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_toolbox_template.md b/docs/cli/kops_toolbox_template.md index 750211bc59..0671d7be31 100644 --- a/docs/cli/kops_toolbox_template.md +++ b/docs/cli/kops_toolbox_template.md @@ -46,8 +46,8 @@ kops toolbox template --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_update.md b/docs/cli/kops_update.md index 1c22027cc8..675b05cb30 100644 --- a/docs/cli/kops_update.md +++ b/docs/cli/kops_update.md @@ -25,8 +25,8 @@ Creates or updates cloud resources to match cluster desired configuration. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_update_cluster.md b/docs/cli/kops_update_cluster.md index 3eac123b74..450bd71252 100644 --- a/docs/cli/kops_update_cluster.md +++ b/docs/cli/kops_update_cluster.md @@ -44,8 +44,8 @@ kops update cluster --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_upgrade.md b/docs/cli/kops_upgrade.md index 7018500723..21da19af3f 100644 --- a/docs/cli/kops_upgrade.md +++ b/docs/cli/kops_upgrade.md @@ -25,8 +25,8 @@ Automates checking for and applying Kubernetes updates. This upgrades a cluster --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_upgrade_cluster.md b/docs/cli/kops_upgrade_cluster.md index 1a36e56c71..c6b69cb499 100644 --- a/docs/cli/kops_upgrade_cluster.md +++ b/docs/cli/kops_upgrade_cluster.md @@ -36,8 +36,8 @@ kops upgrade cluster --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_validate.md b/docs/cli/kops_validate.md index 500a93214b..0e97fafab6 100644 --- a/docs/cli/kops_validate.md +++ b/docs/cli/kops_validate.md @@ -32,8 +32,8 @@ This commands validates the following components: --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_validate_cluster.md b/docs/cli/kops_validate_cluster.md index ee74253368..ab2cf5591e 100644 --- a/docs/cli/kops_validate_cluster.md +++ b/docs/cli/kops_validate_cluster.md @@ -42,8 +42,8 @@ kops validate cluster --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging diff --git a/docs/cli/kops_version.md b/docs/cli/kops_version.md index f6fdcd25f4..55067fed8d 100644 --- a/docs/cli/kops_version.md +++ b/docs/cli/kops_version.md @@ -28,8 +28,8 @@ kops version --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) --log_dir string If non-empty, write log files in this directory --logtostderr log to standard error instead of files (default false) - --name string Name of cluster - --state string Location of state storage + --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable + --state string Location of state storage. Overrides KOPS_STATE_STORE environment variable --stderrthreshold severity logs at or above this threshold go to stderr (default 2) -v, --v Level log level for V logs --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging