Enable monitoring service
If you installed the monitoring service using Helm, you can use Helm to enable it as well.
Prerequisites
Ensure the monitoring service is installed.
Enable
To enable the monitoring service component using Helm:
Update your Helm repository.
helm repo update
Retrieve all custom values you used during install. Generate a YAML file, replacing the
<namespace>
with your namespace.helm get values --namespace <namespace> <release-name> -o yaml > values.yaml
Delete the post-install hook job.
kubectl delete job pxcentral-post-install-hook --namespace <namespace>
Remove the
pxcentral-prometheus-operator
deployment. Enter the followingkubectl delete deployment
command, replacing the value of the<namespace>
parameter to match your environment:kubectl -n <namespace> delete deployment pxcentral-prometheus-operator
Run the following
helm upgrade
command to enable the monitoring service, using the-f
flag to pass the customvalues.yaml
file you generated above.helm upgrade <release-name> <repo-name>/px-central --namespace <namespace> -f values.yaml --set pxlicenseserver.enabled=true
Replacing the following parameters:
<release-name>
: the monitoring service release to enable<repo-name>
: the Portworx Enterprise repository name<namespace>
: the namespace matching your environment
Last edited: Wednesday, Feb 8, 2023
Questions? Visit the Portworx forum.