Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmiell committed Oct 2, 2023
1 parent 0ccd906 commit 999709c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions HorizontalPodAutoscaler/simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ metadata:
spec:
selector:
matchLabels:
run: hpa-simple-deployment
app: hpa-simple-deployment-app
template:
metadata:
labels:
run: hpa-simple-deployment
app: hpa-simple-deployment-app
spec:
containers:
- name: hpa-simple-deployment
- name: hpa-simple-deployment-container
image: registry.k8s.io/hpa-example
ports:
- containerPort: 80
Expand All @@ -29,14 +29,12 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: hpa-simple-service
labels:
run: hpa-simple-service
name: hpa-simple-deployment-service
spec:
ports:
- port: 80
selector:
run: hpa-simple-service
app: hpa-simple-deployment-app
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
Expand Down

0 comments on commit 999709c

Please sign in to comment.