Skip to content

Instantly share code, notes, and snippets.

@slaskawi

slaskawi/hpa.yaml Secret

Created Aug 7, 2018
Embed
What would you like to do?
Horizontal Pod Autoscaler for Infinispan
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
You can’t perform that action at this time.