add metadata name to HPA v2 example

This commit is contained in:
Tiago Matias 2018-11-19 10:30:25 -02:00
parent c4e87a2524
commit c37110149d
1 changed files with 2 additions and 0 deletions

View File

@ -211,6 +211,8 @@ the ReplicationController being autoscaled.
```yaml
kind: HorizontalPodAutoscaler
apiVersion: autoscaling/v2alpha1
metadata:
name: WebFrontend
spec:
scaleTargetRef:
kind: ReplicationController