[stable/selenium] Add hub serviceLoadBalancerIP property (#6000)

* Addhub serviceLoadBalancerIP property

* Bumping version of chart

* Bump version numbers

* Change appVersion to 3.11.0 so that it matches the README

* Update Chart.yaml

* Update README.md
This commit is contained in:
pieterv-icloud-com
2018-07-02 13:12:18 -07:00
committed by k8s-ci-robot
parent b657379f2e
commit 7866d1aa62
4 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: selenium
version: 0.6.0
version: 0.7.0
appVersion: 3.12.0
description: Chart for selenium grid
keywords:
+2 -1
View File
@@ -44,12 +44,13 @@ The following table lists the configurable parameters of the Selenium chart and
| --------- | ----------- | ------- |
| `global.nodeselector` | Node label to be useed globally for scheduling of all images | `nil` |
| `hub.image` | The selenium hub image | `selenium/hub` |
| `hub.tag` | The selenium hub image tag | `3.11.0` |
| `hub.tag` | The selenium hub image tag | `3.12.0` |
| `hub.pullPolicy` | The pull policy for the hub image | `IfNotPresent` |
| `hub.port` | The port the hub listens on | `4444` |
| `hub.javaOpts` | The java options for the selenium hub JVM, default sets the maximum heap size to 1,000 mb | `-Xmx1000m` |
| `hub.resources` | The resources for the hub container, defaults to minimum half a cpu and maximum 1,000 mb RAM | `{"limits":{"cpu":".5", "memory":"1000Mi"}}` |
| `hub.serviceType` | The Service type | `NodePort` |
| `hub.serviceLoadBalancerIP` | The Public IP for the Load Balancer | `nil` |
| `hub.serviceSessionAffinity` | The session affinity for the hub service| `None` |
| `hub.gridNewSessionWaitTimeout` | | `nil` |
| `hub.gridJettyMaxThreads` | | `nil` |
@@ -13,6 +13,9 @@ metadata:
{{- end }}
spec:
type: {{ .Values.hub.serviceType | quote }}
{{- if .Values.hub.serviceLoadBalancerIP }}
loadBalancerIP: {{ .Values.hub.serviceLoadBalancerIP | quote }}
{{- end }}
sessionAffinity: {{ .Values.hub.serviceSessionAffinity | quote }}
ports:
- name: hub
+4
View File
@@ -56,6 +56,10 @@ hub:
## ref: https://kubernetes.io/docs/user-guide/services/
serviceType: "LoadBalancer"
## The LoadBalancer IP Address
## ref: https://kubernetes.io/docs/user-guide/services/
## serviceLoadBalancerIP: "40.121.183.52"
## Control where client requests go, to the same pod or round-robin
## Values: ClientIP or None
## ref: https://kubernetes.io/docs/user-guide/services/