Skip to content

Commit

Permalink
Use HPA v2 in tutorial (apache#541)
Browse files Browse the repository at this point in the history
Also fix the SolrCloud apiVersion
  • Loading branch information
beettlle authored Apr 3, 2023
1 parent d12b4b2 commit c16b34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/local_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,15 @@ kubectl get solrclouds -w
The SolrCloud CRD is setup so that it is able to run with the HPA.
Merely use the following when creating an HPA object:
```yaml
apiVersion: autoscaling/v2beta2
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: example-solr
spec:
maxReplicas: 6
minReplicas: 3
scaleTargetRef:
apiVersion: solr.apache.com/v1beta1
apiVersion: solr.apache.org/v1beta1
kind: SolrCloud
name: example
metrics:
Expand Down

0 comments on commit c16b34e

Please sign in to comment.