bottlerocket-os / bottlerocket-os/bottlerocket-update-operator

Custom cluster domain

Open
#436 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
220
Forks
50
PR merge metrics
No merged PRs in 30d

Description

- EKS 1.23
- BottleRocket AMIs
- v1.1.0

We have a cluster with a customized cluster domain name. The agent insists on connecting to https://brupop-apiserver.brupop-bottlerocket-aws.svc.cluster.local/bottlerocket-node-resource which does not resolve in that cluster. Here is the error:

```
2023-03-23T13:47:39.786059Z ERROR agent::agentclient: error: Unable to operate on BottlerocketShadow: 'Unable to create the BottlerocketShadow associated with this node: 'Unable to create BottlerocketShadow (ip-10-250-82-160.us-east-2.compute.internal, 4be7304a-81c6-491d-b354-9eaac8ea3410): 'error sending request for url (https://brupop-apiserver.brupop-bottlerocket-aws.svc.cluster.local/bottlerocket-node-resource): error trying to connect: dns error: failed to lookup address information: Name does not resolve'''
at agent/src/agentclient.rs:211
in agent::agentclient::create_metadata_shadow
in agent::agentclient::create_shadow_if_not_exist
in agent::agentclient::run

2023-03-23T13:47:39.786127Z WARN agent::agentclient: An error occurred when try to create BottlerocketShadow. Restarting event loop.
at agent/src/agentclient.rs:498
in agent::agentclient::run
```

Is there a setting I am missing that can make the domain configurable? Or is this something that will need to change to accommodate?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.