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
| Flag | Type | Required | Description |
|---|---|---|---|
--instance | string | Optional | Name of the instance whose editable input config folder is produced. Defaults to 'tabsdata'. |
--provider | kminus | docker | eks | fargate | Optional | Provider 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. |
--context | string | Optional | Name of the kubeconfig context to use. Valid only for the 'docker' provider. Mutually exclusive with --current. Composes with --kubeconfig. |
--kubeconfig | string | Optional | Path 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. |
--current | flag | Optional | Use the current-context entry of the kubeconfig file. Valid only for the 'docker' provider. Mutually exclusive with --context. Composes with --kubeconfig. |
--namespace | string | Optional | Namespace 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. |
--loglevel | trace | debug | info | warn | error | Optional | Log 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. |