Upgrade, rollback, or uninstall

From Genesys Documentation
Revision as of 01:09, July 1, 2021 by Olena.chapovska@genesys.com (talk | contribs) (Published)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This topic is part of the manual Genesys Pulse Private Edition Guide for version Current of Reporting.

Learn how to upgrade, rollback or uninstall Genesys Pulse. Service supports Helm rolling upgrade strategy.

Upgrade Genesys Pulse

Upgrade <image-version> and <chart-versions> inputs and follow instructions for installing helm charts in Shared Provisioning and Tenant Provisioning.

Rollback Genesys Pulse

Downgrade <image-version> and <chart-versions> inputs and follow instructions for installing helm charts in Shared Provisioning and Tenant Provisioning.

Uninstall Genesys Pulse

Delete ConfigMaps and Secrets

  • delete pulse-postgres-configmap configmap
    source .shared_init_variables 
    oc delete configmap pulse-postgres-configmap --namespace="${NAMESPACE}"
  • delete pulse-redis-configmap configmap
    source .shared_init_variables
    oc delete configmap pulse-postgres-configmap --namespace="${NAMESPACE}"
  • delete pulse-postgres-secret secret
    source .shared_init_variables
    oc delete secret pulse-postgres-secret --namespace="${NAMESPACE}"
  • delete pulse-redis-secret secret
    source .shared_init_variables
    oc delete secret pulse-redis-secret --namespace="${NAMESPACE}"
  • delete pulse-gws-secret secret
    source .shared_init_variables
    oc delete secret pulse-gws-secret --namespace="${NAMESPACE}"

Uninstall Helm charts

  • Uninstall init chart
    source .shared_init_variables
    helm uninstall init --namespace="${NAMESPACE}"
  • Uninstall pulse chart
    source .shared_init_variables
    helm uninstall pulse --namespace="${NAMESPACE}"
  • Uninstall init-tenant chart
    source .tenant_init_variables
    helm uninstall "pulse-init-tenant-${TENANT_SID}" \
          --namespace="${NAMESPACE}"
  • Uninstall dcu chart
    source .tenant_init_variables
    helm uninstall "pulse-dcu-${TENANT_SID}" \
         --namespace="${NAMESPACE}"
  • Uninstall lds chart
    source .tenant_init_variables
    helm uninstall "pulse-lds-${TENANT_SID}" \
         --namespace="${NAMESPACE}"
  • Uninstall permissions chart
    source .tenant_init_variables
     helm uninstall "pulse-permissions-${TENANT_SID}" \
         --namespace="${NAMESPACE}"

Delete shared db and db user

Warning
All Genesys Pulse data contained in your Genesys Pulse database will be lost after execution of the below steps.
  • Save as delete_shared_db_user.sql
    DROP DATABASE "${DB_NAME_SHARED}";
    DROP USER "${DB_USER_SHARED}@${DB_HOST}";
  • Run
    source .shared_init_variables
     
    envsubst < ./delete_shared_db_user.sql | \
    PGPASSWORD="${DB_PASSWORD_SUPERUSER}" psql -h "${DB_HOST}" -p "${DB_PORT}" -U "${DB_NAME_SUPERUSER}" -f -
Comments or questions about this documentation? Contact us for support!