fix?
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2024-07-20 14:01:02 -04:00
parent c0ab1d816a
commit 28b72d552b

View File

@ -420,10 +420,10 @@ resource "kubernetes_deployment" "main" {
{% endblock %}
{% block kubernetes_pod_main_tolerations %}
dynamic "gpu_toleration" {
dynamic "toleration" {
for_each = data.coder_parameter.gpu.value == 0 ? [] : [1]
toleration {
content {
key = "nvidia.com/gpu"
operator = "Exists"
effect = "NoSchedule"