mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-22 23:10:36 -04:00
docs: remove deprecated flags from docs
This commit is contained in:
parent
7ea48dddef
commit
e5f7b9079b
9 changed files with 10 additions and 12 deletions
|
@ -7,7 +7,7 @@ This document describes how to deploy NFS in Constellation using Rook.
|
||||||
The cluster needs at least 3 worker nodes, default machines are powerful enough.
|
The cluster needs at least 3 worker nodes, default machines are powerful enough.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
constellation create --name nfs -c 1 -w 3
|
constellation create --name nfs
|
||||||
```
|
```
|
||||||
|
|
||||||
## Deploy CSI Driver
|
## Deploy CSI Driver
|
||||||
|
|
|
@ -28,7 +28,7 @@ bazel build //cli:cli_oss_darwin_arm64 # cross compile CLI for mac arm64
|
||||||
|
|
||||||
### Run
|
### Run
|
||||||
|
|
||||||
* `bazel run --run_under="cd $PWD &&" //cli:cli_oss -- create -c 1 -w 1` - build + run a target with arguments in current working directory
|
* `bazel run --run_under="cd $PWD &&" //cli:cli_oss -- create --yes` - build + run a target with arguments in current working directory
|
||||||
|
|
||||||
### Pre-PR checks
|
### Pre-PR checks
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ attaching persistent storage, or autoscaling aren't available.
|
||||||
2. Now you can create your cluster and its nodes. `constellation create` uses the options set in `constellation-conf.yaml`.
|
2. Now you can create your cluster and its nodes. `constellation create` uses the options set in `constellation-conf.yaml`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
constellation create --control-plane-nodes 1 --worker-nodes 1
|
constellation create
|
||||||
```
|
```
|
||||||
|
|
||||||
This will create 2 VMs: one worker node, and one control plane node.
|
This will create 2 VMs: one worker node, and one control plane node.
|
||||||
|
|
|
@ -128,7 +128,7 @@ If you encounter any problem with the following steps, make sure to use the [lat
|
||||||
:::
|
:::
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
constellation create --control-plane-nodes 1 --worker-nodes 2 -y
|
constellation create -y
|
||||||
```
|
```
|
||||||
|
|
||||||
This should give the following output:
|
This should give the following output:
|
||||||
|
|
|
@ -219,9 +219,7 @@ constellation create [flags]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
-c, --control-plane-nodes int number of control-plane nodes (required)
|
|
||||||
-h, --help help for create
|
-h, --help help for create
|
||||||
-w, --worker-nodes int number of worker nodes (required)
|
|
||||||
-y, --yes create the cluster without further confirmation
|
-y, --yes create the cluster without further confirmation
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ Choose the initial size of your cluster.
|
||||||
The following command creates a cluster with one control-plane and two worker nodes:
|
The following command creates a cluster with one control-plane and two worker nodes:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
constellation create --control-plane-nodes 1 --worker-nodes 2
|
constellation create
|
||||||
```
|
```
|
||||||
|
|
||||||
For details on the flags, consult the command help via `constellation create -h`.
|
For details on the flags, consult the command help via `constellation create -h`.
|
||||||
|
|
|
@ -31,7 +31,7 @@ Afterward, set `ARM_SKIP_PROVIDER_REGISTRATION=true` as an environment variable
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ARM_SKIP_PROVIDER_REGISTRATION=true constellation create --control-plane-nodes 1 --worker-nodes 2 -y
|
ARM_SKIP_PROVIDER_REGISTRATION=true constellation create -y
|
||||||
```
|
```
|
||||||
|
|
||||||
Or alternatively, for `terminate`:
|
Or alternatively, for `terminate`:
|
||||||
|
|
|
@ -25,7 +25,7 @@ expect_prompt
|
||||||
|
|
||||||
run_command "# Step 1: Create cloud environment"
|
run_command "# Step 1: Create cloud environment"
|
||||||
expect_prompt
|
expect_prompt
|
||||||
run_command "constellation create --control-plane-nodes 3 --worker-nodes 2"
|
run_command "constellation create"
|
||||||
expect -re "y\/n"
|
expect -re "y\/n"
|
||||||
send "y"
|
send "y"
|
||||||
send "\r"
|
send "\r"
|
||||||
|
|
|
@ -23,7 +23,7 @@ spawn asciinema rec --overwrite /recordings/github-readme.cast
|
||||||
send "\r"
|
send "\r"
|
||||||
expect_prompt
|
expect_prompt
|
||||||
|
|
||||||
run_command "constellation create --control-plane-nodes 3 --worker-nodes 2"
|
run_command "constellation create"
|
||||||
expect -re "y\/n"
|
expect -re "y\/n"
|
||||||
send "y"
|
send "y"
|
||||||
send "\r"
|
send "\r"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue