added the new pkg stack commands, resolves #876

pull/877/head
Scott Anderson 2020-03-27 10:39:39 -06:00
parent 63b610b309
commit 8253d4b98f
3 changed files with 63 additions and 6 deletions

View File

@ -17,12 +17,13 @@ influx pkg [flags]
influx pkg [command]
```
## Available commands
| Command | Description |
|:------- |:----------- |
| [export](/v2.0/reference/cli/influx/pkg/export/) | Export existing resources as a template |
| [summary](/v2.0/reference/cli/influx/pkg/summary/) | Summarize the provided template |
| [validate](/v2.0/reference/cli/influx/pkg/validate/) | Validate the provided template |
## Subcommands
| Subcommand | Description |
|:------- |:----------- |
| [export](/v2.0/reference/cli/influx/pkg/export/) | Export existing resources as a template |
| [stack](/v2.0/reference/cli/influx/pkg/stack/) | Manage stacks |
| [summary](/v2.0/reference/cli/influx/pkg/summary/) | Summarize the provided template |
| [validate](/v2.0/reference/cli/influx/pkg/validate/) | Validate the provided template |
## Flags

View File

@ -0,0 +1,28 @@
---
title: influx pkg stack
description: The 'influx pkg stack' command and its subcommands manage InfluxDB stacks.
menu:
v2_0_ref:
name: influx pkg stack
parent: influx pkg
weight: 101
v2.0/tags: [templates]
---
The `influx pkg stack` command manages InfluxDB stacks.
## Usage
```
influx pkg stack [flags]
influx pkg stack [command]
```
## Subcommands
| Subcommand | Description |
|:------- |:----------- |
| [init](/v2.0/reference/cli/influx/pkg/stack/init/) | Initialize a stack |
## Flags
| Flag | Description |
|:---- |:----------- |
| `-h`, `--help` | Help for the `stack` command |

View File

@ -0,0 +1,28 @@
---
title: influx pkg stack init
description: The 'influx pkg stack init' command initializes and InfluxDB stack.
menu:
v2_0_ref:
name: influx pkg stack init
parent: influx pkg stack
weight: 201
v2.0/tags: [templates]
---
The `influx pkg stack init` command initializes and InfluxDB stack.
## Usage
```
influx pkg stack init [flags]
```
## Flags
| Flag | Description | Input type | {{< cli/mapped >}} |
|:---- |:----------- |:----------: |:------------------ |
| `-h`, `--help` | Help for the `init` command | | |
| `--json` | Output data as JSON | | |
| `-o`, `--org` | Organization name | string | `$INFLUX_ORG` |
| `--org-id` | Organization ID | string | `$INFLUX_ORG_ID` |
| `-u`, `--package-url` | Package URLs to associate stack | list of strings | |
| `-d`, `--stack-description` | Stack description | string | |
| `-n`, `--stack-name` | Stack name | string | |