Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring no target pods session timeout #116

Merged
merged 2 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mirrord-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.9.1
version: 1.9.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 4 additions & 0 deletions mirrord-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ spec:
- name: OPERATOR_AGENT_CONNECTION_TLS
value: "true"
{{- end }}
{{- if .Values.operator.noPodTargetsSessionTimeoutMillis }}
- name: OPERATOR_NO_POD_TARGETS_SESSION_TIMEOUT_MILLIS
value: {{ .Values.operator.noPodTargetsSessionTimeoutMillis | quote }}
{{- end }}
envFrom:
- secretRef:
name: {{ .Values.license.file.secret }}
Expand Down
3 changes: 3 additions & 0 deletions mirrord-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ operator:
## Controls how long (in seconds) a session is allowed to live for.
# maxSessionTimeSeconds: 3600

## Controls how long (in milliseconds) a session can live when there are no pods ready to be targeted.
# noPodTargetsSessionTimeoutMillis: 6000

## This should be enough for around 200~ concurrent sessions.
limits:
cpu: 200m
Expand Down
Loading