Perform an upgrade#

Upgrade a DNS-controller instance#

Upgrade the DNS-controller instance#

  1. Change to the Aspen Mesh release directory for the new version (the version you want to upgrade to).

  2. Compare the new DNS-controller values.yaml file with the old DNS-controller values.yaml file (for the currently installed version):

    $ diff manifests/charts/dns-controller/values.yaml <oldDnsControllerValuesFilename>
    
  3. Are there any new fields that are required or that you want to override?

    • Yes:

      • Open the override values file for the DNS-controller instance in a text editor.

      • Copy the fields to the override values file and change their values if you want to override them.

      • Save and close the file.

      • Go to step 4.

    • No:

      • Go to step 4.

  4. Upgrade the DNS-controller custom resource definition:

    $ kubectl apply -f manifests/charts/dns-controller/crds
    
  5. Are you upgrading a general DNS-controller instance (not a realm-specific DNS-controller instance)?

    • Yes:

      • Upgrade the DNS-controller instance without specifying a realm:

        $ helm upggrade <dnsControllerInstanceName> manifests/charts/dns-controller \
            --namespace <namespaceName> \
            --values <instanceOverrideValuesFilename> \
            --wait
        
    • No:

      • Upgrade the DNS-controller instance and specify its realm:

        $ helm upgrade <dnsControllerInstanceName> manifests/charts/dns-controller \
            --namespace <namespaceName> \
            --values <instanceOverrideValuesFilename> \
            --set realm=<realmName> \
            --wait