Skip to content

Install "Custom CA Trust" on AKS nodes #2259

Open
@jabbera

Description

@jabbera

Private clusters cause AKS internet traffic to be directed out customers internet edge devices. We have a decrypting firewall. Therefore we need our Certificate Authority root cert installed on every node in our cluster or every package mirrored to our local repo as to not be intercepted by our MITM firewall. I was originally going the mirroring route until coredns broke last night during what I assume to be an upgrade, took down the whole cluster, and I didn't know how to update the image location. (Is this possible in AKS?)

Edit: Actually this is WAY worse for a new cluster. The deployment failed and I had to go in and dig around to find this:

image

Now I have a bootstrapping issue. I can't deploy a cluster without my CA installed but my automation that installs my CA doesn't run till after the cluster is provisioned. Luckily I was able to apply the CA installation daemonset described below, re-run my deployment and my cluster ended up in an alright state.

Customizing the CA repo should be built in node customization functionality to private clusters instead I had to find and follow these directions as well as augment them to be sure they run on every node: http://hypernephelist.com/2021/03/23/kubernetes-containerd-certificate.html

Please make this core functionality!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Generally Available (Done)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions