Coder Social home page Coder Social logo

alphabravocompany / stackrox-demo-server Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 12 KB

This script is for demo purposes only. It deploys a bare minimum, single-node K3s Kubernetes cluster, Longhorn Storage, and StackRox OSS and provides links to the interfaces and login information.

Shell 100.00%
stackrox k3s longhorn rancher

stackrox-demo-server's Introduction

StackRox Demo Server

About StackRox OSS

The StackRox Kubernetes Security Platform performs a risk analysis of the container environment, delivers visibility and runtime alerts, and provides recommendations to proactively improve security by hardening the environment. StackRox integrates with every stage of container lifecycle: build, deploy and runtime.

Note: the StackRox Kubernetes Security platform is built on the foundation of the product formerly known as Prevent, which itself was called Mitigate and Apollo. You may find references to these previous names in code or documentation.

Learn more about StackRox

Intended usage of this script

This script is for demo purposes only. It deploys a bare minimum, single-node K3s Kubernetes cluster, Longhorn Storage, and StackRox OSS and provides links to the interfaces and login information.

Prerequisites

  • Ubuntu 20.04+ Server
  • Minimum Recommended 8vCPU and 8GB (16GB may be better if you want to run test workloads) of RAM (Try Hetzner or DigitalOcean)
  • DNS or Hosts file entry pointing to server IP

Installed as part of script

  • Helm
  • K3s
  • Rancher UI
  • Longhorn Storage
  • cert-manager
  • StackRox OSS

Full Server Setup with roxctl tool

  1. git clone https://github.com/AlphaBravoCompany/StackRox-demo-server.git
  2. cd StackRox-demo-server
  3. chmod +x install-StackRox.sh
  4. ./install-StackRox.sh subdomain.yourdomain.tld
  5. Install will take approximately 10 minutes and will output links and login information for Rancher and your StackRox installation.
  6. Details for accessing StackRox and Rancher will be printed to the screen once the script completes and saved to server-details.txt

Updating the StackRox OSS Version

  • Visit the https://quay.io/organization/stackrox-io/ registry page and find the image tag you want to use. Choosing main and viewing the tags will likely be sufficient as it seems all images have the same tagging applied.
  • Edit the install-stackrox.sh file and update the rox_version variable to use the new image tag.
  • Uninstall using the below method and rerun the install-stackrox.sh script as before.

Uninstall Methods

  1. From within the stackrox-demo-server directory, run /usr/local/bin/k3s-uninstall.sh && rm -rf central-bundle/ sensor-k3s/ && rm server-details.txt (removes K3s, Rancher, Longhorn and StackRox)

Special Thanks

Thanks to Andy Clemenko for his expertise and repos for providing the foundation for this script.

About Alphabravo

AlphaBravo provides products, services, and training for Kubernetes, Cloud, and DevSecOps.

Contact AB today to learn how we can help you.

stackrox-demo-server's People

Contributors

clemenko avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.