TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Kubernetes Firewall?

2 pointsby rsmetsalmost 4 years ago
I am curious what firewall configurations one would recommend for internet facing network traffic in a kubernetes cluster?<p>I am using EKS but would love to hear any and all options, suggestions regardless if only available from another cloud vender managed solution.<p>My first instinct was to use the new AWS Load Balancer Controller which can create an ALB + WAF setup. This guide seems like exactly what I was thinking of: https:&#x2F;&#x2F;aws.amazon.com&#x2F;premiumsupport&#x2F;knowledge-center&#x2F;eks-alb-ingress-aws-waf&#x2F;.<p>However, I learned that the only certs the ALB works with are from ACM. So I looked into setting up my hands free dns + cert management (external-dns + cert-manager) with a ACM cert manager Issuer. But seems like that not possible?! https:&#x2F;&#x2F;github.com&#x2F;kubernetes-sigs&#x2F;aws-load-balancer-controller&#x2F;issues&#x2F;1143 https:&#x2F;&#x2F;github.com&#x2F;kubernetes-sigs&#x2F;aws-load-balancer-controller&#x2F;issues&#x2F;1084<p>Cert-manager only supports an add-on for AWS&#x27; Private Cert Manager, not for public certs.<p>Given I do not want to manually deal with certs or have to create them outside of the my ingress defs the ALB approach seems effectively like a dead-end at the moment.<p>Thanks for your input. Hopefully this tale &amp; post helps someone else as well.<p>Edit: Not really looking for a CNI setup as I am really looking for &quot;firewall service&quot; I can use at the edge of the cluster. However, would be interested in hearing about how you used CNI to suite this need if possible?

1 comment

sungrokshimalmost 4 years ago
I&#x27;ve seen people use Wallarm (<a href="https:&#x2F;&#x2F;www.wallarm.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.wallarm.com&#x2F;</a>). They have a controller based on nginx-ingress-controller that you can deploy into your k8s cluster. I&#x27;m building a platform on top of k8s and the clusters we provision use the same setup (cert-manager + ALB + nginx-ingress). Worth a try!
评论 #28131736 未加载