Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
### Deploying Robusta on Kubernetes for Debian/Ubuntu based OS
## Baseline Guide: https://docs.robusta.dev/master/getting-started/installation.html
# Type of Deployment: Helm
#
### Minimum Requirements ###
## Kubernetes Cluster (Tested on K0s, K3s, K8s)
## This is a Cloud Based UI App that connects to your cluster, it will ask to create an account, you can also connect it to Slack or Teams (or both)
#
## The following base packages are required:
@Vertiwell
Vertiwell / topolvm.sh
Created August 25, 2022 01:35
Bash Install on Ubuntu 22.04 for TopoLVM
#!/bin/bash
### Deploying Topolvm on Kubernetes for Debian/Ubuntu based OS
## Baseline Guide: https://github.com/topolvm/topolvm/tree/main/charts/topolvm
# Type of Deployment: Helm
#
### Minimum Requirements ###
## Three Worker Node Cluster
## Each worker node must have a blank drive to consume, if you need to wipe said drives, use: dd if=/dev/zero of=/dev/sdc bs=1M
#
#
#!/bin/bash
### Deploying Cert-Manager on Kubernetes for Debian/Ubuntu based OS
## Baseline Guide: https://cert-manager.io/docs/installation/helm/
# Type of Deployment: Helm
#
### Minimum Requirements ###
## Three Worker Node Cluster (Tested on K0s, K3s, K8s)
#
## The following base packages are required:
# Helm, Package Manager
#!/bin/bash
### Deploying k8s using Ansible for Debian/Ubuntu based OS
## Baseline Guide: https://buildvirtual.net/deploy-a-kubernetes-cluster-using-ansible/
# Type of Deployment: Self - Baremetal
### Minimum Requirements ###
## This deployment requires at least 4 nodes, one to be the master and three to be workers, this allows apps deployed to works to have a quorum.
## Each node must have passwordless SSH, using a root user (but not root itself) add the following on each node:
# printf "username ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
#
## The following base packages are required:
@Vertiwell
Vertiwell / gist:a3d5e3495368ca7aad8d1cb4ee7256fa
Created November 22, 2021 03:44
docker-registry-ext-access-registry.sh
#!/bin/bash
### Docker Registry Access
## Set Variables:
# Set a domain to use (needs to be real if you want to access this externally from the internet)
echo "Provide a common name to use for browsing to (i.e: app.example.com):"
read DOMAIN
# Get the Cert-Manager Issuer
CI=$(kubectl get clusterissuer --output=jsonpath={.items..metadata.name})
PS3='Please select a Cluster Issuer to provide certificates: '
options=($CI)
@Vertiwell
Vertiwell / gist:a029265f22ff6a94e54a6d717e97c8eb
Last active November 22, 2021 03:46
docker-registry.sh
#!/bin/bash
### Deploying Docker Registry on Kubernetes for Debian/Ubuntu based OS
## Baseline Guide: https://www.nearform.com/blog/how-to-run-a-public-docker-registry-in-kubernetes/
# Type of Deployment: Script
#
### Minimum Requirements ###
## Three Worker Node Cluster (Tested on K0s, K3s, K8s)
## A Storage Backend (Tested on Ceph, OpenEBS, Longhorn)
## Cert-Manager - See Script
#
@Vertiwell
Vertiwell / gist:d5a39526395c95b8e97151cbe00af4c8
Last active November 22, 2021 00:32
harbor-ext-access.sh
#!/bin/bash
### Harbor Portal Access
## Set Variables:
# Set a domain to use (needs to be real if you want to access this externally from the internet)
echo "Provide a common name to use for browsing to (i.e: app.example.com):"
read DOMAIN
# Get the Cert-Manager Issuer
CI=$(kubectl get clusterissuer --output=jsonpath={.items..metadata.name})
PS3='Please select a Cluster Issuer to provide certificates: '
options=($CI)
#!/bin/bash
### Deploying Harbor Registry Cluster on Kubernetes for Debian/Ubuntu based OS
## Baseline Guide: https://goharbor.io/docs/2.4.0/install-config/harbor-ha-helm/
# Type of Deployment: Helm
#
### Minimum Requirements ###
## Three Worker Node Cluster (Tested on K0s, K3s, K8s)
## A Storage Backend (Tested on Ceph, OpenEBS, Longhorn)
## Postgres Cluster - See Script
#
#!/bin/bash
### Deploying Redis Cluster on Kubernetes for Debian/Ubuntu based OS
## Baseline Guide: https://github.com/bitnami/charts/tree/master/bitnami/redis
# Type of Deployment: Helm
#
### Minimum Requirements ###
## Three Worker Node Cluster (Tested on K0s, K3s, K8s)
## A Storage Backend (Tested on Ceph, OpenEBS, Local, Longhorn)
#
## The following base packages are required:
#!/bin/bash
### Deploying Postgres Cluster on Kubernetes for Debian/Ubuntu based OS
## Baseline Guide: https://www.kubegres.io/doc/getting-started.html
# Type of Deployment: Script
#
### Minimum Requirements ###
## Three Worker Node Cluster (Tested on K0s, K3s, K8s)
## A Storage Backend (Tested on Ceph, OpenEBS, Local, Longhorn)
#
## The following base packages are required: