The all-in-one script is used to install Sedna along with a mini Kubernetes environment locally, including:
It requires you:
For example:
curl https://raw.githubusercontent.com/kubeedge/sedna/master/scripts/installation/all-in-one.sh | KUBEEDGE_VERSION=v1.8.0 NUM_EDGE_NODES=2 bash -
Above command installs a mini Sedna environment, including:
You can play it online on katacoda.
Advanced options:
| Env Variable | Description | Default Value |
|---|---|---|
| NUM_EDGE_NODES | Number of KubeEdge nodes | 1 |
| NUM_CLOUD_WORKER_NODES | Number of cloud worker nodes, not master node | 0 |
| SEDNA_VERSION | The Sedna version to be installed. | The latest version |
| KUBEEDGE_VERSION | The KubeEdge version to be installed. | The latest version |
| CLUSTER_NAME | The all-in-one cluster name | sedna-mini |
| FORCE_INSTALL_SEDNA | If 'true', force to reinstall Sedna | false |
| NODE_IMAGE | Custom node image | kubeedge/sedna-allinone-node:v1.21.1 |
| REUSE_EDGE_CONTAINER | Whether reuse edge node containers or not | true |
Clean all-in-one Sedna:
curl https://raw.githubusercontent.com/kubeedge/sedna/main/scripts/installation/all-in-one.sh | bash /dev/stdin clean