You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

all-in-one.md 1.9 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ### Deploy All In One Sedna
  2. The [all-in-one script](/scripts/installation/all-in-one.sh) is used to install Sedna along with a mini Kubernetes environment locally, including:
  3. - A Kubernetes v1.21 cluster with multi worker nodes, default zero worker node.
  4. - KubeEdge with multi edge nodes, default is latest KubeEdge and one edge node.
  5. - Sedna, default is the latest version.
  6. It requires you:
  7. - 2 CPUs or more
  8. - 2GB+ free memory, depends on node number setting
  9. - 10GB+ free disk space
  10. - Internet connection(docker hub, github etc.)
  11. - Linux platform, such as ubuntu/centos
  12. - Docker 17.06+
  13. For example:
  14. ```bash
  15. curl https://raw.githubusercontent.com/kubeedge/sedna/master/scripts/installation/all-in-one.sh | KUBEEDGE_VERSION=v1.8.0 NUM_EDGE_NODES=2 bash -
  16. ```
  17. Above command installs a mini Sedna environment, including:
  18. - A Kubernetes v1.21 cluster with only one master node.
  19. - KubeEdge with two edge nodes.
  20. - The latest Sedna.
  21. You can play it online on [katacoda](https://www.katacoda.com/kubeedge-sedna/scenarios/all-in-one).
  22. Advanced options:
  23. | Env Variable | Description| Default Value|
  24. | --- | --- | --- |
  25. |NUM_EDGE_NODES | Number of KubeEdge nodes| 1 |
  26. |NUM_CLOUD_WORKER_NODES | Number of cloud **worker** nodes, not master node| 0|
  27. |SEDNA_VERSION | The Sedna version to be installed. |The latest version|
  28. |KUBEEDGE_VERSION | The KubeEdge version to be installed. |The latest version|
  29. |CLUSTER_NAME | The all-in-one cluster name| sedna-mini|
  30. |FORCE_INSTALL_SEDNA | If 'true', force to reinstall Sedna|false|
  31. |NODE_IMAGE | Custom node image| kubeedge/sedna-allinone-node:v1.21.1|
  32. |REUSE_EDGE_CONTAINER | Whether reuse edge node containers or not|true|
  33. Clean all-in-one Sedna:
  34. ```bash
  35. curl https://raw.githubusercontent.com/kubeedge/sedna/main/scripts/installation/all-in-one.sh | bash /dev/stdin clean
  36. ```