Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

docs/clarify flux's dependency on the ec2 metadata api #2821

Merged
merged 1 commit into from
Feb 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,19 @@ To work around exceptional cases, you can mount a docker config into
the Flux container. See the argument `--docker-config` in [the daemon
arguments reference](references/daemon.md).

For ECR, if you are using Kiam, you need to whitelist the following API routes:
```
--whitelist-route-regexp=(/latest/meta-data/placement/availability-zone|/latest/dynamic/instance-identity/document)
```
For ECR, Flux requires access to the EC2 instance metadata API to
obtain AWS credentials. Kube2iam, Kiam, and potentially other
Kuberenetes IAM utilities may block pod level access to the EC2
metadata APIs. If this is the case, Flux will be unable to poll ECR
for automated workloads.

- If you are using Kiam, you need to whitelist the following API routes:
```
--whitelist-route-regexp=(/latest/meta-data/placement/availability-zone|/latest/dynamic/instance-identity/document)
```
- If you are using kube2iam, ensure the values of --iptables and
--in-interface are [configured correctly for your virtual network
provider](https://github.com/jtblin/kube2iam#iptables).

See also
[Why are my images not showing up in the list of images?](#why-are-my-images-not-showing-up-in-the-list-of-images)
Expand Down