Skip to content

Back up custom certificates

DataRobot platform charts allow you to define custom certificates at application installation time.

During the installation process, you can define custom certificates for the DataRobot platform. If you decide to define custom certificates for your DataRobot cluster, you must back up the certificates separately.

Check for custom certificates

備考

You must fulfill the prerequisites before proceeding.

Check if your cluster configuration includes a globals.certs section:

helm get values dr 

If custom certificates are configured, you'll see a section that looks similar to this:

globals:
  certs:
    - secret: rabbit-cert
      path: rabbit/rabbit-cert.pem 

備考

Because these secrets are preconfigured outside of DataRobot, they must be backed up separately.

Back up custom certificate secrets

Individually back up each custom certificate secret identified in your configuration:

export BACKUP_SECRET_NAME=SECRET_NAME
mkdir -p ${BACKUP_LOCATION}/secrets/certs
kubectl -n $NAMESPACE get secret ${BACKUP_SECRET_NAME} -o jsonpath='{.data.*}' > ${BACKUP_LOCATION}/secrets/certs/${BACKUP_SECRET_NAME}.crt 

備考

Replace SECRET_NAME with the actual secret name from your configuration (e.g., rabbit-cert).