mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-18 02:38:58 +03:00
chg: Hostnames In Documentation Continued
Updated more references to old hostnames in the documentation to reflect the new naming convention.
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
# Generating the Data Encryption Config and Key
|
||||
|
||||
Kubernetes stores a variety of data including cluster state, application configurations, and secrets. Kubernetes supports the ability to [encrypt](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data) cluster data at rest.
|
||||
Kubernetes stores a variety of data including cluster state, application
|
||||
configurations, and secrets. Kubernetes supports the ability to [encrypt]
|
||||
cluster data at rest.
|
||||
|
||||
In this lab you will generate an encryption key and an [encryption config](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/#understanding-the-encryption-at-rest-configuration) suitable for encrypting Kubernetes Secrets.
|
||||
In this lab you will generate an encryption key and an [encryption config]
|
||||
suitable for encrypting Kubernetes Secrets.
|
||||
|
||||
## The Encryption Key
|
||||
|
||||
@@ -21,10 +24,16 @@ envsubst < configs/encryption-config.yaml \
|
||||
> encryption-config.yaml
|
||||
```
|
||||
|
||||
Copy the `encryption-config.yaml` encryption config file to each controller instance:
|
||||
Copy the `encryption-config.yaml` encryption config file to each controller
|
||||
instance:
|
||||
|
||||
```bash
|
||||
scp encryption-config.yaml root@server:~/
|
||||
scp encryption-config.yaml root@controlplane:~/
|
||||
```
|
||||
|
||||
Next: [Bootstrapping the etcd Cluster](07-bootstrapping-etcd.md)
|
||||
|
||||
---
|
||||
|
||||
[encrypt]: https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data
|
||||
[encryption config]: https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/#understanding-the-encryption-at-rest-configuration
|
||||
Reference in New Issue
Block a user