Skip to content

Merge helm charts#80

Merged
findingrish merged 14 commits into
mainfrom
merge-helm-charts
Nov 6, 2021
Merged

Merge helm charts#80
findingrish merged 14 commits into
mainfrom
merge-helm-charts

Conversation

@findingrish
Copy link
Copy Markdown
Collaborator

@findingrish findingrish commented Nov 5, 2021

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 5, 2021

Codecov Report

Merging #80 (bd8a2ee) into main (38be4c8) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main      #80   +/-   ##
=========================================
  Coverage     70.59%   70.59%           
  Complexity      154      154           
=========================================
  Files            29       29           
  Lines          1146     1146           
  Branches         57       57           
=========================================
  Hits            809      809           
  Misses          285      285           
  Partials         52       52           
Flag Coverage Δ
integration 70.59% <ø> (ø)
unit 56.32% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 38be4c8...bd8a2ee. Read the comment docs.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Comment thread .github/workflows/helm.sh Outdated

SUB_PROJECTS_DIRS="./hypertrace-alert-engine ./metric-anomaly-task-manager"

subcommand=$1; shift
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done

@@ -0,0 +1,7 @@
{{- define "metricanomalydetector.image" -}}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

could probably share this if you wanted to, same logic as earlier.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

done

@@ -65,7 +65,7 @@ spec:
- name: LOG4J_CONFIGURATION_FILE
value: "/var/{{ .Chart.Name }}/log/log4j2.properties"
- name: JAVA_TOOL_OPTIONS
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

initialDelaySeconds: {{ int .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ int .Values.livenessProbe.periodSeconds }}
initialDelaySeconds: {{ int .Values.metricAnomalyTaskManagerConfig.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ int .Values.metricAnomalyTaskManagerConfig.livenessProbe.periodSeconds }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is outside the scope of this PR, but switching to real probes rather than these TCP probes is something we should work to do on any new service. Series of PRs where I added to attribute service:
hypertrace/attribute-service#100
hypertrace/attribute-service#101
hypertrace/attribute-service#102

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Comment thread helm/values.yaml Outdated
notificationChannelsConfig:
name: hypertrace-alert-engine-notification-channels-config
channels:
[
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These examples shouldn't be in the values

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

they can be kept empty and finally be overridden by the user?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These are the defaults right? generally, these would be created by users at runtime, not as server config.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

these are default file based rules (have to be passed through helm override)

Comment thread helm/values.yaml Outdated

queryService:
host: query-service
port: 9012
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

values should be based on the standalone ports

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

done

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Copy link
Copy Markdown
Contributor

@aaron-steinfeld aaron-steinfeld left a comment

Choose a reason for hiding this comment

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

Admittedly just did a quick scan, but seems fine. Assuming the configs themselves were previously reviewed.


- name: validate charts
run: ./.github/workflows/helm.sh validate No newline at end of file
args: build -x avroCompatibilityCheck dockerBuildImages No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why is the compatibility check disabled?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Since the avro was not published, will enable.

@findingrish findingrish merged commit 2d50ffd into main Nov 6, 2021
@findingrish findingrish deleted the merge-helm-charts branch November 6, 2021 07:18
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 6, 2021

Unit Test Results

  9 files  ±0    9 suites  ±0   2m 46s ⏱️ +12s
21 tests ±0  19 ✔️ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit 2d50ffd. ± Comparison against base commit 38be4c8.

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