16 Kubernetes Horizontal Pod Autoscaler
Kubernetes Horizontal Pod Autoscaler (HPA) allows automatic scaling (up and down) of the
Oracle Access Management (OAM) servers. If load increases then extra OAM servers will be
started as required, up to the value configuredManagedServerCount
defined
when the domain was created. Similarly, if load decreases, OAM servers will be
automatically shutdown.
For more information on HPA, see Horizontal Pod Autoscaling.
The instructions below show you how to configure and run an HPA to scale an OAM cluster
(
accessdomain-oam-cluster
), based on CPU utilization or memory resource
metrics. If required, you can also perform the following for the
accessdomain-policy-cluster
.
Note:
If you enable HPA and then decide you want to start,stop, or scale OAM servers manually as per Scaling OAM Pods, it is recommended to delete HPA beforehand as per Deleting HPA.This chapter includes the following topics: