Skip to content

Instantly share code, notes, and snippets.

@sudermanjr
Created November 9, 2018 04:27
Show Gist options
  • Save sudermanjr/f6e6f3a733d7d0a29d4bce77f9290446 to your computer and use it in GitHub Desktop.
Save sudermanjr/f6e6f3a733d7d0a29d4bce77f9290446 to your computer and use it in GitHub Desktop.
Kube202 HPA
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: test-hpa
namespace: kube202
spec:
maxReplicas: 10
minReplicas: 2
scaleTargetRef:
apiVersion: apps/v1beta1
kind: Deployment
name: test
targetCPUUtilizationPercentage: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment