--- layout: post tagline: "" description: "" category: Kubernetes tags: [] last_updated: --- # Nanny install DCE Community Author: [Peter Pan](https://github.com/panpan0000), [SAMZONG](https://github.com/SAMZONG) This article completes the installation of DCE Community from 0 to 1 in a cluster of 3 nodes, including K8s cluster, dependencies, network, storage and other details and more considerations. > At this stage, the iteration of the version is relatively fast. The installation method of this article may be different from the latest version. Please refer to the [Installation Instructions](../install/index.md) of the product documentation. ## Cluster Planning Use 3 UCloud VMs, all configured with 8-core 16G. | Role | Hostname | Operating System | IP | Configuration | | ------ | -------------- | ---------- | ------------- | -- ------------ | | control-plane | k8s-master01 | CentOS 8.3 | 10.23.* | 8-core 16G system disk 200GB | | worker-node | k8s-work01 | CentOS 8.3 | 10.23.* | 8-core 16G system disk 200GB | | worker-node | k8s-work02 | CentOS 8.3 | 10.23.* | 8-core 16G system disk 200GB | The components used in this example are: - Kubernetes: 1.25.8 - CRI: containerd (because the new version of K8s no longer directly supports Docker) - CNI: Calico - StorageClass: local-path - DCE Community: v0.5.0 ## prepare node All actions described in this section are required. ### Node configuration Before installation, make some necessary settings for the three nodes. 1. Configure the hostname. Modify the host name (optional) to avoid duplicate host names. ```bash hostnamectl set-hostname k8s-master01 hostnamectl set-hostname k8s-work01 hostnamectl set-hostname k8s-work02 ``` It is recommended to exit the SSH session after modification and log back in to display the new hostname. 1. Disable Swap ```bash swapoff -a sed -i '/swap/s/^/#/' /etc/fstab ``` 1. Turn off the firewall (optional) ```bash systemctl stop firewalld systemctl disable firewalld ``` 1. Set kernel parameters and allow iptables for bridging traffic Load the __br_netfilter__ module: ```bash cat <