Deploy a sample application - PaloAltoNetworks/cn-series-deploy GitHub Wiki

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.

Usage

  1. Deploy the guestbook application.
$ kubectl apply -f guestbook.yml
  1. 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
  1. List the services to determine the public IP address of the web frontend.
$ kubectl get services -n sample-app
  1. You can now configure your Dynamic Address Groups and Security Rules on Panorama to secure the guestbook application.