Skip to content

Instantly share code, notes, and snippets.

@pepijnblom
Last active January 24, 2020 08:30
Show Gist options
  • Save pepijnblom/02d10f31e4b1dae7ce766183573a9909 to your computer and use it in GitHub Desktop.
Save pepijnblom/02d10f31e4b1dae7ce766183573a9909 to your computer and use it in GitHub Desktop.
magento2-kubernetes-blog-example-hpa
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: pubsub
namespace: default
spec:
maxReplicas: 5
minReplicas: 2
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: pubsub-client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment