You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/blog/exposing-an-application-using-ingress-and-tls-termination-on-kubernetes-in-hpe-greenlake-for-private-cloud-enterprise.md
In order to validate the Ingress TLS termination, three sample Nginx applications will be deployed to the cluster using the YAML manifest files from GitHub repo [ingress-demo](https://github.com/GuopingJia/ingress-demo):
314
+
In order to validate the Ingress TLS termination, three sample Nginx applications will be deployed to the cluster using the YAML manifest files from the GitHub repo [ingress-demo](https://github.com/GuopingJia/ingress-demo):
The Ingress resource with TLS has to be created. Here is the sample Ingress TLS resource:
385
+
The Ingress resource with TLS has to be created. Here is the sample Ingress TLS resource*ingress-host-based-selfsigned.yaml*, available from the GitHub repo [ingress-demo](https://github.com/GuopingJia/ingress-demo):
385
386
386
387
```shell
387
-
$ cat ingress-host-based-selfsigned.yaml
388
+
$ cat ingress-host-based-selfsigned.yaml
388
389
apiVersion: networking.k8s.io/v1
389
390
kind: Ingress
390
391
metadata:
@@ -433,7 +434,7 @@ spec:
433
434
```
434
435
435
436
436
-
In the above sample YAML manifest file, there is the *tls* block that contains the hostname *'nginx.example.com'* and the tls secret *cfe-tls-key-pair* created in the certification step. There is also the *rules* block in which a list of routing rules is defined per host, e.g., host *nginx.example.com* will be routed to the application service *nginx-main* in the backend.
437
+
In the above sample YAML manifest file, there is the *'tls'* block that contains the hostname *'nginx.example.com'* and the secret *cfe-tls-key-pair* created in the certification step. There is also the *'rules'* block in which a list of routing rules is defined per host, e.g., host *nginx.example.com* will be routed to the application service *nginx-main* in the backend.
437
438
438
439
Type the following command to deploy the Ingress resource to the namespace *nginx-apps*:
439
440
@@ -476,7 +477,7 @@ Events:
476
477
477
478
Before start accessing the deployed Nginx applications, you need set up the domain and the subdomain name resolution. For the sample domain name *nginx.example.com*, and its subdomains, *blue.nginx.example.com* and *green.nginx.example.com*, the workstation host file has been used for DNS resolution.
478
479
479
-
Type the following commands to check this is done correctly:
480
+
Type the following commands to check that this is done correctly:
0 commit comments