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

Add support of pod annotations for service job #431

Closed
wants to merge 8 commits into from

Conversation

jeenadeepak
Copy link

What was changed

Add support for pod annotations

Istio run with each pod due to which one time job/pod are not successfully terminal, istio is not required here as db schema setup and update are one time job, hence skipping istio by adding addition skip parameter.

Why?

Checklist

  1. Closes
    [Bug] Temporal services are not starting when deployed in istio enabled namespace #353
  2. How was this tested:

I have deployed this on eks with istio enabled namespace, and it is working fine.

  1. Any docs updates needed?

@jeenadeepak jeenadeepak requested review from a team as code owners October 13, 2023 15:07
@jeenadeepak jeenadeepak changed the title Add support of pod annotations for server job Add support of pod annotations for service job Oct 13, 2023
@@ -35,6 +35,10 @@ spec:
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" }}
app.kubernetes.io/component: database
app.kubernetes.io/part-of: {{ .Chart.Name }}
annotations:
{{- with .Values.serviceJob.podAnnotations }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is serviceJob here ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"serviceJob" variable refer to properties of "templates/server-job.yaml" file.

@jeenadeepak jeenadeepak deleted the istio_fix branch February 15, 2024 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants