clusters configuration

Configures the kubernetes cluster.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

configuration { additional-master-virtual-ip ipv4_address | additional-master-virtual-ip-cidr integer | addtional-master-virtual-ip-interface string | customization-image string | allow-insecure-registry { false | true } | master-virtual-ip ipv4_address | master-virtual-ip-cidr integer | master-virtual-ip-interface string | pod-subnet string | size { functional-test-aio | functional-test-ha | production} | virtual-ip-vrrp-router-id integer } 

master-virtual-ip ipv4_address

Specify the virtual IPv4 address used to make the kubernetes masters Highly Available (HA).

master-virtual-ip-cidr cidr_notation

Specify the CIDR notation of the additional master virtual IP.

Default Value: 32.

Must be an integer in the range of 0-32.

master-virtual-ip-interface string

Specify the Ethernet interface to which the master IP will be assigned.

Default Value: "ens192".

Must be a string.

keepalived-auth AES_encrypted_string

Specify the authentication password for Keepalived.

Must be an aes-cfb-128-encrypted string.

Default Value: "4be37dc3b4c90194d1600c483e10ad1d".

additional-master-virtual-ip ipv4_address

Specfies the virtual IPv4 used to provide additional access to the HA kubernetes masters. This must be set on initial cluster creation.

additional-master-virtual-ip-cidr integer

Specfies the CIDR notation (netmask) of additional master virtual IP.

Default Value: 32.

Must be an integer in the range of 0-32.

addtional-master-virtual-ip-interface string

Specify the ethernet interface to which the additional master IP will be assigned. This will correspond to netplan network IDs

Default Value: "ens192".

Must be a string.

virtual-ip-vrrp-router-id vrrp_router_id

Specify the VRRP router ID. If multiple instances of VRRP are in use on the same subnet, router ID must be unique. This is typically needed if running multiple SMI k8s clusters in the same subnet. Issues may show up with virtual IP bindings, if the router ID is not unique.

Note

The network connection resets in Geographical Redundancy (GR) deployment if the router ID is not unique. For more details on this issue, see Network Connection Reset section in UCC SMI Troubleshooting Guide.

Must be an integer in the range of 1-255.

pod-subnet string

Enters the pod subnet to configure k8s and calico.

Default Value: "192.168.0.0/16".

Must be a string.

customization-image string

Specify the Docker image to use for customizing the VMs deployed in the cluster.

Must be a string.

size { functional-test-aio | functional-test-ha | production }

Specify the cluster size.

Must be one of the following:

  • production

  • functional-test-ha

  • functional-test-aio

Default Value: production.

allow-insecure-registry { false | true }

Allows the use of insecure docker and helm registries.

Must be either "false" or "true".

Default Value: false.

Usage Guidelines

Use this command to configure the kubernetes cluster.