mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-04-17 01:31:13 +00:00
updated yaml resources accordingly to yamllint
This commit is contained in:
parent
83bf7b556c
commit
dc9e54231b
@ -4,11 +4,11 @@ metadata:
|
||||
spec:
|
||||
# runtimeClassName: nvidia
|
||||
containers:
|
||||
- resources:
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 4Gi
|
||||
requests:
|
||||
cpu: 1
|
||||
memory: 4Gi
|
||||
- resources:
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 4Gi
|
||||
requests:
|
||||
cpu: 1
|
||||
memory: 4Gi
|
||||
restartPolicy: Never
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "clearml-agent.fullname" . }}-clearml-conf
|
||||
name: "{{ include "clearml-agent.fullname" . }}-clearml-conf"
|
||||
labels:
|
||||
{{- include "clearml-agent.labels" . | nindent 4 }}
|
||||
data:
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
@ -5,4 +6,4 @@ metadata:
|
||||
labels:
|
||||
{{- include "clearml-agent.labels" . | nindent 4 }}
|
||||
data:
|
||||
{{ (.Files.Glob "files/*").AsConfig | indent 2 }}
|
||||
{{ (.Files.Glob "files/*").AsConfig | indent 2 }}
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@ -149,4 +150,4 @@ spec:
|
||||
name: {{ include "clearml-agent.fullname" . }}-clearml-conf
|
||||
items:
|
||||
- key: clearml.conf
|
||||
path: clearml.conf
|
||||
path: clearml.conf
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
{{- if .Values.rbac.create -}}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
@ -7,7 +8,7 @@ metadata:
|
||||
name: {{ include "clearml-agent.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["pods"]
|
||||
verbs: ["*"]
|
||||
{{- end }}
|
||||
- apiGroups: [""]
|
||||
resources: ["pods"]
|
||||
verbs: ["*"]
|
||||
{{- end }}
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
{{- if .Values.rbac.create -}}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
@ -14,4 +15,4 @@ subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ include "clearml-agent.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
@ -7,4 +8,4 @@ metadata:
|
||||
type: Opaque
|
||||
data:
|
||||
api-access-key: "{{ required "A .Values.apiAccessKey entry required!" .Values.apiAccessKey | b64enc }}"
|
||||
api-secret-key: "{{ required "A .Values.apiSecretKey entry required!" .Values.apiSecretKey | b64enc }}"
|
||||
api-secret-key: "{{ required "A .Values.apiSecretKey entry required!" .Values.apiSecretKey | b64enc }}"
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
{{- if .Values.serviceAccount.create -}}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
---
|
||||
# Default values for clearml-agent.
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
@ -31,9 +32,9 @@ args:
|
||||
|
||||
env:
|
||||
PYTHONUNBUFFERED: "1"
|
||||
CLEARML_API_HOST: "" # "http://10.0.0.10:8008"
|
||||
CLEARML_WEB_HOST: "" # "http://10.0.0.10:8080"
|
||||
CLEARML_FILES_HOST: "" # "http://10.0.0.10:8081"
|
||||
CLEARML_API_HOST: "" # "http://10.0.0.10:8008"
|
||||
CLEARML_WEB_HOST: "" # "http://10.0.0.10:8080"
|
||||
CLEARML_FILES_HOST: "" # "http://10.0.0.10:8081"
|
||||
K8S_GLUE_MAX_PODS: "2"
|
||||
K8S_GLUE_QUEUE: "k8s-queus"
|
||||
K8S_GLUE_TEMPLATE_YAML: "/config/pod-template.yaml"
|
||||
@ -58,36 +59,41 @@ serviceAccount:
|
||||
# Annotations to add to the service account
|
||||
annotations: {}
|
||||
# The name of the service account to use.
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
# If not set and create is true,
|
||||
# a name is generated using the fullname template
|
||||
name: ""
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 2000
|
||||
# fsGroup: 2000
|
||||
|
||||
securityContext: {}
|
||||
# capabilities:
|
||||
# drop:
|
||||
# - ALL
|
||||
# readOnlyRootFilesystem: true
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
# capabilities:
|
||||
# drop:
|
||||
# - ALL
|
||||
# readOnlyRootFilesystem: true
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
|
||||
resources:
|
||||
limits:
|
||||
nvidia.com/gpu: 1
|
||||
nvidia.com/gpu: 1
|
||||
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# We usually recommend not to specify default
|
||||
# resources and to leave this as a conscious
|
||||
# choice for the user. This also increases
|
||||
# chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to
|
||||
# specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove
|
||||
# the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user