Deploy Kubernetes on Compute node (HCI)
Add Cluster
#
Create a new Cluster - Custom
#
Select Cluster type - #
Create Cluster- Cluster name
Custom
#
Edit Kubernetes Options - #
Click Done#
Prepare Compute nodeSummaryPassword has not been modified.Host name: com1IF.1 IPv4 Mode: Manual IPv4 Address: 0.0.0.0 IPv4 Netmask: 0.0.0.0 IPv6 Mode: AutomaticIF.2 Interface disabledIF.3 Interface disabledIF.4 Default interface. IPv4 Mode: Manual IPv4 Address: 10.32.2.221 IPv4 Netmask: 255.255.0.0 IPv4 Gateway: 10.32.0.254 IPv6 Mode: AutomaticIF.5 Interface disabledIF.6 Interface disabledIF.7 Interface disabledDNS server 1: 8.8.8.8Time Zone: Asia/TaipeiDate: 11/02/2020Time: 20:51:11Role: computeController: CONTROLLER(10.32.2.220)External IP/Domain: N/AManagement: IF.4Provider: IF.4Overlay: IF.4Storage: IF.4Domain/Region: default/RegionOneCube Secret Seed: skyyyHigh Availability: disabled1: Accept the configuration2: Cancel the configuration3: Modify the configuration
Select option: 1Applying policy changes.[15795.310527] igb 0000:01:00.0: Cannot change link characteristics when SoL/IDER is active.Policy changes were successfully applied.Welcome to the Cube ApplianceEnter "help" for a list of available commandscom1>
#
Connect to controller❯ ssh [email protected]Warning: Permanently added '10.32.2.220' (ECDSA) to the list of known hosts.Password:Welcome to the Cube ApplianceEnter "help" for a list of available commandsCONTROLLER>
#
Add the compute node to ranchersCONTROLLER> kubernetesCONTROLLER:kubernetes> node_add1: ubuntu2: k8s3: baremetalEnter index: 3Node(s) name to add to this cluster: com1Specify roles for these nodes (--all, --etcd, --controlplane, --worker): --all