Differential D4920 Diff 24619 integration_tests/python_modules/dagster-k8s-test-infra/dagster_k8s_test_infra/helm.py
Changeset View
Changeset View
Standalone View
Standalone View
integration_tests/python_modules/dagster-k8s-test-infra/dagster_k8s_test_infra/helm.py
Show First 20 Lines • Show All 278 Lines • ▼ Show 20 Lines | helm_config = { | ||||
"livenessProbe": { | "livenessProbe": { | ||||
"initialDelaySeconds": 15, | "initialDelaySeconds": 15, | ||||
"periodSeconds": 10, | "periodSeconds": 10, | ||||
"timeoutSeconds": 10, | "timeoutSeconds": 10, | ||||
"successThreshold": 1, | "successThreshold": 1, | ||||
"failureThreshold": 3, | "failureThreshold": 3, | ||||
}, | }, | ||||
}, | }, | ||||
"scheduler": {"k8sEnabled": "true", "schedulerNamespace": namespace}, | "scheduler": { | ||||
"type": "K8sScheduler", | |||||
"config": {"K8sScheduler": {"schedulerNamespace": namespace}}, | |||||
}, | |||||
"serviceAccount": {"name": "dagit-admin"}, | "serviceAccount": {"name": "dagit-admin"}, | ||||
"postgresqlPassword": "test", | "postgresqlPassword": "test", | ||||
"postgresqlDatabase": "test", | "postgresqlDatabase": "test", | ||||
"postgresqlUser": "test", | "postgresqlUser": "test", | ||||
} | } | ||||
with _helm_chart_helper(namespace, should_cleanup, helm_config): | with _helm_chart_helper(namespace, should_cleanup, helm_config): | ||||
yield | yield | ||||
Show All 21 Lines | helm_config = { | ||||
"startupProbe": { | "startupProbe": { | ||||
"tcpSocket": {"port": "http"}, | "tcpSocket": {"port": "http"}, | ||||
"failureThreshold": 6, | "failureThreshold": 6, | ||||
"periodSeconds": 10, | "periodSeconds": 10, | ||||
}, | }, | ||||
}, | }, | ||||
"celery": {"enabled": False}, | "celery": {"enabled": False}, | ||||
"k8sRunLauncher": {"enabled": True, "jobNamespace": namespace}, | "k8sRunLauncher": {"enabled": True, "jobNamespace": namespace}, | ||||
"scheduler": {"k8sEnabled": "true", "schedulerNamespace": namespace}, | "scheduler": { | ||||
"type": "K8sScheduler", | |||||
"config": {"K8sScheduler": {"schedulerNamespace": namespace}}, | |||||
}, | |||||
"serviceAccount": {"name": "dagit-admin"}, | "serviceAccount": {"name": "dagit-admin"}, | ||||
"postgresqlPassword": "test", | "postgresqlPassword": "test", | ||||
"postgresqlDatabase": "test", | "postgresqlDatabase": "test", | ||||
"postgresqlUser": "test", | "postgresqlUser": "test", | ||||
} | } | ||||
with _helm_chart_helper(namespace, should_cleanup, helm_config): | with _helm_chart_helper(namespace, should_cleanup, helm_config): | ||||
yield | yield | ||||
▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | helm_config = { | ||||
"successThreshold": 1, | "successThreshold": 1, | ||||
"failureThreshold": 3, | "failureThreshold": 3, | ||||
}, | }, | ||||
"configSource": { | "configSource": { | ||||
"broker_transport_options": {"priority_steps": [9]}, | "broker_transport_options": {"priority_steps": [9]}, | ||||
"worker_concurrency": 1, | "worker_concurrency": 1, | ||||
}, | }, | ||||
}, | }, | ||||
"scheduler": {"k8sEnabled": "true", "schedulerNamespace": namespace}, | "scheduler": { | ||||
"type": "K8sScheduler", | |||||
"config": {"K8sScheduler": {"schedulerNamespace": namespace}}, | |||||
}, | |||||
"serviceAccount": {"name": "dagit-admin"}, | "serviceAccount": {"name": "dagit-admin"}, | ||||
"postgresqlPassword": "test", | "postgresqlPassword": "test", | ||||
"postgresqlDatabase": "test", | "postgresqlDatabase": "test", | ||||
"postgresqlUser": "test", | "postgresqlUser": "test", | ||||
} | } | ||||
with _helm_chart_helper(namespace, should_cleanup, helm_config): | with _helm_chart_helper(namespace, should_cleanup, helm_config): | ||||
yield | yield |