https://bentoml.com logo
#tech-writing
Title
# tech-writing
a

Ashley Zhao

09/22/2022, 7:12 PM
I do still run into the pod not healthy error:
Copy code
kubectl describe pod yatai-76c48797d8-6pmng --namespace yatai-system
Name:             yatai-76c48797d8-6pmng
Namespace:        yatai-system
Priority:         0
Service Account:  yatai
Node:             minikube2/192.168.64.3
Start Time:       Thu, 22 Sep 2022 14:57:43 -0400
Labels:           <http://app.kubernetes.io/instance=yatai|app.kubernetes.io/instance=yatai>
                  <http://app.kubernetes.io/name=yatai|app.kubernetes.io/name=yatai>
                  pod-template-hash=76c48797d8
Annotations:      <none>
Status:           Pending
IP:               172.17.0.4
IPs:
  IP:           172.17.0.4
Controlled By:  ReplicaSet/yatai-76c48797d8
Containers:
  yatai:
    Container ID:  
    Image:         <http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>
    Image ID:      
    Port:          7777/TCP
    Host Port:     0/TCP
    Command:
      sh
      -c
    Args:
      exec /app/api-server serve -c /conf/config.yaml
    State:          Waiting
      Reason:       ImagePullBackOff
    Ready:          False
    Restart Count:  0
    Liveness:       http-get http://:http/ delay=10s timeout=10s period=5s #success=1 #failure=15
    Readiness:      http-get http://:http/ delay=10s timeout=10s period=5s #success=1 #failure=60
    Environment Variables from:
      env         Secret  Optional: false
    Environment:  <none>
    Mounts:
      /conf from config (ro)
      /etc/localtime from host-timezone (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-nbvxx (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             False 
  ContainersReady   False 
  PodScheduled      True 
Volumes:
  host-timezone:
    Type:          HostPath (bare host directory volume)
    Path:          /etc/localtime
    HostPathType:  
  config:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  yatai
    Optional:    false
  kube-api-access-nbvxx:
    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   Scheduled  7m19s                  default-scheduler  Successfully assigned yatai-system/yatai-76c48797d8-6pmng to minikube2
  Warning  Failed     6m38s                  kubelet            Failed to pull image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>": rpc error: code = Unknown desc = Error response from daemon: Get "<https://quay.io/v2/>": dial tcp: lookup <http://quay.io|quay.io> on 192.168.64.1:53: read udp 192.168.64.3:43418->192.168.64.1:53: i/o timeout
  Warning  Failed     5m42s                  kubelet            Failed to pull image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>": rpc error: code = Unknown desc = Error response from daemon: Get "<https://quay.io/v2/>": dial tcp: lookup <http://quay.io|quay.io> on 192.168.64.1:53: read udp 192.168.64.3:48756->192.168.64.1:53: i/o timeout
  Warning  Failed     4m39s                  kubelet            Failed to pull image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>": rpc error: code = Unknown desc = Error response from daemon: Get "<https://quay.io/v2/>": dial tcp: lookup <http://quay.io|quay.io> on 192.168.64.1:53: read udp 192.168.64.3:58186->192.168.64.1:53: i/o timeout
  Normal   Pulling    3m57s (x4 over 7m18s)  kubelet            Pulling image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>"
  Warning  Failed     3m17s (x4 over 6m38s)  kubelet            Error: ErrImagePull
  Warning  Failed     3m17s                  kubelet            Failed to pull image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>": rpc error: code = Unknown desc = Error response from daemon: Get "<https://quay.io/v2/>": dial tcp: lookup <http://quay.io|quay.io> on 192.168.64.1:53: read udp 192.168.64.3:58805->192.168.64.1:53: i/o timeout
  Warning  Failed     2m50s (x6 over 6m38s)  kubelet            Error: ImagePullBackOff
  Normal   BackOff    2m12s (x9 over 6m38s)  kubelet            Back-off pulling image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>"
If possible, perhaps I can meet up to walk through the installation steps together, should the errors appear to be something configuration related.
5 Views