Skip to main content
Version: 2.0.0

tdkserver init

Produce an editable input config folder for a tabsdata instance

tdkserver init \
--instance tabsdata \
--provider kminus \
--context docker-desktop \
--kubeconfig ~/.kube/config \
--current \
--namespace tabsdata \
--loglevel trace \
--details true \
--save true \
--yes true \
--accept-terms yes \
--verbose \
--keep-progress true
FlagTypeRequiredDescription
--instancestringOptionalName of the instance whose editable input config folder is produced. Defaults to 'tabsdata'.
--providerkminus | docker | eks | fargateOptionalProvider of the cluster: 'kminus' for a development kminus cluster, 'docker' for the Kubernetes cluster bundled with Docker Desktop on macOS/Windows, 'eks' for AWS EKS, 'fargate' for AWS EKS-on-Fargate. When unspecified, the value from the active tabsdata session is taken; when no active tabsdata session is set, this argument is required.
--contextstringOptionalName of the kubeconfig context to use. Valid only for the 'docker' provider. Mutually exclusive with --current. Composes with --kubeconfig.
--kubeconfigstringOptionalPath to a kubeconfig file. Valid only for the 'docker' provider. When unspecified, the file pointed to by the KUBECONFIG environment variable, or ~/.kube/config, is used. Composes with --context and --current.
--currentflagOptionalUse the current-context entry of the kubeconfig file. Valid only for the 'docker' provider. Mutually exclusive with --context. Composes with --kubeconfig.
--namespacestringOptionalNamespace for the instance. Valid only for the 'docker' provider. Overrides the namespace defined in the kubeconfig context. When neither is set, the kubernetes default namespace is used.
--logleveltrace | debug | info | warn | errorOptionalLog level for the kminus orchestrator and pod runner. Defaults to 'debug'. Only valid with the 'kminus' provider.

Example: tdk init --provider kminus --loglevel info | | --details | true | false | Optional | Show the summary of resolved values before initializing the instance. Defaults to 'true'. Pass '--details false' to skip the summary. | | --save | true | false | Optional | Copy the cluster settings files (kubeconfig, etc.) into the instance folder so the instance is self-contained. | | -y, --yes | true | false | Optional | Skip the interactive confirmation prompt and proceed immediately. | | --accept-terms | string | Optional | Accept or decline the license terms without interactive prompt [y/yes/n/no]. | | --verbose | flag | Optional | Show the output of each step that this command runs. | | --keep-progress | true | false | Optional | Keep the progress line of each step that this command runs, instead of clearing it when the step finishes [true/false]. Defaults to true. |