Setup ECS Environment
This article explains the step to setup the ECS environment so that user can administer the CDP PvC ECS cluster after successful installation.
Configure the ECS environment in the ECS master/server node.
# cp /etc/rancher/rke2/rke2.yaml .kube/config # export PATH=$PATH:/var/lib/rancher/rke2/bin # kubectl get nodes NAME STATUS ROLES AGE VERSION ecsmaster1.cdpkvm.cldr Ready control-plane,etcd,master 120m v1.21.8+rke2r2 ecsworker1.cdpkvm.cldr Ready <none> 117m v1.21.8+rke2r2 ecsworker2.cdpkvm.cldr Ready <none> 117m v1.21.8+rke2r2Amend the
~/.bash_profilelogin shell to includeexport PATH=$PATH:/var/lib/rancher/rke2/binparameter to persist the environment setting.