mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-23 08:20:15 -05:00
docs: mini-constellation: fix typos and simplify some sentences
This commit is contained in:
parent
9db71a41de
commit
76e9d7c5ac
@ -1,12 +1,12 @@
|
|||||||
# Mini Constellation
|
# Mini Constellation
|
||||||
|
|
||||||
With `constellation mini`, users can deploy and test Constellation locally without the need for a cloud subscription.
|
With `constellation mini`, you can deploy and test Constellation locally without a cloud subscription.
|
||||||
|
|
||||||
The command uses virtualization to create a local cluster with one control-plane and one worker node.
|
The command uses virtualization to create a local cluster with one control-plane and one worker node.
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
|
|
||||||
Since mini Constellation is running on your local system, please note that common cloud features, such as load-balancing,
|
Since mini Constellation is running on your local system, common cloud features, such as load-balancing,
|
||||||
attaching persistent storage, or autoscaling, are unavailable.
|
attaching persistent storage, or autoscaling, are unavailable.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
@ -14,13 +14,13 @@ attaching persistent storage, or autoscaling, are unavailable.
|
|||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
* [Constellation CLI](./install.md#install-the-constellation-cli)
|
* [Constellation CLI](./install.md#install-the-constellation-cli)
|
||||||
* A x86-64 CPU with at least 4 cores
|
* An x86-64 CPU with at least 4 cores
|
||||||
* Recommended are 6 cores or more
|
* Recommended are 6 cores or more
|
||||||
* Hardware virtualization enabled in the BIOS/UEFI (often referred to as Intel VT-x or AMD-V/SVM)
|
* Hardware virtualization enabled in the BIOS/UEFI (often referred to as Intel VT-x or AMD-V/SVM)
|
||||||
* At least 4 GB RAM
|
* At least 4 GB RAM
|
||||||
* Recommend are 6 GB or more
|
* Recommend are 6 GB or more
|
||||||
* 20 GB of free disk space
|
* 20 GB of free disk space
|
||||||
* a Linux operating system
|
* A Linux operating system
|
||||||
* [KVM kernel module](https://www.linux-kvm.org/page/Main_Page) enabled
|
* [KVM kernel module](https://www.linux-kvm.org/page/Main_Page) enabled
|
||||||
* [Docker](https://docs.docker.com/engine/install/)
|
* [Docker](https://docs.docker.com/engine/install/)
|
||||||
* [xsltproc](https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home)
|
* [xsltproc](https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home)
|
||||||
@ -46,13 +46,13 @@ Setting up your mini Constellation cluster is as easy as running the following c
|
|||||||
constellation mini up
|
constellation mini up
|
||||||
```
|
```
|
||||||
|
|
||||||
This will configure your current directory as the working directory for Constellation.
|
This will configure your current directory as the [workspace](../architecture/orchestration.md#workspaces) for this cluster.
|
||||||
All `constellation` commands concerning this cluster need to be issued from this directory.
|
All `constellation` commands concerning this cluster need to be issued from this directory.
|
||||||
|
|
||||||
The command will create your cluster and initialize it. Depending on your system, this may take up to 10 minutes.
|
The command will create your cluster and initialize it. Depending on your system, this may take up to 10 minutes.
|
||||||
The output should look like the following:
|
The output should look like the following:
|
||||||
|
|
||||||
```shell
|
```shell-session
|
||||||
$ constellation mini up
|
$ constellation mini up
|
||||||
Downloading image to ./constellation.qcow2
|
Downloading image to ./constellation.qcow2
|
||||||
Done.
|
Done.
|
||||||
@ -73,7 +73,7 @@ You can now connect to your cluster by executing:
|
|||||||
export KUBECONFIG="$PWD/constellation-admin.conf"
|
export KUBECONFIG="$PWD/constellation-admin.conf"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can now configure `kubectl` to connect to your local Constellation cluster:
|
Configure `kubectl` to connect to your local Constellation cluster:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export KUBECONFIG="$PWD/constellation-admin.conf"
|
export KUBECONFIG="$PWD/constellation-admin.conf"
|
||||||
@ -88,7 +88,7 @@ kubectl get nodes
|
|||||||
|
|
||||||
If your cluster is running as expected the output should look like the following:
|
If your cluster is running as expected the output should look like the following:
|
||||||
|
|
||||||
```shell
|
```shell-session
|
||||||
$ kubectl get nodes
|
$ kubectl get nodes
|
||||||
NAME STATUS ROLES AGE VERSION
|
NAME STATUS ROLES AGE VERSION
|
||||||
control-plane-0 Ready control-plane,master 2m59s v1.23.9
|
control-plane-0 Ready control-plane,master 2m59s v1.23.9
|
||||||
@ -116,29 +116,29 @@ worker-0 Ready <none> 32s v1.23.9
|
|||||||
|
|
||||||
Once you are done, you can clean up the created resources using the following command:
|
Once you are done, you can clean up the created resources using the following command:
|
||||||
|
|
||||||
```shell
|
```bash
|
||||||
constellation mini down
|
constellation mini down
|
||||||
```
|
```
|
||||||
|
|
||||||
This will destroy your cluster and clean up the your working directory.
|
This will destroy your cluster and clean up your workspace.
|
||||||
The VM image and cluster configuration file (`constellation-conf.yaml`) will be left behind and may be reused to create new clusters.
|
The VM image and cluster configuration file (`constellation-conf.yaml`) will be kept and may be reused to create new clusters.
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
### VMs have no internet access
|
### VMs have no internet access
|
||||||
|
|
||||||
`iptables` rules may prevent your VMs form properly accessing the internet.
|
`iptables` rules may prevent your VMs from accessing the internet.
|
||||||
Make sure your rules are'nt dropping forwarded packages.
|
Make sure your rules aren't dropping forwarded packages.
|
||||||
|
|
||||||
List your rules:
|
List your rules:
|
||||||
|
|
||||||
```shell
|
```bash
|
||||||
sudo iptables -S
|
sudo iptables -S
|
||||||
```
|
```
|
||||||
|
|
||||||
The output may look similar to the following:
|
The output may look similar to the following:
|
||||||
|
|
||||||
```shell
|
```shell-session
|
||||||
-P INPUT ACCEPT
|
-P INPUT ACCEPT
|
||||||
-P FORWARD DROP
|
-P FORWARD DROP
|
||||||
-P OUTPUT ACCEPT
|
-P OUTPUT ACCEPT
|
||||||
@ -148,8 +148,8 @@ The output may look similar to the following:
|
|||||||
-N DOCKER-USER
|
-N DOCKER-USER
|
||||||
```
|
```
|
||||||
|
|
||||||
If your `FORWARD` chain is set to `DROP`, you will need to update your rules:
|
If your `FORWARD` chain is set to `DROP`, you need to update your rules:
|
||||||
|
|
||||||
```shell
|
```bash
|
||||||
sudo iptables -P FORWARD ACCEPT
|
sudo iptables -P FORWARD ACCEPT
|
||||||
```
|
```
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
# Mini Constellation
|
# Mini Constellation
|
||||||
|
|
||||||
With `constellation mini`, users can deploy and test Constellation locally without the need for a cloud subscription.
|
With `constellation mini`, you can deploy and test Constellation locally without a cloud subscription.
|
||||||
|
|
||||||
The command uses virtualization to create a local cluster with one control-plane and one worker node.
|
The command uses virtualization to create a local cluster with one control-plane and one worker node.
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
|
|
||||||
Since mini Constellation is running on your local system, please note that common cloud features, such as load-balancing,
|
Since mini Constellation is running on your local system, common cloud features, such as load-balancing,
|
||||||
attaching persistent storage, or autoscaling, are unavailable.
|
attaching persistent storage, or autoscaling, are unavailable.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
@ -14,13 +14,13 @@ attaching persistent storage, or autoscaling, are unavailable.
|
|||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
* [Constellation CLI](./install.md#install-the-constellation-cli)
|
* [Constellation CLI](./install.md#install-the-constellation-cli)
|
||||||
* A x86-64 CPU with at least 4 cores
|
* An x86-64 CPU with at least 4 cores
|
||||||
* Recommended are 6 cores or more
|
* Recommended are 6 cores or more
|
||||||
* Hardware virtualization enabled in the BIOS/UEFI (often referred to as Intel VT-x or AMD-V/SVM)
|
* Hardware virtualization enabled in the BIOS/UEFI (often referred to as Intel VT-x or AMD-V/SVM)
|
||||||
* At least 4 GB RAM
|
* At least 4 GB RAM
|
||||||
* Recommend are 6 GB or more
|
* Recommend are 6 GB or more
|
||||||
* 20 GB of free disk space
|
* 20 GB of free disk space
|
||||||
* a Linux operating system
|
* A Linux operating system
|
||||||
* [KVM kernel module](https://www.linux-kvm.org/page/Main_Page) enabled
|
* [KVM kernel module](https://www.linux-kvm.org/page/Main_Page) enabled
|
||||||
* [Docker](https://docs.docker.com/engine/install/)
|
* [Docker](https://docs.docker.com/engine/install/)
|
||||||
* [xsltproc](https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home)
|
* [xsltproc](https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home)
|
||||||
@ -46,13 +46,13 @@ Setting up your mini Constellation cluster is as easy as running the following c
|
|||||||
constellation mini up
|
constellation mini up
|
||||||
```
|
```
|
||||||
|
|
||||||
This will configure your current directory as the working directory for Constellation.
|
This will configure your current directory as the [workspace](../architecture/orchestration.md#workspaces) for this cluster.
|
||||||
All `constellation` commands concerning this cluster need to be issued from this directory.
|
All `constellation` commands concerning this cluster need to be issued from this directory.
|
||||||
|
|
||||||
The command will create your cluster and initialize it. Depending on your system, this may take up to 10 minutes.
|
The command will create your cluster and initialize it. Depending on your system, this may take up to 10 minutes.
|
||||||
The output should look like the following:
|
The output should look like the following:
|
||||||
|
|
||||||
```shell
|
```shell-session
|
||||||
$ constellation mini up
|
$ constellation mini up
|
||||||
Downloading image to ./constellation.qcow2
|
Downloading image to ./constellation.qcow2
|
||||||
Done.
|
Done.
|
||||||
@ -73,7 +73,7 @@ You can now connect to your cluster by executing:
|
|||||||
export KUBECONFIG="$PWD/constellation-admin.conf"
|
export KUBECONFIG="$PWD/constellation-admin.conf"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can now configure `kubectl` to connect to your local Constellation cluster:
|
Configure `kubectl` to connect to your local Constellation cluster:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export KUBECONFIG="$PWD/constellation-admin.conf"
|
export KUBECONFIG="$PWD/constellation-admin.conf"
|
||||||
@ -88,7 +88,7 @@ kubectl get nodes
|
|||||||
|
|
||||||
If your cluster is running as expected the output should look like the following:
|
If your cluster is running as expected the output should look like the following:
|
||||||
|
|
||||||
```shell
|
```shell-session
|
||||||
$ kubectl get nodes
|
$ kubectl get nodes
|
||||||
NAME STATUS ROLES AGE VERSION
|
NAME STATUS ROLES AGE VERSION
|
||||||
control-plane-0 Ready control-plane,master 2m59s v1.23.9
|
control-plane-0 Ready control-plane,master 2m59s v1.23.9
|
||||||
@ -116,29 +116,29 @@ worker-0 Ready <none> 32s v1.23.9
|
|||||||
|
|
||||||
Once you are done, you can clean up the created resources using the following command:
|
Once you are done, you can clean up the created resources using the following command:
|
||||||
|
|
||||||
```shell
|
```bash
|
||||||
constellation mini down
|
constellation mini down
|
||||||
```
|
```
|
||||||
|
|
||||||
This will destroy your cluster and clean up the your working directory.
|
This will destroy your cluster and clean up your workspace.
|
||||||
The VM image and cluster configuration file (`constellation-conf.yaml`) will be left behind and may be reused to create new clusters.
|
The VM image and cluster configuration file (`constellation-conf.yaml`) will be kept and may be reused to create new clusters.
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
### VMs have no internet access
|
### VMs have no internet access
|
||||||
|
|
||||||
`iptables` rules may prevent your VMs form properly accessing the internet.
|
`iptables` rules may prevent your VMs from accessing the internet.
|
||||||
Make sure your rules are'nt dropping forwarded packages.
|
Make sure your rules aren't dropping forwarded packages.
|
||||||
|
|
||||||
List your rules:
|
List your rules:
|
||||||
|
|
||||||
```shell
|
```bash
|
||||||
sudo iptables -S
|
sudo iptables -S
|
||||||
```
|
```
|
||||||
|
|
||||||
The output may look similar to the following:
|
The output may look similar to the following:
|
||||||
|
|
||||||
```shell
|
```shell-session
|
||||||
-P INPUT ACCEPT
|
-P INPUT ACCEPT
|
||||||
-P FORWARD DROP
|
-P FORWARD DROP
|
||||||
-P OUTPUT ACCEPT
|
-P OUTPUT ACCEPT
|
||||||
@ -148,8 +148,8 @@ The output may look similar to the following:
|
|||||||
-N DOCKER-USER
|
-N DOCKER-USER
|
||||||
```
|
```
|
||||||
|
|
||||||
If your `FORWARD` chain is set to `DROP`, you will need to update your rules:
|
If your `FORWARD` chain is set to `DROP`, you need to update your rules:
|
||||||
|
|
||||||
```shell
|
```bash
|
||||||
sudo iptables -P FORWARD ACCEPT
|
sudo iptables -P FORWARD ACCEPT
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user