Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into main
  • Loading branch information
NishaSharma14 committed Jun 22, 2023
2 parents 48bb1c7 + 7166506 commit e6f0fce
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 1 deletion.
9 changes: 9 additions & 0 deletions charts/cheminfo-microservice/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
dependencies:
- name: grafana
repository: https://charts.bitnami.com/bitnami
version: 8.4.5
- name: prometheus
repository: https://prometheus-community.github.io/helm-charts
version: 22.6.5
digest: sha256:e3c75279030139bf7845f2985c860173d21ae6657aeee299173c5c50bca79e3e
generated: "2023-06-19T12:45:30.954341386Z"
12 changes: 11 additions & 1 deletion charts/cheminfo-microservice/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,20 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.4
version: 0.1.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"

dependencies:
- name: grafana
version: "8.4.5"
repository: "https://charts.bitnami.com/bitnami"
condition: grafana.enabled
- name: prometheus
version: "22.6.5"
repository: "https://prometheus-community.github.io/helm-charts"
condition: prometheus.enabled
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions charts/cheminfo-microservice/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ spec:
- name: http
containerPort: 80
protocol: TCP
readinessProbe:
httpGet:
path: /latest/chem # Path to the health check endpoint
port: 80 # Port where your application is listening
initialDelaySeconds: 40 # Delay before starting the probe
periodSeconds: 60 # How often to perform the probe
failureThreshold: 10
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
37 changes: 37 additions & 0 deletions charts/cheminfo-microservice/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,43 @@ autoscaling:
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80

grafana:
enabled: true
admin:
user: admin
password: cheminfo2023@steinbeck-lab
grafana:
persistence:
enabled: true
storageClass: standard
size: 5Gi
service:
type: LoadBalancer

prometheus:
enabled: true
server:
service:
type: LoadBalancer
global:
## How frequently to scrape targets by default
scrape_interval: 15s
## How long until a scrape request times out
scrape_timeout: 10s
## How frequently to evaluate rules
evaluation_interval: 15s
# adds additional scrape configs to prometheus.yml
# must be a string so you have to add a | after extraScrapeConfigs:
# example adds prometheus-blackbox-exporter scrape config
extraScrapeConfigs: |
- job_name: 'cheminformatics-python-microservice'
scrape_interval: 10s
metrics_path: /metrics
static_configs:
- targets:
- http://your-domain
nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit e6f0fce

Please sign in to comment.