F5 Solutions for Containers > Class 1: Kubernetes with F5 Container Ingress Service > Module 4: Using F5 IngressLink Source | Edit on
Lab 4.2 - Deploy the Cafe Application¶
Create the coffee and tea deployments and services
kubectl create -f cafe-example/cafe.yaml
Create a secret with an SSL CERT and KEY for the Cafe app
kubectl create -f cafe-example/cafe-secret.yaml
Create the Ingress resource
kubectl create -f cafe-example/cafe-ingress.yaml
Test the Application¶
To access the application we’ll use the browser on the jumpbox.
Access your web application via firefox on the jumpbox. Open a new tab and browse to one of the following URL’s:
https://cafe.example.com/coffee
Note
If prompted with an SSL certificate warning be sure to accept the risk and continue.
You should see something similar to the following:
Attention
Server address: The application pod IP
Remote addr: The NGINX Ingress IP
X-Real-IP: The client IP making the request
Before starting the next class run the following commands to clean-up the BIG-IP and exit the session from kube-master1.
kubectl delete -f ingresslink/vs-ingresslink.yaml kubectl delete -f ingresslink/ingresslink-deployment.yaml exit
Attention
This is a CRITICAL step if you’re moving on to the next lab.
Attention
This concludes Class 1 - CIS and Kubernetes. Feel free to experiment with any of the settings. The lab will be destroyed at the end of the class/day.