Isn’t that what the Secrets resources are for? Just use those, and mount them into your containers in the filesystem or environment variables.
Isn’t that what the Secrets resources are for? Just use those, and mount them into your containers in the filesystem or environment variables.
If I control a physical cluster of machines end-to-end, I might consider Kubernetes (because I don't have any better options and doing the work to actually secure it is probably less work than my alternatives), but it's also one of the reasons--though far from the only reason--that I couldn't begin to consider k8s if I'm running in AWS or another cloud environment.
They are in progress towards encrypting at rest the etcd database. You can experimentally turn it on by following this doc:
https://kubernetes.io/docs/tasks/administer-cluster/encrypt-...
https://docs.google.com/document/d/1lFhPLlvkCo3XFC2xFDPSn0jA...
https://github.com/kubernetes/kubernetes/pull/41939
https://github.com/kubernetes/kubernetes/pull/49350
etc.
There is an implementation to use Hashicorp's Vault to encrypt secrets (using this functionality) which looks quite nice actually:
https://docs.google.com/document/d/15-baW4i7qws1yxxIYjHXqKpk...