-
-
Save slaskawi/3d0b4aed6c352c4ac2f9827d3c4fd237 to your computer and use it in GitHub Desktop.
Horizontal Pod Autoscaler for Infinispan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: autoscaling/v2beta1 | |
kind: HorizontalPodAutoscaler | |
metadata: | |
name: caching-service-app | |
spec: | |
scaleTargetRef: | |
apiVersion: apps/v1 | |
kind: StatefulSet | |
name: caching-service-app | |
minReplicas: 1 | |
maxReplicas: 3 | |
metrics: | |
- type: Resource | |
resource: | |
name: memory | |
targetAverageUtilization: 92 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment