-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sample chart refValues for deployment
[skip ci] Signed-off-by: Viet Nguyen Duc <[email protected]>
- Loading branch information
Showing
2 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# README: This is a sample values for chart deployment in EKS AWS | ||
# Chart dependency ingress-nginx is installed together by enabling `ingress-nginx.enabled`. On AWS, ingress-nginx is installed as a Classic LoadBalancer | ||
# Chart dependency keda is installed together by enabling `autoscaling.enable` | ||
# Enabled ingress with hostname, set the subPath `/selenium`. Grid is accessible via http://my.hostname/selenium | ||
# Use this reference values to deploy e.g. `helm upgrade --install test --values tests/charts/refValues/sample-aws.yaml docker-selenium/selenium-grid --version <0.26.3_onwards>` | ||
global: | ||
K8S_PUBLIC_IP: "" | ||
seleniumGrid: | ||
logLevel: INFO # Change to FINE when you want to debug the issue | ||
|
||
ingress: | ||
enabled: true | ||
annotations: | ||
kubernetes.io/ingress.class: nginx | ||
nginx.ingress.kubernetes.io/use-regex: "true" | ||
nginx.ingress.kubernetes.io/rewrite-target: /$2 | ||
nginx.ingress.kubernetes.io/app-root: &gridAppRoot "/selenium" | ||
ingressClassName: nginx | ||
hostname: "aws.ndviet.org" # Replace with your hostname | ||
paths: | ||
- path: /selenium(/|$)(.*) | ||
pathType: ImplementationSpecific | ||
backend: | ||
service: | ||
name: '{{ template "seleniumGrid.router.fullname" $ }}' | ||
port: | ||
number: 4444 | ||
|
||
basicAuth: | ||
enabled: false | ||
|
||
isolateComponents: true | ||
|
||
autoscaling: | ||
enabled: true | ||
scalingType: job | ||
annotations: | ||
helm.sh/hook: post-install,post-upgrade,post-rollback | ||
scaledOptions: | ||
minReplicaCount: 0 | ||
maxReplicaCount: 8 | ||
pollingInterval: 15 | ||
scaledJobOptions: | ||
successfulJobsHistoryLimit: 0 | ||
failedJobsHistoryLimit: 5 | ||
scalingStrategy: | ||
strategy: default | ||
|
||
hub: | ||
subPath: *gridAppRoot | ||
|
||
components: | ||
subPath: *gridAppRoot | ||
|
||
chromeNode: | ||
extraEnvironmentVariables: &extraEnvironmentVariablesNodes | ||
- name: SE_NODE_SESSION_TIMEOUT | ||
value: "300" | ||
- name: SE_VNC_NO_PASSWORD | ||
value: "true" | ||
- name: SE_OPTS | ||
value: "--enable-managed-downloads true" | ||
startupProbe: &nodeStartupProbe | ||
httpGet: | ||
path: /status | ||
port: 5555 | ||
failureThreshold: 120 | ||
periodSeconds: 1 | ||
|
||
firefoxNode: | ||
extraEnvironmentVariables: *extraEnvironmentVariablesNodes | ||
startupProbe: *nodeStartupProbe | ||
|
||
edgeNode: | ||
extraEnvironmentVariables: *extraEnvironmentVariablesNodes | ||
startupProbe: *nodeStartupProbe | ||
|
||
videoRecorder: | ||
enabled: false | ||
|
||
ingress-nginx: | ||
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters