Updated on 2024-02-01 GMT+08:00

On-Premises Cluster Configuration File

The on-premises cluster configuration file is a Cluster.yaml file, which is automatically generated on the UCS console and is used to initialize the master node of the on-premises cluster. Table 1 lists the fields in the configuration file.

Table 1 Commands

Configuration Item

Configuration Command

# User for logging in to the master node in SSH mode

USERNAME: root

# Password for logging in to the master node in SSH mode

PASSWORD:

# IP address of the master1 node in the cluster

MASTER-1:

# IP address of the master2 node in the cluster

MASTER-2:

# IP address of the master3 node in the cluster

MASTER-3:

#Whether to use ELB# Whether to use ELB

ACCESS_EXTERNAL_LOAD_BALANCE: false

# IP address of the available ELB

EXTERNAL_LOAD_BALANCE_IP:

# Virtual IP address of the cluster

VIRTUAL_IP:

# Container network service

NETWORK_PROVIDER: cilium

# Container CIDR block

CILIUM_IPV4POOL_CIDR: 172.16.0.0/16

# Cilium BGP switch

CILIUM_BGP_ENABLE: false

# Cilium BGP peer IP address

CILIUM_BGP_PEER_ADDRESS: 127.0.0.1

# Cilium BGP ASN

CILIUM_BGP_PEER_ASN: 65010

# CIDR block for Cilium load balancer

LOAD_BALANCER_CIDR:

# Cilium container network mode

CILIUM_NETWORK_MODE: overlay

# Time zone

TIMEZONE: Asia/Shanghai

# Whether to add taints to the management node

TAINT_MANAGE: yes

# Whether to use NTP

INSTALL_NTP: true

#IP address of the external NTP server

NTP_SERVER_IP:

# Proxy forwarding mode

PROXY_MODE: ebpf

# IP address of the external DNS server

DNS_SERVER_IP:

# External access address of the cluster

CUSTOM_IP:

# Address for downloading the cluster installation package

PACKAGE_PATH:

# Address for downloading the cluster image package

IMAGES_PACKAGE_PATH:

# IAM domain ID

IAM_DOMAIN_ID:

# IAM service address

IAM_ENDPOINT: