Link Search Menu Expand Document

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.


  1. 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+rke2r2
    
  2. Amend the ~/.bash_profile login shell to include export PATH=$PATH:/var/lib/rancher/rke2/bin parameter to persist the environment setting.


Back to top

All trademarks, logos, service marks and company names appeared here are the property of their respective owners.

Linkedin