-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Hello, since we updated to v0.1.6, intermittently, runners have been deploying with the JIT_CONFIG_ENABLED environment variable set to false.
I believe this flag is true by default. I've been looking through the code and I cannot find anywhere that it gets disabled other than if you purposely set DisableJITConfig in the provider or if the provider is nil.
https://github.com/cloudbase/garm/blob/release/v0.1/runner/providers/v0.1.1/external.go#L381
Any ideas?
Here is my current provider config:
[[provider]]
name = "k8s-garm"
description = "K8s garm provider"
provider_type = "external"
[provider.external]
config_file = "/tmp/garm/providers.d/k8s/garm.yaml"
provider_executable = "/tmp/garm/providers.d/k8s/garm-provider-k8s"
environment_variables = ["KUBERNETES_"]
and here is the external provider config
kubeConfigPath: ""
runnerNamespace: "<namespace>"
flavors:
nano:
requests:
cpu: 63m
ephemeral-storage: 20Gi
memory: 512Mi
limits:
ephemeral-storage: 20Gi
memory: 512Mi
tiny:
requests:
cpu: 125m
ephemeral-storage: 20Gi
memory: 1023Mi
limits:
ephemeral-storage: 20Gi
memory: 1024Mi
small:
requests:
cpu: 250m
ephemeral-storage: 20Gi
memory: 2047Mi
limits:
ephemeral-storage: 20Gi
memory: 2048Mi
medium:
requests:
cpu: 500m
ephemeral-storage: 20Gi
memory: 4095Mi
limits:
ephemeral-storage: 20Gi
memory: 4096Mi
large:
requests:
cpu: 1000m
ephemeral-storage: 20Gi
memory: 8191Mi
limits:
ephemeral-storage: 20Gi
memory: 8192Mi
xlarge:
requests:
cpu: 2000m
ephemeral-storage: 40Gi
memory: 16383Mi
limits:
ephemeral-storage: 40Gi
memory: 16384Mi
podTemplate:
spec:
terminationGracePeriodSeconds: 120
securityContext:
fsGroup: 1001
fsGroupChangePolicy: OnRootMismatch
containers:
- name: runner
env:
- name: HOSTNAME_LIST
value: gcr.io,us-docker.pkg.dev
- name: ACTIONS_RUNNER_CONTAINER_HOOKS
value: /home/runner/k8s/index.js
- name: ACTIONS_RUNNER_REQUIRE_JOB_CONTAINER
value: "false"
- name: ACTIONS_RUNNER_CONTAINER_HOOK_TEMPLATE
value: /home/runner/k8s/job-template.yaml
- name: ACTIONS_RUNNER_POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: NODE_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
- name: ACTIONS_RUNNER_HOOK_JOB_STARTED
value: /home/runner/k8s/pre-job-hook.sh
volumeMounts:
- mountPath: /runner/_work
name: work
volumes:
- name: work
ephemeral:
volumeClaimTemplate:
metadata:
creationTimestamp: null
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
storageClassName: standard-rwo
volumeMode: Filesystem
Metadata
Metadata
Assignees
Labels
No labels