Explain the process of scaling a Kubernetes cluster dynamically based on custom metrics rather than just CPU utilization.