From 8253d4b98feba7bcacb45af50a246e55b7b463bd Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 27 Mar 2020 10:39:39 -0600 Subject: [PATCH] added the new pkg stack commands, resolves #876 --- .../v2.0/reference/cli/influx/pkg/_index.md | 13 +++++---- .../reference/cli/influx/pkg/stack/_index.md | 28 +++++++++++++++++++ .../reference/cli/influx/pkg/stack/init.md | 28 +++++++++++++++++++ 3 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 content/v2.0/reference/cli/influx/pkg/stack/_index.md create mode 100644 content/v2.0/reference/cli/influx/pkg/stack/init.md diff --git a/content/v2.0/reference/cli/influx/pkg/_index.md b/content/v2.0/reference/cli/influx/pkg/_index.md index ceed23041..8920b36e3 100644 --- a/content/v2.0/reference/cli/influx/pkg/_index.md +++ b/content/v2.0/reference/cli/influx/pkg/_index.md @@ -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 diff --git a/content/v2.0/reference/cli/influx/pkg/stack/_index.md b/content/v2.0/reference/cli/influx/pkg/stack/_index.md new file mode 100644 index 000000000..0ea1915cb --- /dev/null +++ b/content/v2.0/reference/cli/influx/pkg/stack/_index.md @@ -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 | diff --git a/content/v2.0/reference/cli/influx/pkg/stack/init.md b/content/v2.0/reference/cli/influx/pkg/stack/init.md new file mode 100644 index 000000000..033a22d34 --- /dev/null +++ b/content/v2.0/reference/cli/influx/pkg/stack/init.md @@ -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 | |