Hi,

I just launched an ubuntu container in that namespace and installed
dnsutils/iputils-ping to resolve the hostname issue.

Thank you.


On Sat, Mar 4, 2023 at 1:11 PM Rodrigo Cunha <rodrigo.root...@gmail.com>
wrote:

> I have bitnami/mysql container (debian OS) running on kubernetes.
>> This container seems too restricted for system software, these following
>> commands are removed:
>>
>> sudo (so I can't su to root for apt)
>> ping
>> dig
>> nslookup
>> net-tools
>>
> It is a good practice to build small images for pods without commands for
> the network. To solve this problem, you can do that:
> Create a pod in the same network with net tools.
> Or
> 1 .rebuild a new docker image with another version, with net-tools.
> 2. then change the current pod with edit in deployment.
>
>
>
> On Fri, Mar 3, 2023 at 9:59 PM Ken Young <ken@highwinds.cloud> wrote:
>
>> Hello,
>>
>> I have bitnami/mysql container (debian OS) running on kubernetes.
>> This container seems too restricted for system software, these following
>> commands are removed:
>>
>> sudo (so I can't su to root for apt)
>> ping
>> dig
>> nslookup
>> net-tools
>>
>> Do you know any other way to resolve a hostname by manual  on this
>> container?
>>
>> Thanks
>> Ken
>>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>

Reply via email to