|
| 1 | +# README: This is a sample values for chart deployment in EKS AWS |
| 2 | +# Chart dependency ingress-nginx is installed together by enabling `ingress-nginx.enabled`. On AWS, ingress-nginx is installed as a Classic LoadBalancer |
| 3 | +# Chart dependency keda is installed together by enabling `autoscaling.enable` |
| 4 | +# Enabled ingress with hostname, set the subPath `/selenium`. Grid is accessible via http://my.hostname/selenium |
| 5 | +# 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>` |
| 6 | +global: |
| 7 | + K8S_PUBLIC_IP: "" |
| 8 | + seleniumGrid: |
| 9 | + logLevel: INFO # Change to FINE when you want to debug the issue |
| 10 | + |
| 11 | +ingress: |
| 12 | + enabled: true |
| 13 | + annotations: |
| 14 | + kubernetes.io/ingress.class: nginx |
| 15 | + nginx.ingress.kubernetes.io/use-regex: "true" |
| 16 | + nginx.ingress.kubernetes.io/rewrite-target: /$2 |
| 17 | + nginx.ingress.kubernetes.io/app-root: &gridAppRoot "/selenium" |
| 18 | + ingressClassName: nginx |
| 19 | + hostname: "aws.ndviet.org" # Replace with your hostname |
| 20 | + paths: |
| 21 | + - path: /selenium(/|$)(.*) |
| 22 | + pathType: ImplementationSpecific |
| 23 | + backend: |
| 24 | + service: |
| 25 | + name: '{{ template "seleniumGrid.router.fullname" $ }}' |
| 26 | + port: |
| 27 | + number: 4444 |
| 28 | + |
| 29 | +basicAuth: |
| 30 | + enabled: false |
| 31 | + |
| 32 | +isolateComponents: true |
| 33 | + |
| 34 | +autoscaling: |
| 35 | + enabled: true |
| 36 | + scalingType: job |
| 37 | + annotations: |
| 38 | + helm.sh/hook: post-install,post-upgrade,post-rollback |
| 39 | + scaledOptions: |
| 40 | + minReplicaCount: 0 |
| 41 | + maxReplicaCount: 8 |
| 42 | + pollingInterval: 15 |
| 43 | + scaledJobOptions: |
| 44 | + successfulJobsHistoryLimit: 0 |
| 45 | + failedJobsHistoryLimit: 5 |
| 46 | + scalingStrategy: |
| 47 | + strategy: default |
| 48 | + |
| 49 | +hub: |
| 50 | + subPath: *gridAppRoot |
| 51 | + |
| 52 | +components: |
| 53 | + subPath: *gridAppRoot |
| 54 | + |
| 55 | +chromeNode: |
| 56 | + extraEnvironmentVariables: &extraEnvironmentVariablesNodes |
| 57 | + - name: SE_NODE_SESSION_TIMEOUT |
| 58 | + value: "300" |
| 59 | + - name: SE_VNC_NO_PASSWORD |
| 60 | + value: "true" |
| 61 | + - name: SE_OPTS |
| 62 | + value: "--enable-managed-downloads true" |
| 63 | + startupProbe: &nodeStartupProbe |
| 64 | + httpGet: |
| 65 | + path: /status |
| 66 | + port: 5555 |
| 67 | + failureThreshold: 120 |
| 68 | + periodSeconds: 1 |
| 69 | + |
| 70 | +firefoxNode: |
| 71 | + extraEnvironmentVariables: *extraEnvironmentVariablesNodes |
| 72 | + startupProbe: *nodeStartupProbe |
| 73 | + |
| 74 | +edgeNode: |
| 75 | + extraEnvironmentVariables: *extraEnvironmentVariablesNodes |
| 76 | + startupProbe: *nodeStartupProbe |
| 77 | + |
| 78 | +videoRecorder: |
| 79 | + enabled: false |
| 80 | + |
| 81 | +ingress-nginx: |
| 82 | + enabled: true |
0 commit comments