You can configure an SLO by making a call to the VMware Secure App IX API.
You can use an interactive API Explorer in the VMware Secure App IX Console UI to access the VMware Secure App IX API endpoints. For more information about the API Explorer, see the VMware Secure App IX API Programming Guide.
Prerequisites
Onboard your Kubernetes clusters where your services are deployed. For more information about onboarding a cluster, see Onboard a Cluster to VMware Secure App IX.
Procedure
- To access the VMware Secure App IX API endpoints for a GNS-scoped SLO, perform these steps.
- On the bottom bar of the VMware Secure App IX Console UI, toward the right, click API Explorer.
- On the REST HTTP tab, scroll down to the GNS Service Level Objective section to see the API endpoints for SLO.
- Expand PUT v1alpha1/global-namespaces/{gnsId}/service-level-objectives/{sloId} to create an SLO with this endpoint.
policyID
. Specify the SLO policy name.gnsID
. Specify the global namespace name.Service Level Objective Config
. Specify the type of SLO, the SLI metrics, and the SLO threshold condition.
- To create an org-scoped SLO, scroll down to the VMware Secure App IX API endpoints for Service Level Objective and use the PUT /v1alpha/service-level-objective/{id} endpoint.
Results
For information about the endpoints to use to view the list of SLO policies, edit an SLO policy, or delete an SLO policy that you no longer need, see SLO API Reference.