Skip to content

HPCC-34140 Avoid roxie-workunit pod restarts for target changes #19881

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

Draft
wants to merge 1 commit into
base: candidate-9.12.x
Choose a base branch
from
Draft
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
10 changes: 5 additions & 5 deletions helm/hpcc/templates/eclagent.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{/*

--- DO NOT EDIT THIS FILE - all configuration of HPCC platform should be done via values.yaml ----

##############################################################################

HPCC SYSTEMS software Copyright (C) 2021 HPCC Systems®.
Expand All @@ -17,7 +17,7 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

##############################################################################

*/}}
Expand Down Expand Up @@ -74,7 +74,7 @@ data:
serviceAccountName: "hpcc-agent"
{{- if $misc.postJobCommandViaSidecar }}
shareProcessNamespace: true
{{- end }}
{{- end }}
terminationGracePeriodSeconds: {{ .terminationGracePeriodSeconds | default 600 }}
initContainers:
{{- include "hpcc.createConfigInitContainers" . | indent 10 }}
Expand Down Expand Up @@ -124,7 +124,7 @@ data:
{{- $enginePlaneDetails := dict -}}
{{- $_ := include "hpcc.getEnginePlanes" (dict "root" $ "me" . "result" $enginePlaneDetails) -}}
{{- $commonCtx := dict "root" $ "me" . "secretsCategories" $secretsCategories "includeCategories" $enginePlaneDetails.planeCategories "includeNames" $enginePlaneDetails.namedPlanes "env" $env }}
{{- $configSHA := include "hpcc.getConfigSHA" ($commonCtx | merge (dict "configMapHelper" "hpcc.agentConfigMap" "component" "eclagent" "excludeKeys" "global" "lifeCycleCtx" (dict "containers" list))) }}
{{- $configSHA := include "hpcc.getConfigSHA" ($commonCtx | merge (dict "configMapHelper" "hpcc.agentConfigMap" "component" "eclagent" "excludeKeys" "global,roxie::queues" "lifeCycleCtx" (dict "containers" list))) }}
{{- $_ := set $commonCtx "lifeCycleCtx" (dict "containers" list) -}}
{{- include "hpcc.checkDefaultStoragePlane" $commonCtx }}
apiVersion: apps/v1
Expand Down Expand Up @@ -192,7 +192,7 @@ spec:
{{- include "hpcc.addHorizontalPodAutoscaler" (dict "name" .name "kind" "Deployment" "hpa" .hpa) }}
{{- end }}
---
kind: ConfigMap
kind: ConfigMap
{{ include "hpcc.generateConfig" ((omit $commonCtx "lifeCycleCtx") | merge (dict "configMapHelper" "hpcc.agentConfigMap" "lifeCycleCtx" (dict "containers" list))) }}
---
{{ include "hpcc.addCertificate" (dict "root" $ "name" .name "component" $apptype "includeRemote" true) }}
Expand Down
Loading