Skip to content

Instantly share code, notes, and snippets.

@jzucker2
Created January 16, 2018 03:03
Show Gist options
  • Save jzucker2/37c645885197bca9d61875318437637a to your computer and use it in GitHub Desktop.
Save jzucker2/37c645885197bca9d61875318437637a to your computer and use it in GitHub Desktop.
jordan@jordan-zucker:~/Coding/caravan (master $% u=)$ k describe pod jordandag3runthis1-8df809f80c874d6ca50acb0d0480307c
Name:         jordandag3runthis1-8df809f80c874d6ca50acb0d0480307c
Namespace:    default
Node:         minikube/192.168.99.100
Start Time:   Mon, 15 Jan 2018 11:59:57 -0800
Labels:       airflow-slave=
              dag_id=jordan_dag_3
              execution_date=2018-01-15T19_59_54.838835
              task_id=run_this_1
Annotations:  pod.alpha.kubernetes.io/init-container-statuses=[{"name":"git-sync-clone","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2018-01-15T19:59:58Z","finishedAt":"2018-01-15T19:59:59Z...
              pod.alpha.kubernetes.io/init-containers=[{"name":"git-sync-clone","image":"gcr.io/google-containers/git-sync-amd64:v2.0.5","env":[{"name":"GIT_SYNC_REPO","value":"<git repo>...
              pod.beta.kubernetes.io/init-container-statuses=[{"name":"git-sync-clone","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2018-01-15T19:59:58Z","finishedAt":"2018-01-15T19:59:59Z"...
              pod.beta.kubernetes.io/init-containers=[{"name":"git-sync-clone","image":"gcr.io/google-containers/git-sync-amd64:v2.0.5","env":[{"name":"GIT_SYNC_REPO","value":"https://github.com/pubnub/caravan.git"...
Status:       Failed
IP:           
Init Containers:
  git-sync-clone:
    Container ID:   docker://c3dcc435d18362271fe5ab8098275d082c01ab36fc451d695e6e0e54ad71132a
    Image:          gcr.io/google-containers/git-sync-amd64:v2.0.5
    Image ID:       docker-pullable://gcr.io/google-containers/git-sync-amd64@sha256:904833aedf3f14373e73296240ed44d54aecd4c02367b004452dfeca2465e5bf
    Port:           <none>
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Mon, 15 Jan 2018 11:59:58 -0800
      Finished:     Mon, 15 Jan 2018 11:59:59 -0800
    Ready:          True
    Restart Count:  0
    Environment:
      GIT_SYNC_REPO:      <git repo>
      GIT_SYNC_BRANCH:    master
      GIT_SYNC_ROOT:      /tmp
      GIT_SYNC_DEST:      dags
      GIT_SYNC_ONE_TIME:  true
      GIT_SYNC_USERNAME:  jzucker2
      GIT_SYNC_PASSWORD:  <git password>
    Mounts:
      /root/airflow/airflow.cfg from airflow-config (ro)
      /root/airflow/dags/ from airflow-dags (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-0bq1k (ro)
Containers:
  base:
    Container ID:  <container id>
    Image:         <image>
    Image ID:      <image id>
    Port:          <none>
    Command:
      bash
      -cx
      --
    Args:
      airflow run jordan_dag_3 run_this_1 2018-01-15T19:59:54.838835 --local -sd /root/airflow/dags/jordan3.py
    State:          Terminated
      Reason:       Error
      Exit Code:    1
      Started:      Mon, 15 Jan 2018 12:00:00 -0800
      Finished:     Mon, 15 Jan 2018 12:00:01 -0800
    Ready:          False
    Restart Count:  0
    Environment:
      AIRFLOW__CORE__AIRFLOW_HOME:   /root/airflow
      AIRFLOW__CORE__EXECUTOR:       LocalExecutor
      AIRFLOW__CORE__DAGS_FOLDER:    /tmp/dags
      SQL_ALCHEMY_CONN:              <set to the key 'sql_alchemy_conn' in secret 'airflow-secrets'>      Optional: false
      GIT_SYNC_USERNAME:             <set to the key 'username' in secret 'gitsecret'>                    Optional: false
      GIT_SYNC_PASSWORD:             <set to the key 'password' in secret 'gitsecret'>                    Optional: false
      AIRFLOW_CONN_PORTAL_DB_URI:    <set to the key 'portal_mysql_conn' in secret 'portaldbsecret'>      Optional: false
      AIRFLOW_CONN_OVERMIND_DB_URI:  <set to the key 'overmind_mysql_conn' in secret 'overminddbsecret'>  Optional: false
    Mounts:
      /root/airflow/airflow.cfg from airflow-config (ro)
      /root/airflow/dags/ from airflow-dags (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-0bq1k (ro)
Conditions:
  Type           Status
  Initialized    True 
  Ready          False 
  PodScheduled   True 
Volumes:
  airflow-dags:
    Type:    EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:  
  airflow-config:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      airflow-configmap
    Optional:  false
  default-token-0bq1k:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-0bq1k
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     <none>
Events:
  Type    Reason                 Age   From               Message
  ----    ------                 ----  ----               -------
  Normal  Scheduled              3m    default-scheduler  Successfully assigned jordandag3runthis1-8df809f80c874d6ca50acb0d0480307c to minikube
  Normal  SuccessfulMountVolume  3m    kubelet, minikube  MountVolume.SetUp succeeded for volume "airflow-dags"
  Normal  SuccessfulMountVolume  3m    kubelet, minikube  MountVolume.SetUp succeeded for volume "airflow-config"
  Normal  SuccessfulMountVolume  3m    kubelet, minikube  MountVolume.SetUp succeeded for volume "default-token-0bq1k"
  Normal  Pulled                 3m    kubelet, minikube  Container image "gcr.io/google-containers/git-sync-amd64:v2.0.5" already present on machine
  Normal  Created                3m    kubelet, minikube  Created container
  Normal  Started                3m    kubelet, minikube  Started container
  Normal  Pulled                 3m    kubelet, minikube  Container image "artifactnub1-docker-local.jfrog.io/pubnub/pnairflow:0.1.6" already present on machine
  Normal  Created                3m    kubelet, minikube  Created container
  Normal  Started                3m    kubelet, minikube  Started container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment