Creating Kubernetes secret for the TLS certificate
To allow Kubernetes to use the TLS certificate and private key
for the ingress controller, you create and use a Secret.
The secret is defined once, and will be referenced later when
you define ingress routes.
Step 1: Copy the certificate and the private key to the local
publish directory, for example, C:cloudappdemopublish.
Step 2: Create a secret. For example, the following command
creates a secret named aks-ingress-tls-appeon.com.
|
1 2 3 |
kubectl create secret tls aks-ingress-tls-appeon.com --key server.key --cert server_appeon.com_ssl.cer |

Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest