Score:0

Kubernetes: certificate for non-http service

co flag

In my cluster (DOKS), I'd like to run an SMTP/IMAP server, obviously with SSL encryption, provided by Let's encrypt. For HTTP based servers this works perfectly with cert-manager and the ingress resource.

However, if I want to run a non-http service, I can't use the ingress controller, unfortunately.

My idea is to run a certbot container as an initContainer, so that all I need for a new certificate is to restart the pod. The problem with that, is no service directs the incoming traffic to a pod, when it's in the init state.

Is there any other way to get the certificate automatically?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.