Deploy the Kubernetes Optimizer Service

This page describes deploying the Pulse Kubernetes Optimizer service and its dependencies.


Deploy VM-Scraper


Enable the K8s Dashboards

Enable the feature flags for Kubernetes Dashboard in the pulseoperator CR.

kubectl edit pulseoperators.pulse.acceldata.com pulseoperator -n pulse ... FEATURE_FLAGS: '..."isK8Enabled": true, "k8sLogs": true}' ... image: ad-pulse-ui ... OPTIMIZER_ENABLED: "true" ... image: ad-dashplots-ui ...

Save this, and the controller-manager automatically restarts ad-pulse-ui and ad-dashplots-ui.


Deploy the Pulse K8s Optimizer Add-ons

Deploy the K8s Optimizer addons as needed.

  1. KUBERNETES WEBHOOK

  2. KUBERNETES OPTIMIZER

The commands to deploy the addon services:

curl --request PUT \ --url http://<Ingress API for the Manager Server>/api/v1/mserver/deploy/addons/<clustername> \ -u "pulse:6Q6+2JxJ6QXORvvHjQakqyEUSM5/KhAFXYBAZsUnJQqCOSUl5VkWeHwfUGekw1z4" \ --header 'Content-Type: application/json' \ --data '{ "addons": [ . . . "KUBERNETES WEBHOOK", "KUBERNETES OPTIMIZER" ], "extra_hosts": { "<IP_Address 1>": "dbservers101.acceldata.dvl", "<IP_Address 2>": "dbservers102.acceldata.dvl", "<IP_Address 3>": "dbservers103.acceldata.dvl" } }'