Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Kubernetes Executor: worker pods are not executing #71

Open
jcunhasilva opened this issue Feb 11, 2019 · 4 comments
Open

Kubernetes Executor: worker pods are not executing #71

jcunhasilva opened this issue Feb 11, 2019 · 4 comments

Comments

@jcunhasilva
Copy link
Contributor

I was testing the fixes made here: #31

Although Git authentication is working now, I am still not able to run our workers using the Kubernetes executor.

When the worker pod is launched no work is done, or at least the scheduler doesn't get any feedback and the UI doesn't display any execution updates regarding the DAG run.

@barney-s
Copy link
Contributor

barney-s commented Feb 11, 2019

Since i dont know what DAGs you are running can you try this ?

Set these to false:
https://github.com/GoogleCloudPlatform/airflow-operator/blob/master/templates/airflow-configmap.yaml#L172
https://github.com/GoogleCloudPlatform/airflow-operator/blob/master/pkg/apis/airflow/v1alpha1/airflow.go#L194

Try running again and look at the logs from the worker pods.
You would need to list completed pods too.

@jcunhasilva
Copy link
Contributor Author

@barney-s we still have the git authentication issue initialising the worker pods. Git credentials are not available:

  initContainers:
  - env:
    - name: GIT_SYNC_REPO
      value: https://github.com/MyOrg/my-repo.git
    - name: GIT_SYNC_BRANCH
      value: development
    - name: GIT_SYNC_ROOT
      value: /git
    - name: GIT_SYNC_DEST
      value: gitdags
    - name: GIT_SYNC_DEPTH
      value: "1"
    - name: GIT_SYNC_ONE_TIME
      value: "true"
    image: gcr.io/google-containers/git-sync-amd64:v2.0.5

@barney-s
Copy link
Contributor

Sent a patch. Could you please test if it works ?

@barney-s
Copy link
Contributor

Potential fix here: barney-s@5bc91cc

Would you be able to verify/use this ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants