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

Feat/one helm deploy #154

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

theoriginmm
Copy link
Contributor

Example of helm charts to deploy all micro-services at once

ashulaev and others added 20 commits December 8, 2022 20:47
…m#28)

* Add category hierarchy response (epam#5)
Co-authored-by: Magic Tears Asunder <The.Magic.Tears.Asunder@protonmail.com>
Co-authored-by: Svetlana Bilevich <svetlana_bilevich@epam.com>
Co-authored-by: theoriginmm <theorigin.mm@gmail.com>
Co-authored-by: Denis Rybakov <minefrs@gmail.com>
Co-authored-by: minev-dev <90937832+minev-dev@users.noreply.github.com>
Co-authored-by: Svetlana Bilevich <69203629+sbilevich@users.noreply.github.com>
Co-authored-by: Kirill Sosnovskiy <Kirill_Sosnovskii@epam.com>
Co-authored-by: Shulaev Andrei <andrei_shulaev@epam.com>
Co-authored-by: Andrey Shulaev <35524482+andrejshulaev@users.noreply.github.com>
Co-authored-by: thinklab <anton_alekseev2@epam.com>
Co-authored-by: Fedor Spiridonov <fedor_spiridonov@epam.com>
CI fix postgres and enable all tests
Co-authored-by: Roman Kuzianov <roman_kuzianov@epam.com>
…_services

fix: fix failing tests for 'annotation'
…by-dataset#59

fix: bug with datasets filters
limits:
memory: "1000Mi"
cpu: "400m"
{{ .Values.resources | default .Values.global.resources | toYaml | indent 10 }}

Choose a reason for hiding this comment

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

I'm confused, what's going on here?
If I define resources in global value file, I will get the same resource value for each app. I would prefere to have the ability to manage resources for each app.
If I don't define resources in global values, I will get resources: null.
Example:

global values.yaml

#  resources: {}
#    requests:
#      memory: "1000Mi"
#      cpu: "000m"
#    limits:
#      memory: "0000Mi"
#      cpu: "000m"

values.yaml

resources:
    requests:
        memory: "200Mi"
        cpu: "200m"
    limits:
        memory: "1000Mi"
        cpu: "400m"

Output:

  - image: "818863528939.dkr.ecr.eu-central-1.amazonaws.com/badgerdoc/users:0.1.2-0d3e100"
       imagePullPolicy: "Always"
       name: users
       resources:
         null
         ```

- name: S3_ENDPOINT_URL
value: "http://minio"
value: "{{ default .Values.global.s3Endpoint .Values.s3Endpoint }}"
{{- if .Values.secret.s3user }}

Choose a reason for hiding this comment

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

What do you mean S3 user?

key: S3_PASS
key: S3_PASS
{{- end }}
{{- if .Values.extraEnvs }}

Choose a reason for hiding this comment

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

The annotation service has S3_PREFIX property.
Did you miss that or do we need to configure via extraEnvs?

Choose a reason for hiding this comment

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

Also. I think extraEnvs should be accessable from global values.

{{- if .Values.secret.s3password }}
S3_PASS: {{ .Values.secret.s3password | b64enc }}
{{- end }}
{{- end }}

Choose a reason for hiding this comment

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

Pls add newline at the end of the file.

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

9 participants