LKE: How do i set parameters for kube-apiserver

Hello, I've created a EncryptionConfiguration to use in order to encrypt my secrets. However i'm a little bit lost on how to perform the next step which is setting the --encryption-provider-config in the kube-apiserver to point to the config file.

How do I access that binary with LKE? Can't seem to access the master node.

2 Replies

I'm assuming this is the guide you were following from the official Kubernetes page which doesn't exactly state how to set the encryption provider-config to point to the config file. I found this thread from Stackoverflow where a user run into the same problem and a 2 way solution was provided. Hopefully this helps.

Hello, thank you for your reply!

It did not really help because the core issue is that I can't find the kube-api to issue commands in the first place. I can't find the kube-api.yaml file either.
I can't seem to find and access the master node.

This is the guide that I followed
https://www.linode.com/docs/guides/kubernetes-security-best-practices/ starting at "Use Kubernetes Secrets to Store Sensitive Data"

I think that the docs should include where and how to set this parameter.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct