-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstackablectl.1
More file actions
155 lines (140 loc) · 6.01 KB
/
stackablectl.1
File metadata and controls
155 lines (140 loc) · 6.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH stackablectl 1 "stackablectl 1.3.0"
.SH NAME
stackablectl \- Command line tool to interact with the Stackable Data Platform
.SH SYNOPSIS
\fBstackablectl\fR [\fB\-l\fR|\fB\-\-log\-level\fR] [\fB\-\-no\-cache\fR] [\fB\-d\fR|\fB\-\-demo\-file\fR] [\fB\-s\fR|\fB\-\-stack\-file\fR] [\fB\-r\fR|\fB\-\-release\-file\fR] [\fB\-f\fR|\fB\-\-operator\-values\fR] [\fB\-\-helm\-repo\-stable\fR] [\fB\-\-helm\-repo\-test\fR] [\fB\-\-helm\-repo\-dev\fR] [\fB\-\-chart\-source\fR] [\fB\-\-listener\-class\-preset\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
.SH DESCRIPTION
Command line tool to interact with the Stackable Data Platform
.SH OPTIONS
.TP
\fB\-l\fR, \fB\-\-log\-level\fR \fI<LOG_LEVEL>\fR
Log level this application uses
.TP
\fB\-\-no\-cache\fR
Do not cache the remote (default) demo, stack and release files
Cached files are saved at \*(Aq$XDG_CACHE_HOME/stackablectl\*(Aq, which is usually
\*(Aq$HOME/.cache/stackablectl\*(Aq when not explicitly set.
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help (see a summary with \*(Aq\-h\*(Aq)
.TP
\fB\-V\fR, \fB\-\-version\fR
Print version
.SH "FILE OPTIONS"
.TP
\fB\-d\fR, \fB\-\-demo\-file\fR \fI<DEMO_FILE>\fR
Provide one or more additional (custom) demo file(s)
Demos are loaded in the following order: Remote (default) demo file, custom
demo files provided via the \*(AqSTACKABLE_DEMO_FILES\*(Aq environment variable, and
lastly demo files provided via the \*(Aq\-d/\-\-demo\-file\*(Aq argument(s). If there are
demos with the same name, the last demo definition will be used.
Use "stackablectl [OPTIONS] <COMMAND> \-d path/to/demos1.yaml \-d path/to/demos2.yaml"
to provide multiple additional demo files.
.TP
\fB\-s\fR, \fB\-\-stack\-file\fR \fI<STACK_FILE>\fR
Provide one or more additional (custom) stack file(s)
Stacks are loaded in the following order: Remote (default) stack file, custom
stack files provided via the \*(AqSTACKABLE_STACK_FILES\*(Aq environment variable, and
lastly demo files provided via the \*(Aq\-s/\-\-stack\-file\*(Aq argument(s). If there are
stacks with the same name, the last stack definition will be used.
Use "stackablectl [OPTIONS] <COMMAND> \-s path/to/stacks1.yaml \-s path/to/stacks2.yaml"
to provide multiple additional stack files.
.TP
\fB\-r\fR, \fB\-\-release\-file\fR \fI<RELEASE_FILE>\fR
Provide one or more additional (custom) release file(s)
Releases are loaded in the following order: Remote (default) release file,
custom release files provided via the \*(AqSTACKABLE_RELEASE_FILES\*(Aq environment
variable, and lastly release files provided via the \*(Aq\-r/\-\-release\-file\*(Aq
argument(s). If there are releases with the same name, the last release
definition will be used.
Use "stackablectl [OPTIONS] <COMMAND> \-r path/to/releases1.yaml \-r path/to/releases2.yaml"
to provide multiple additional release files.
.TP
\fB\-f\fR, \fB\-\-operator\-values\fR \fI<VALUES_FILE>\fR
Path to a Helm values file that will be used for the installation of operators
The file is a YAML file containing Helm values used to deploy operators.
Operator\-specific keys (e.g. \*(Aqairflow\-operator\*(Aq, \*(Aqzookeeper\-operator\*(Aq) map
to the Helm values for that operator. Use YAML anchors and aliases to share
values across operators.
Example values file:
airflow\-operator:
tolerations: &default\-tolerations
\- key: "example"
operator: "Exists"
effect: "NoSchedule"
podAnnotations:
example.com/team: "data\-engineering"
zookeeper\-operator:
tolerations: *default\-tolerations
podAnnotations:
example.com/team: "platform"
Use "stackablectl [OPTIONS] <COMMAND> \-f path/to/values.yaml" to provide a
values file.
.SH "HELM REPOSITORY OPTIONS"
.TP
\fB\-\-helm\-repo\-stable\fR \fI<URL>\fR [default: https://repo.stackable.tech/repository/helm\-stable/]
Provide a custom Helm stable repository URL
.TP
\fB\-\-helm\-repo\-test\fR \fI<URL>\fR [default: https://repo.stackable.tech/repository/helm\-test/]
Provide a custom Helm test repository URL
.TP
\fB\-\-helm\-repo\-dev\fR \fI<URL>\fR [default: https://repo.stackable.tech/repository/helm\-dev/]
Provide a custom Helm dev repository URL
.TP
\fB\-\-chart\-source\fR \fI<CHART_SOURCE>\fR [default: oci]
Source the charts from either a OCI registry or from index.yaml\-based repositories.
.br
.br
\fIPossible values:\fR
.RS 14
.IP \(bu 2
oci: OCI registry
.IP \(bu 2
repo: index.yaml\-based repositories: resolution (dev, test, stable) is based on the version and thus will be operator\-specific
.RE
.SH "OPERATOR SPECIFIC CONFIGURATIONS"
.TP
\fB\-\-listener\-class\-preset\fR \fI<LISTENER_CLASS_PRESET>\fR
Choose the ListenerClass preset (`none`, `ephemeral\-nodes` or `stable\-nodes`).
This takes precedence over values provided via the \*(Aq\-f/\-\-operator\-values\*(Aq flag.
This maps to the listener\-operator Helm Chart preset value, see [the listener\-operator documentation](https://docs.stackable.tech/home/nightly/listener\-operator/listenerclass/#presets) for details.
.br
.br
[\fIpossible values: \fRnone, stable\-nodes, ephemeral\-nodes]
.SH SUBCOMMANDS
.TP
stackablectl\-operator(1)
Interact with single operator instead of the full platform
.TP
stackablectl\-release(1)
Interact with all operators of the platform which are released together
.TP
stackablectl\-stack(1)
Interact with stacks, which are ready\-to\-use product combinations
.TP
stackablectl\-stacklet(1)
Interact with deployed stacklets, which are bundles of resources and containers required to run the product
.TP
stackablectl\-demo(1)
Interact with demos, which are end\-to\-end usage demonstrations of the Stackable data platform
.TP
stackablectl\-completions(1)
Generate shell completions for this tool
.TP
stackablectl\-cache(1)
Interact with locally cached files
.TP
stackablectl\-experimental\-debug(1)
EXPERIMENTAL: Launch a debug container for a Pod
.TP
stackablectl\-version(1)
Retrieve version data of the stackablectl installation
.TP
stackablectl\-help(1)
Print this message or the help of the given subcommand(s)
.SH VERSION
v1.3.0
.SH AUTHORS
Stackable GmbH <info@stackable.tech>