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
The service *ingress-nginx-controller* gets deployed as the service type of *LoadBalancer* with the *EXTERNAL-IP* assigned as *10.6.115.251*.
159
159
160
-
### Install cert-manager
160
+
### Generate a self-signed certificate using cert-manager
161
161
162
162
```shell
163
163
$ kubectl get all -n cert-manager
@@ -238,11 +238,9 @@ NAME TYPE DATA AGE
238
238
cfe-tls-key-pair kubernetes.io/tls 3 2m25s
239
239
```
240
240
241
-
### Install Nginx applications
241
+
### Deploy sample Nginx applications
242
242
243
-
Three Nginx applicaitons from the GitHub repo [ingress-demo](https://github.com/GuopingJia/ingress-demo.git) will be deployed as sample applications to the cluster.
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):
246
244
247
245
```shell
248
246
$ tree ingress-demo/
@@ -256,6 +254,8 @@ ingress-demo/
256
254
└── README.md
257
255
```
258
256
257
+
Each YAML manifest file in the folder *apps* defines the *Deployment* and the *Service* resource.
258
+
259
259
Type the following commands to deploy those Nginx applications to the namespace *nginx-apps*:
260
260
261
261
```shell
@@ -271,7 +271,7 @@ service/nginx-blue created
271
271
deployment.apps/nginx-blue created
272
272
```
273
273
274
-
Check with below command to see that all the Nginx Pods are in Running state:
274
+
Type the command shown below to check the details of application deployment:
Three Nginx applications, *nginx-main*, *nginx-blue* and *nginx-green*, are deployed as the service type of *ClusterIP*. They provide internal connectivity and can solely be accessed from within the cluster.
300
+
301
+
299
302
Type the following commend to check that all the application service endpoints have been populated:
0 commit comments