-
Notifications
You must be signed in to change notification settings - Fork 23
Deploy a sample application
Robert Hagen edited this page Jun 22, 2020
·
3 revisions
The /sample-application
folder of this repository contains a Kubernetes manifest file called guestbook.yml
. This file will be used to deploy a simple PHP guestbook web application that utilizes a Redis backend.
- Deploy the guestbook application.
$ kubectl apply -f guestbook.yml
- Verify the application pods have been deployed and reach a Running and Ready state.
$ kubectl get pods -n sample-app
NAME READY STATUS RESTARTS AGE
frontend-69859f6796-96bs7 1/1 Running 0 111m
frontend-69859f6796-k2k4z 1/1 Running 0 53m
frontend-69859f6796-zwwbg 1/1 Running 0 111m
redis-master-596696dd4-5l5qv 1/1 Running 0 53m
redis-slave-6bb9896d48-dwhw2 1/1 Running 0 53m
redis-slave-6bb9896d48-nhqzh 1/1 Running 0 111m
- List the services to determine the public IP address of the web frontend.
$ kubectl get services -n sample-app
- You can now configure your Dynamic Address Groups and Security Rules on Panorama to secure the guestbook application.