Skip to content

Commit 9f9d08c

Browse files
authored
docs: Update deployment and stackset example files (#708)
Currently the Setup section in README will finish in non-working configuration. This PR updates the stackset and deployment files to make 'kind' example working. Signed-off-by: Aleksandr Ponimaskin <[email protected]>
1 parent 146d75c commit 9f9d08c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
serviceAccountName: stackset-controller
2121
containers:
2222
- name: stackset-controller
23-
image: registry.opensource.zalan.do/teapot/stackset-controller:v1.3.37
23+
image: registry.opensource.zalan.do/teapot/stackset-controller:v1.4.113
2424
# please adjust this for your environment
2525
# the cluster-domain must match the application domain suffix
2626
# Example application domain: my-app.example.org

docs/stackset.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,12 @@ spec:
2121
spec:
2222
version: v1
2323
replicas: 3
24-
horizontalPodAutoscaler:
24+
autoscaler:
2525
minReplicas: 3
2626
maxReplicas: 10
2727
metrics:
28-
- type: Resource
29-
resource:
30-
name: cpu
31-
targetAverageUtilization: 50
28+
- type: CPU
29+
averageUtilization: 50
3230
podTemplate:
3331
spec:
3432
containers:

0 commit comments

Comments
 (0)