Deploy a Sample Application


Deploy a Sample Application

Table of Contents

Deploy a Sample Application

Deploy the guestbook sample application with a
The Palo Alto Networks GitHub repository includes a community-supported sample application with a Kubernetes manifest file named
This file deploys a simple PHP guestbook web application that utilizes a Redis backend.
  1. $ cd sample-application
  2. Deploy the guestbook application.
    $ kubectl apply -f guestbook.yml
  3. Verify the application pods have been deployed and reach a Running, then 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
  4. 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.
    Continue to deploy CN-Series firewall using Terraform.

Recommended For You