Skip to content

Commit

Permalink
Switch enabler agentservices (#31)
Browse files Browse the repository at this point in the history
* switch to enable/disable agentservices

* bump up version
  • Loading branch information
Valeriano Manassero authored Sep 21, 2021
1 parent d3f6f3e commit b7f73e3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/clearml/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: clearml
description: MLOps platform
type: application
version: "3.0.3"
version: "3.0.4"
appVersion: "1.1.1"
home: https://clear.ml
icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg
Expand Down
3 changes: 2 additions & 1 deletion charts/clearml/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ClearML Ecosystem for Kubernetes

![Version: 3.0.3](https://img.shields.io/badge/Version-3.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.1](https://img.shields.io/badge/AppVersion-1.1.1-informational?style=flat-square)
![Version: 3.0.4](https://img.shields.io/badge/Version-3.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.1](https://img.shields.io/badge/AppVersion-1.1.1-informational?style=flat-square)

MLOps platform

Expand Down Expand Up @@ -170,6 +170,7 @@ For detailed instructions, see the [Optional Configuration](https://github.com/a
| agentservices.clearmlHostIp | string | `nil` | |
| agentservices.clearmlWebHost | string | `nil` | |
| agentservices.clearmlWorkerId | string | `"clearml-services"` | |
| agentservices.enabled | bool | `false` | |
| agentservices.extraEnvs | list | `[]` | |
| agentservices.googleCredentials | string | `nil` | |
| agentservices.image.pullPolicy | string | `"IfNotPresent"` | |
Expand Down
2 changes: 2 additions & 0 deletions charts/clearml/templates/deployment-agentservices.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.agentservices.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -98,3 +99,4 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/clearml/templates/pvc-agentservices.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.agentservices.enabled }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
Expand All @@ -11,3 +12,4 @@ spec:
requests:
storage: {{ .Values.agentservices.storage.data.size | quote }}
storageClassName: {{ .Values.agentservices.storage.data.class | quote }}
{{- end }}
1 change: 1 addition & 0 deletions charts/clearml/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ webserver:
affinity: {}

agentservices:
enabled: false
clearmlHostIp: null
agentVersion: ""
clearmlWebHost: null
Expand Down

0 comments on commit b7f73e3

Please sign in to comment.