Skip to content

Fargate caveats page made me think that I should set webhook.HostNetwork=true but you actually must not #696

Closed

Description

@iainlane

(cert-manager 1.5.3 / k8s 1.21 in EKS on Fargate)

On the cloud compatibility page there's the sentence

It’s worth noting that using AWS Fargate to run cert-manager will force you to run using the host’s network

This made me think that I had to set hostNetwork: true on the deployment.

But as far as I can tell (not super clear on this), that happens implicitly on Fargate, and setting it manually doesn't work, since it causes a hostPort to be generated which you can't have, resulting in the webhook pod never starting with this:

  Warning  FailedScheduling  112s  fargate-scheduler  Pod not supported on Fargate: fields not supported: HostNetwork, port contains HostIP or HostPort

I wonder if that could be called out more explicitly somehow.

Activity

  1. changed the title [-]Fargate caveats misled me into thinking that I should set `webhook.HostNetwork=true`[/-] [+]Fargate caveats page made me think that I should set `webhook.HostNetwork=true` but you actually must not[/+] on Sep 6, 2021
  2. added a commit that references this issue on Sep 7, 2021
    2d1ba18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions