Skip to content

Commit

Permalink
Create hpa.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DeekshithSN committed Dec 4, 2021
1 parent 8ea31c9 commit ebd6f05
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions kubernetes-hpa/hpa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
annotations:
name: node-example
namespace: default
spec:
maxReplicas: 4
minReplicas: 1
scaleTargetRef:
apiVersion: extensions/v1
kind: Deployment
name: node-example
targetCPUUtilizationPercentage: 1

0 comments on commit ebd6f05

Please sign in to comment.