Welcome to the Linux Foundation Forum!

apt update (in kubernetes pod): temporary failure

Posts: 7
edited December 2020 in LFS258 Class Forum

Hi,

Kubernets installed manually on AWS. All worked fine until nettools exercise.

Pod works, but "apt update" command does not work:

If I use directly Docker, it works correctly:

I have checked firewall on instance and VPC settings and was unable to find the root cause of the error.

Can you help with this issue ?

Thank you,
Igor

Comments

  • Hi @iracic,

    This behavior has been encountered when running Kubernetes on AWS.
    In an earlier post a solution was presented to add Google DNS 8.8.8.8 in the nettool.yaml file when working on AWS.

    Regards,
    -Chris

  • Posts: 7
    edited December 2020

    Hi Chris,

    That fixed the issue.

    Thank you,
    Igor

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training