We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50c3157 commit 6f4efaaCopy full SHA for 6f4efaa
deploy/demo/app/deployment.yaml
@@ -8,7 +8,7 @@ spec:
8
app.kubernetes.io/name: kuard
9
# I don't want to mess with anti-affinities so let's
10
# just create enough pods to spread them across nodes.
11
- replicas: 9
+ replicas: 6
12
template:
13
metadata:
14
labels:
deploy/demo/traefik/values.yaml
@@ -3,6 +3,20 @@ traefik:
3
enabled: yes
4
isDefaultClass: yes
5
6
+ autoscaling:
7
+ enabled: true
+ minReplicas: 6
+ maxReplicas: 9
+ metrics:
+ - type: Resource
+ resource:
+ name: cpu
+ targetAverageUtilization: 60
15
16
17
+ name: memory
18
19
+
20
service:
21
22
type: LoadBalancer
0 commit comments