Administering OpenStack Clusters


Note

This section is applicable only for OpenStack clusters deployed on Cisco Virtualized Infrastructure Manager (Cisco VIM).

You can create and delete OpenStack Kubernetes clusters using the Cisco Container Platform web interface.

This chapter contains the following topics:

Creating Kubernetes Clusters on OpenStack Clusters

Before you begin

Ensure that you have added your OpenStack provider profile.

For more information, see Adding OpenStack Provider Profile.

Procedure


Step 1

From the left pane, click Clusters, and then click the OPENSTACK tab.

Step 2

Click NEW CLUSTER.

Step 3

In the Basic Information screen, enter the following information:

  1. From the INFRASTRUCTURE PROVIDER drop-down list, choose the provider related to the appropriate OpenStack account.

  2. In the KUBERNETES CLUSTER NAME field, enter a name for your cluster.

  3. From the CONTAINER NETWORK INTERFACE (CNI) drop-down list, choose the CNI that you want to use.

  4. From the KUBERNETES VERSION drop-down list, choose the version of Kubernetes that you want to use for creating the cluster.

Step 4

In the Provider Settings screen, enter the following information:

  1. From the NETWORK TYPE drop-down list, choose the type of network that you want to use.

  2. From the PUBLIC NETWORK drop-down list, choose the network that you want to use.

  3. In the DNS SERVERS field, enter the IP address of the necessary DNS servers.

    You can use a comma-separated list to enter the IP addresses of additional DNS servers.
  4. From the IMAGE drop-down list, choose an appropriate image file.

  5. From the CINDER AVAILABILITY ZONE drop-down list, choose a suitable Cinder availability zone.

  6. From the NOVA AVAILABILITY ZONE drop-down list, choose a suitable Nova availability zone.

  7. Click NEXT.

Step 5

In the Cluster Configuration screen, enter the following information:

  1. Under MASTER NODES, specify the number of master nodes.

  2. Under WORKER NODES, specify the number of worker nodes.

  3. From the FLAVOR drop-down list, choose a flavor to configure each node.

  4. In the POD NETWORK CIDR field, enter a CIDR for your pod network.

  5. From the SSH KEY NAME drop-down list, choose an appropriate key name.

  6. In the ROOT CA REGISTRIES field, enter the root CA certificates to allow the cluster to securely connect to additional services.

  7. In the SELF-SIGNED REGISTRIES field, enter the self-signed certificates for Docker registries.

  8. In the NTP POOLS field, enter an appropriate IP address range to configure an NTP pool.

    You can use a comma-separated list to include multiple NTP pools.
  9. In the NTP SERVERS field, enter the IP address of the NTP server that you want to use.

    You can use a comma-separated list to include multiple NTP servers.
  10. From the ROUTER drop-down list, enter the IP address of the router that you want to use.

  11. Click NEXT.

Step 6

In the Summary screen, review the cluster information, and then click FINISH.

Cluster creation can take up to 20 minutes. You can monitor the cluster creation status on the Clusters screen.

Deleting OpenStack Clusters

Before you begin

Ensure that the OpenStack cluster that you want to delete is not currently in use, as deleting a cluster removes the containers and data associated with it.

Procedure


Step 1

From the left pane, click Clusters, and then click the Openstack tab.

Step 2

From the drop-down list displayed under the ACTIONS column, choose Delete for the cluster that you want to delete.

Step 3

Click DELETE in the confirmation dialog box.

Upon deleting an OpenStack cluster, it takes about 10 minutes for the cluster resources to be released.