Commit fdddb8f4 by tingweiwang

update deploy.md

1 parent 8a728093
Showing with 4 additions and 2 deletions
......@@ -66,8 +66,10 @@
* 使用openssl生成自签名证书(注意指定CN):
```shell
mkdir certs
openssl req -newkey rsa:2048 -nodes -keyout certs/server.key -x509 -days 3650 -out certs/server.crt -subj "/CN=KPL"
```
# openssl req -newkey rsa:2048 -nodes -keyout certs/server.key -x509 -days 3650 -out certs/server.crt -subj "/CN=KPL"
openssl ecparam -genkey -name secp384r1 -out server.key
openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650
```
* 生成一个叫kpl-ssl的ConfigMap,其包含刚才生成的两个ssl证书文件:
```shell
kubectl -n kpl create configmap kpl-ssl --from-file=./certs
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!