Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 25, 2025

Adds a Kubernetes deployment example for Apache with the Fastly NGWAF module on Ubuntu, with the agent running as a sidecar container.

Changes

  • Dockerfile: Ubuntu 24.04 with Apache2 and sigsci-module-apache installed
  • deployment.yaml:
    • ConfigMap with NGWAF module config pointing to Unix socket
    • Two-container pod: Apache + sigsci-agent sidecar
    • Shared emptyDir volume for socket communication at /sigsci/tmp/sigsci.sock
    • NodePort service exposure
  • Makefile: Standard build/deploy/demo targets matching existing patterns
  • README.md: Quickstart and architecture docs

Usage

export NGWAFACCESSKEYID="..."
export NGWAFACCESSKEYSECRET="..."
make docker
make rebuild
make demo  # then curl 127.0.0.1:8080

Follows the same patterns as k8s-nginx-module-agent.

Original prompt

You need to build a minimalist k8s example using apache.

https://www.fastly.com/documentation/guides/next-gen-waf/setup-and-configuration/module-agent-deployment/apache-module/installing-the-apache-module/

k8s-apache-module

The implementation should use the Fastly NGWAF module running on Ubuntu. On the same container, the NGWAF Agent should be running.

Follow similar design patterns as the other deployments in the directory on-prem-ngwaf-integrations.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add minimalist k8s example with Apache and Fastly NGWAF module Add k8s-apache-module deployment with Fastly NGWAF integration Nov 25, 2025
Copilot finished work on behalf of BrooksCunningham November 25, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants