sample hpa

This commit is contained in:
Brian On 2022-01-02 22:35:06 -08:00
parent d2deecefbc
commit 4a930b2843
9 changed files with 167 additions and 11 deletions

View file

@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: sample-app
labels:
app: sample-app
spec:
replicas: 1
selector:
matchLabels:
app: sample-app
template:
metadata:
labels:
app: sample-app
spec:
containers:
- image: luxas/autoscale-demo:v0.1.2
name: metrics-provider
ports:
- name: http
containerPort: 8080