Skip to content

Commit

Permalink
[stable/cluster-autoscaler] Allow configuring service port name (helm…
Browse files Browse the repository at this point in the history
…#3120)

* Add service port name

* Update Chart.yaml

* Update Chart.yaml

* Update Chart.yaml
  • Loading branch information
ashiddo11 authored and Jean-Noël Vouilloz committed May 15, 2018
1 parent a26d3a6 commit e96bf22
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stable/cluster-autoscaler/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ apiVersion: v1
description: Scales worker nodes within autoscaling groups.
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
name: cluster-autoscaler
version: 0.5.1
version: 0.5.2
appVersion: 1.1.0
home: https://github.com/kubernetes/autoscaler
sources:
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler
- https://github.com/spotinst/kubernetes-autoscaler/tree/master/cluster-autoscaler
maintainers:
- name: Michael Goodness
- name: mgoodness
email: mgoodness@gmail.com
engine: gotpl
1 change: 1 addition & 0 deletions stable/cluster-autoscaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ Parameter | Description | Default
`service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""`
`service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | `[]`
`service.servicePort` | service port to expose | `8085`
`service.portName` | name for service port | `http`
`service.type` | type of service to create | `ClusterIP`
`spotinst.account` | Spotinst Account ID (required if `cloudprovider=spotinst`) | `""`
`spotinst.token` | Spotinst API token (required if `cloudprovider=spotinst`) | `""`
Expand Down
1 change: 1 addition & 0 deletions stable/cluster-autoscaler/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
- port: {{ .Values.service.servicePort }}
protocol: TCP
targetPort: 8085
name: {{ .Values.service.portName }}
selector:
app: {{ template "cluster-autoscaler.name" . }}
release: {{ .Release.Name }}
Expand Down
1 change: 1 addition & 0 deletions stable/cluster-autoscaler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ service:
loadBalancerIP: ""
loadBalancerSourceRanges: []
servicePort: 8085
portName: http
type: ClusterIP

spotinst:
Expand Down

0 comments on commit e96bf22

Please sign in to comment.