Azure-docs: Cert-Manager, ACME HTTP Solver and Windows Nodes

Created on 29 Aug 2019  Â·  9Comments  Â·  Source: MicrosoftDocs/azure-docs

I've spent a fair amount of time trying to get cert-manager working on a cluster with mixed node pools - Windows and Linux, and I've finally gotten to a state where most of the cert-manager pods are created using a node selector to correct the linux node pool.

However, the ACME HTTP Solver always tries to create the pod on a Windows node (I've tried deleting it several times in the hope that it will re-create on a Linux node), but it always seems to pick a Windows node. I can't seem to correctly configure it to select a Linux one.

Can the documentation be updated to correctly reflect all of the steps required to make cert-manage work against a mixed node pool cluster?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 assigned-to-author container-servicsvc doc-enhancement triaged

All 9 comments

@kieronlanning
Thanks for the feedback! We are currently investigating and will update you shortly.

@kieronlanning certmanager helm chart takes nodeselctor as an input.
https://github.com/jetstack/cert-manager/blob/master/deploy/charts/cert-manager/values.yaml#L89

I hope if we give --set nodeSelector."beta\.kubernetes\.io/os"=linux, All cert manager components will go to Linux nodes. I will try this tomorrow and update you

@jakaruna-MSFT Hi! I've done all that, and it's fine for the main components - but when it launches the HTTP Solver pod, it launches it on the first available node - which in my case was (repeatedly) a Windows node.

I ended up tainting all the Windows nodes so it could successfully launch.

@kieronlanning Thanks. Got it.

@mlearned please add your comments

@mlearned I am assigning this issue to you t investigate further and update the doc.

First update is to add node selector for the helm install command for cert manger

We still need to figure out how to add node selectors for the HTTP solver pod and update the doc

This should be possible using the new podTemplate field on your Issuer resource - some more info can be found here: http://docs.cert-manager.io/en/latest/tasks/issuers/setup-acme/http01/index.html#options 😀

Thank you @kieronlanning for the feedback.

I have updated the article to address your feedback and the changes should be available soon.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jamesgallagher-ie picture jamesgallagher-ie  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

AronT-TLV picture AronT-TLV  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments