Skip to content

BlackthornYugen/subnets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

subnets

Visual subnet calculator as seen at http://www.davidc.net/sites/default/subnets/subnets.html

Run with docker

cd <project folder>
docker build . -t subnets
docker run -d -p 5001:80 --name subnets subnets

Kubernetes

Prerequesits

This guide assumes a kubernetes cluster exits and you have a kubecfg that allows management via kubectl commands. Ingress also assumes that you are using the NGINX Ingress Controller.

Namespace

Before deploying, consider creating and switching to a new namespace for this project. For example with kubectl

kubectl create namespace kwlug
kubectl config set-context --current --namespace=kwlug

deploy

Deploy in one easy step!

helm install --generate-name subnet-chart --set domain=arrakis.jskw.ca

Undeploy

You can cleanup your deployment(s) with the helm uninstall command:

Delete single release

helm uninstall subnet-chart-1651426690

Delete all releases

helm list --output json | \
    jq '.[].name' --raw-output | \
    grep subnet-chart | \
    xargs helm uninstall

About

Visual subnet calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • HTML 96.6%
  • PHP 2.9%
  • Dockerfile 0.5%