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

[incubator/monochart] Support multiple cronjobs #180

Merged
merged 10 commits into from Nov 7, 2018
Merged

Conversation

goruha
Copy link
Member

@goruha goruha commented Nov 7, 2018

What

  • Support multiple jobs
  • Support multiple cron jobs
  • Standardize ingress declaration
  • Make service select pods only from Deployment, Deamonset and Statefull Set
  • Made service support multiple ports

Why

  • To have multiple jobs - for example on install\update and on delete
  • To have multiple cron jobs
  • To use the same way declare list of resources
  • To solve problems when Service selects running jobs
  • In case pods need several ports to be listen

@osterman osterman changed the title Pin new version [incubator/monochart] Support multiple cronjobs Nov 7, 2018
@goruha goruha merged commit b63b17a into master Nov 7, 2018
@goruha goruha deleted the monochart-v3 branch November 7, 2018 13:16
{{- if .Values.job -}}
{{- if .Values.job.enabled -}}
{{- $root := . -}}
{{- range $name, $job := .Values.job -}}
Copy link
Member

Choose a reason for hiding this comment

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

this should be .Values.jobs for consistency with the other "plural" types.

## Read more about kube2iam to provide access to s3 https://github.com/jtblin/kube2iam
# iam.amazonaws.com/role: role-arn
labels: {}
args: []

cronjob:
Copy link
Member

Choose a reason for hiding this comment

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

this should be cronjobs since it's now plural.

@@ -107,43 +107,47 @@ daemonset:
args: []

job:
Copy link
Member

Choose a reason for hiding this comment

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

this should be jobs since it's now plural

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.

None yet

2 participants