Skip to content

D-Thatcher/k8s_rhel_python_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K8s sample RHEL Python web app configuration

Overview

A sample K8s Python server deployment configuration that prioritizes security and extensibility. The Python app is built in a hardened RHEL UBI v9 image and the Pod configuration follows K8s security best practices.

You can customize the seccomp profile in ./profiles/seccomp-profile.json and add it in the seccompProfile block in the app.yaml

Getting started

  • Ensure docker, kind, and kubectl are installed on your machine
  • Run bash scripts/build.sh to build the docker image and set-up a local kind cluster with the configuration
  • You can customize the Python server in ./app/backend
  • Run bash scripts/clean.sh to remove the kind cluster

Acknowledgements

About

Hardened RHEL UBI v9 Python server running on a hardened K8s Pod

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published