Solaris Wang
04/13/2022, 5:22 PMjohann
04/13/2022, 5:45 PMSolaris Wang
04/13/2022, 6:16 PMjohann
04/13/2022, 6:34 PMdagster-run
K8s Jobs are only created when Dagster launches runs, and it doesn’t do that on startupSolaris Wang
04/13/2022, 6:53 PMjohann
04/13/2022, 7:08 PMSolaris Wang
04/13/2022, 7:17 PMbusybox:
image:
pullPolicy: IfNotPresent
repository: <http://docker.io/busybox|docker.io/busybox>
tag: "1.28"
computeLogManager:
config: {}
type: NoOpComputeLogManager
dagit:
dbStatementTimeout: null
enableReadOnly: false
image:
pullPolicy: Always
repository: <http://docker.io/dagster/dagster-celery-k8s|docker.io/dagster/dagster-celery-k8s>
tag: null
livenessProbe: {}
readinessProbe:
failureThreshold: 3
httpGet:
path: /dagit_info
port: 80
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 3
replicaCount: 1
service:
annotations:
<http://cloud.google.com/backend-config|cloud.google.com/backend-config>: '{"default": "backend-config-default"}'
port: 80
type: ClusterIP
startupProbe:
enabled: false
workspace:
enabled: true
servers:
- host: dmg
port: 3030
- host: dbt
port: 3030
dagster-user-deployments:
enableSubchart: false
enabled: true
dagsterDaemon:
enabled: true
heartbeatTolerance: 300
image:
pullPolicy: Always
repository: <http://docker.io/dagster/dagster-celery-k8s|docker.io/dagster/dagster-celery-k8s>
tag: null
livenessProbe: {}
readinessProbe: {}
runCoordinator:
config:
queuedRunCoordinator:
dequeueIntervalSeconds: null
maxConcurrentRuns: null
tagConcurrencyLimits: []
enabled: false
type: QueuedRunCoordinator
runMonitoring:
enabled: true
pollIntervalSeconds: 120
startTimeoutSeconds: 360
startupProbe: {}
generatePostgresqlPasswordSecret: true
global:
dagsterHome: /opt/dagster/dagster_home
postgresqlSecretName: dagster-postgresql-secret
helm:
versions: null
postgresql:
enabled: true
image:
pullPolicy: IfNotPresent
repository: library/postgres
tag: 9.6.21
postgresqlDatabase: test
postgresqlHost: ""
postgresqlParams: {}
postgresqlPassword: test
postgresqlUsername: test
service:
port: 5432
rbacEnabled: true
runLauncher:
config:
k8sRunLauncher:
imagePullPolicy: Always
loadInclusterConfig: true
volumeMounts:
- mountPath: /dmg-secrets/google
name: keyjson-repo-dmg
readOnly: true
volumes:
- name: keyjson-repo-dmg
secret:
secretName: tf-svc-dagster-repo-dmg
type: K8sRunLauncher
scheduler:
type: DagsterDaemonScheduler
serviceAccount:
create: true
telemetry:
enabled: false
USER-SUPPLIED VALUES:
celeryConfigSecretName: dagster-celery-config-secret
dagsterHome: /opt/dagster/dagster_home
deployments:
- dagsterApiGrpcArgs:
- --python-file
- /mixer/dagster/workspace_cbh/repo_dmg/repo.py
- --working-directory
- /mixer/dagster/workspace_cbh/repo_dmg/
image:
pullPolicy: Always
repository: ***
tag: v1
name: dmg
port: 3030
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 3
- dagsterApiGrpcArgs:
- --python-file
- /mixer/dagster/workspace_cbh/repo_dbt/repo.py
- --working-directory
- /mixer/dagster/workspace_cbh/repo_dbt/
image:
pullPolicy: Always
repository: ***
tag: latest
name: dbt
port: 3030
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 3
helm:
versions: null
postgresqlSecretName: dagster-postgresql-secret
daniel
04/13/2022, 7:24 PMjohann
04/13/2022, 7:27 PMSolaris Wang
04/13/2022, 7:39 PMid:940053e8-9216-4616-a997-92e25ab6110d
corresponding to one of those mysterious pods), doensn’t show up in dagit. i ran an ad hoc job and it worked like usual, and it shows up in the run logs as usual as well.
these weird pods are in perpetual containercreating
, here’s a comparison between my completed well-behaved job on the left vs. one of the problem jobs on the right:daniel
04/13/2022, 7:40 PMSolaris Wang
04/13/2022, 7:42 PMkubectl delete jobs --all
aaaannnnd i’m not getting the issue anymore. i did not know about k8 jobs! wow, you guys fix everything. must’ve gotten rid of the ghostliest of jobs. think we’re going to have to bake some cleanup scripts into our devops. thank you for handing me the hammer, it’s been catharticdaniel
04/13/2022, 8:08 PM