Welcome to the Linux Foundation Forum!

Lab 7: nginx:1.15.1 deprecated

Hello,
It seems the nginx version used in the lab in not available anymore

Comments

  • Well, some containers are fine and other not:

    ...
    Events:
      Type    Reason     Age   From               Message
      ----    ------     ----  ----               -------
      Normal  Scheduled  12m   default-scheduler  Successfully assigned default/ds-one-9dwh2 to k8scp
      Normal  Pulling    12m   kubelet            Pulling image "nginx:1.15.1"
      Normal  Pulled     11m   kubelet            Successfully pulled image "nginx:1.15.1" in 7.617759384s
      Normal  Created    11m   kubelet            Created container nginx
      Normal  Started    11m   kubelet            Started container nginx
    
    
    ...
    Events:
      Type     Reason     Age                  From               Message
      ----     ------     ----                 ----               -------
      Normal   Scheduled  11m                  default-scheduler  Successfully assigned default/ds-one-5lf8k to lf-ha-wn
      Warning  Failed     8m15s (x4 over 11m)  kubelet            Failed to pull image "nginx:1.15.1": rpc error: code = Unknown desc = reading manifest 1.15.1 in quay.io/nginx: StatusCode: 404, <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final/...
      Warning  Failed     8m15s (x4 over 11m)  kubelet            Error: ErrImagePull
      Warning  Failed     8m3s (x6 over 11m)   kubelet            Error: ImagePullBackOff
      Normal   Pulling    6m46s (x5 over 11m)  kubelet            Pulling image "nginx:1.15.1"
      Normal   BackOff    110s (x28 over 11m)  kubelet            Back-off pulling image "nginx:1.15.1"
    
  • The containers with an issue are on the worker node, same with a redis deployment. The Cri is crio, there must be something I missed during the install.
    Or maybe it's the pod Cidr, I've set 192.168/16 and it could be too big for Aws

  • In file /etc/kubernetes/manifests/kube-controller-manager.yaml, I tried to set the Cidr to 192.169.0/24, but the nodes remain in 192.168/16:

    $ kubectl get nodes -o jsonpath='{.items[*].spec.podCIDR}'
    192.168.0.0/24 192.168.1.0/24
    
  • Something must have gone wrong during the install, it's working now

Categories

Upcoming Training