Skip to content

Instantly share code, notes, and snippets.

@spark2ignite
Created August 14, 2017 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spark2ignite/26a9fbeeea279394730ac39b9c1b1df1 to your computer and use it in GitHub Desktop.
Save spark2ignite/26a9fbeeea279394730ac39b9c1b1df1 to your computer and use it in GitHub Desktop.
How we saved over $240K per year by replacing Mixpanel with Google BigQuery, Pub/Sub, Dataflow & Kubernetes (code snippet #2)
{
"apiVersion": "extensions/v1beta1",
"kind": "HorizontalPodAutoscaler",
"metadata": {
"name": "api"
},
"spec": {
"cpuUtilization": {
"targetPercentage": 40
},
"maxReplicas": 200,
"minReplicas": 20,
"scaleRef": {
"kind": "Deployment",
"name": "api"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment