Jafar A
03/02/2023, 8:33 PMprefect deployment build flows/main.py:ingest_everflow \-n prefect-k8s-example -q k8s \-sb s3/s3-everflow/ef_testing/docker-k8s-image \-ib kubernetes-job/prefect-k8s-example \--apply14:40:49.825 | INFO    | prefect.agent - Submitting flow run '99f81791-abda-488f-802e-d949535cb351'
/Users/jafaramin_1/env/lib/python3.10/site-packages/prefect/agent.py:216: UserWarning: Block document has schema checksum sha256:1a553852c1bcc9cd95645917bdbaaae9e28cbcc1270ff5b43b45bbd87564f5cc which does not match the schema checksum for class 'KubernetesJob'. This indicates the schema has changed and this block may not load.
  infrastructure_block = Block._from_block_document(infra_document)
14:40:50.538 | INFO    | prefect.agent - Completed submission of flow run '99f81791-abda-488f-802e-d949535cb351'
14:40:50.546 | DEBUG   | prefect.infrastructure.kubernetes-job - Job 'prefect-k8s-example-mwmgm': Starting watch for pod start...
14:40:50.555 | INFO    | prefect.infrastructure.kubernetes-job - Job 'prefect-k8s-example-mwmgm': Pod has status 'Pending'.
14:40:54.827 | DEBUG   | prefect.agent - Checking for flow runs...
14:40:59.925 | DEBUG   | prefect.agent - Checking for flow runs...
14:42:50.560 | ERROR   | prefect.infrastructure.kubernetes-job - Job 'prefect-k8s-example-mwmgm': Pod never started.Jeff Hale
03/02/2023, 8:45 PM-iprefect block lsJafar A
03/02/2023, 9:10 PMprefect deployment build flows/main.py:ingest_everflow   -n prefect-k8s-example   -q k8s   -sb s3/s3-everflow/ef_testing/docker-k8s-image   -i kubernetes-job --override env.EXTRA_PIP_PACKAGES=s3fs  --applys3/s3-everflowJeff Hale
03/02/2023, 9:17 PMJafar A
03/02/2023, 9:21 PMkubectl get all -ANAMESPACE     NAME                                         READY   STATUS             RESTARTS      AGEdefault       pod/organic-foxhound-xsl22-2tc2s             0/1     Completed          0             15mdefault       pod/prefect-k8s-example-8wn2j-rzj72          0/1     ImagePullBackOff   0             10mdefault       pod/prefect-k8s-example-d5mhb-mcpsx          0/1     ImagePullBackOff   0             107mdefault       pod/prefect-k8s-example-ecr-9wlmj-7fd9z      0/1     ImagePullBackOff   0             2m34sdefault       pod/prefect-k8s-example-mwmgm-j5mtx          0/1     ImagePullBackOff   0             97mJeff Hale
03/02/2023, 9:23 PMJafar A
03/02/2023, 9:28 PMJeff Hale
03/03/2023, 2:47 PMChristopher Boyd
03/03/2023, 2:51 PMkubectl get events
kubectl describe pod prefect-k8s-example-8wn2j-rzj72Christopher Boyd
03/03/2023, 2:51 PMChristopher Boyd
03/03/2023, 2:52 PMJafar A
03/03/2023, 6:31 PM(env) MacBook-Pro:de-orchestration jamin$ kubectl get events
LAST SEEN   TYPE     REASON    OBJECT                                    MESSAGE
3m40s       Normal   BackOff   pod/prefect-k8s-example-8wn2j-rzj72       Back-off pulling image "prefect-docker-example:latest"
5m54s       Normal   Pulling   pod/prefect-k8s-example-d5mhb-mcpsx       Pulling image "prefect-docker-example:latest"
61s         Normal   BackOff   pod/prefect-k8s-example-d5mhb-mcpsx       Back-off pulling image "prefect-docker-example:latest"
51s         Normal   BackOff   pod/prefect-k8s-example-ecr-9wlmj-7fd9z   Back-off pulling image "<http://880954911558.dkr.ecr.us-west-2.amazonaws.com/prefect-docker-example:latest|880954911558.dkr.ecr.us-west-2.amazonaws.com/prefect-docker-example:latest>"
72s         Normal   BackOff   pod/prefect-k8s-example-mwmgm-j5mtx       Back-off pulling image "prefect-docker-example:latest"
(env) MacBook-Pro:de-orchestration jamin$ 
(env) MacBook-Pro:de-orchestration jamin$ kubectl describe pod prefect-k8s-example-8wn2j-rzj72
Name:             prefect-k8s-example-8wn2j-rzj72
Namespace:        default
Priority:         0
Service Account:  default
Node:             docker-desktop/192.168.65.4
Start Time:       Thu, 02 Mar 2023 16:08:19 -0500
Labels:           controller-uid=28d05e99-61f4-4554-b22b-d1ea723bbe00
                  job-name=prefect-k8s-example-8wn2j
Annotations:      <none>
Status:           Pending
IP:               10.1.0.9
IPs:
  IP:           10.1.0.9
Controlled By:  Job/prefect-k8s-example-8wn2j
Containers:
  prefect-job:
    Container ID:  
    Image:         prefect-docker-example:latest
    Image ID:      
    Port:          <none>
    Host Port:     <none>
    Args:
      python
      -m
      prefect.engine
    State:          Waiting
      Reason:       ImagePullBackOff
    Ready:          False
    Restart Count:  0
    Environment:
      PREFECT_API_URL:        <https://api.prefect.cloud/api/accounts/1ce80bf4-595f-42af-9feb-85431f7631a7/workspaces/2f7cd4bc-77a6-4b3b-8d68-dca0941eaae5>
      PREFECT_API_KEY:        @@@@@@@@@@@@
      PREFECT_LOGGING_LEVEL:  DEBUG
      PREFECT__FLOW_RUN_ID:   3e6cb334106a40de816ea42b40ba31b7
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-2vxvl (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             False 
  ContainersReady   False 
  PodScheduled      True 
Volumes:
  kube-api-access-2vxvl:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 <http://node.kubernetes.io/not-ready:NoExecute|node.kubernetes.io/not-ready:NoExecute> op=Exists for 300s
                             <http://node.kubernetes.io/unreachable:NoExecute|node.kubernetes.io/unreachable:NoExecute> op=Exists for 300s
Events:
  Type    Reason   Age                     From     Message
  ----    ------   ----                    ----     -------
  Normal  BackOff  3m57s (x1519 over 19h)  kubelet  Back-off pulling image "prefect-docker-example:latest"Christopher Boyd
03/03/2023, 6:36 PMprefect-docker-example:latestChristopher Boyd
03/03/2023, 6:38 PMChristopher Boyd
03/03/2023, 6:38 PMChristopher Boyd
03/03/2023, 6:38 PMJafar A
03/03/2023, 6:45 PMFROM prefecthq/prefect:2-python3.10Christopher Boyd
03/03/2023, 6:48 PMChristopher Boyd
03/03/2023, 6:49 PMChristopher Boyd
03/03/2023, 6:49 PMChristopher Boyd
03/03/2023, 6:50 PMChristopher Boyd
03/03/2023, 7:01 PMJafar A
03/03/2023, 7:17 PMJafar A
03/03/2023, 7:20 PMImageprefect-docker-example:latestChristopher Boyd
03/03/2023, 7:29 PMjafarsaedi/prefect-docker-exampleChristopher Boyd
03/03/2023, 7:29 PMjafarsaediprefect-docker-exampleChristopher Boyd
03/03/2023, 7:30 PM:latestJafar A
03/03/2023, 7:33 PM