Configuration for Kubernetes etcd SSL Certificates

If you use SSL certificates to secure your Kubernetes cluster, you can protect the SSL certificates by adding your each control plane node to Commvault as a Linux file server, and then specifying the backup target on the server as /etc/kubernetes.


To protect /etc/kubernetes, you must intall the Commvault Linux file system agent on the operating system of the control plane nodes. If your operating system (such as Red Hat CoreOS) prevents installation of third-party software, then protection is not possible.

Kubernetes controls access to the kube-apiserver by presenting a certificate that can be signed by your private or public certificate authority (CA). Public key infrastructure (PKI) certificates for your cluster are stored in /etc/kubernetes on each control plane node. To recover from unplanned control plane failure or file system corruption, a backup of /etc/kubernetes is recommended.

Review the System Requirements for Linux File Servers

Add Each Control Plane Node as a Linux File Server

  1. From the navigation pane, go to Protect > File Servers.

    The File servers page appears.

  2. In the upper-right area of the page, click Add server.

    The Add server dialog box appears.

  3. Click File server.

    The Add file server dialog box appears.

  4. In the Name box, enter the Clientname or Displayname for the control plane node.

    Often, this value is the hostname without the domain name.

    The Add new server dialog box appears.

  5. In the Host name box, enter the fully qualified host name (FQHN) of the control plane node.

  6. In the user name and password boxes, enter the SSH credentials that you want to use to transfer and install the Commvault software on the control plane node.

  7. For OS type, select Unix and Linux.

  8. To use a non-standard SSH port number, move the Use non-standard SSH port number toggle key to the right, and then enter the SSH port number.

  9. To use an SSH key, move the Use SSH key toggle key to the right, and then enter the key.

  10. Unless you want to install the Commvault software in a location other than /opt/commvault, leave the Installation location box empty.

  11. If you want to restart the file server installing the Commvault software, move the Reboot if required toggle key to the right.

    A restart is not required.

  12. From the Plan list, select the server plan to use for for all file system subclients for this control plane node.

  13. To install the Commvault software on the control plane node, click Install.

    If the host is not available, you can click To install the software interactively, click here, and then install the software manually.

Modify the Default Subclient to Back Up /etc/kubernetes

Modify the default subclient to protect the /etc/kubernetes directory.

  1. From the navigation pane, go to Protect > File servers.

    The File servers page appears.

  2. Click the file server.

    The file server page appears.

  3. On the Overview tab, under Subclients, click default.

    The default subclient properties page appears.

  4. In the Content section, click Edit.

    A confirmation message appears, asking if you want to override the inheritance from the server plan.

  5. Click Yes.

    The Add/Edit content dialog box appears.

  6. In the path box, enter /etc/kubernetes.

  7. Click OK.

  8. To run an on-demand backup and verify that backups complete with no errors or warnings, click Back up.