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¶
Go back to the Web Shell session you opened in the previous task. If you need to open a new session go back to the Deployment tab of your UDF lab session at https://udf.f5.com to connect to kube-master1 using the Web Shell access method, then switch to the ubuntu user account using the “su” command:
su ubuntu
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¶
Now let’s test access to the new web application “through”” Firefox on superjump.
Go back to the Firefox session you opened in a previous task. If you need to open a new session, browse back to the Deployment tab of your UDF lab session at https://udf.f5.com and connect to superjump using the Firefox access method.
Note
The web application is not directly accessible from the public Internet. But since the superjump system is connected to the same internal virtual lab network we can use the Firefox access method because it provides browser-in-a-browser functionality that allows remote browsing to this new private web site.
Open a new tab an browse to one of the following URL’s:
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
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.