Go to file
Florian Herrengt 9d4568508a add livenessProbe to events worker 2024-01-25 17:41:32 +00:00
.vscode checkpoint 2023-12-08 17:12:01 +00:00
apps start deploying nocodelytics 2023-12-19 18:49:30 +01:00
databases start deploying nocodelytics 2023-12-19 18:49:30 +01:00
dependencies start deploying nocodelytics 2023-12-19 18:49:30 +01:00
kustomization add livenessProbe to events worker 2024-01-25 17:41:32 +00:00
secrets@277864d17d add livenessProbe to events worker 2024-01-25 17:41:32 +00:00
sysadmin start deploying nocodelytics 2023-12-19 18:49:30 +01:00
.DS_Store more cleanup 2023-12-01 17:41:51 +00:00
.drone.yml typo 2024-01-25 14:14:19 +00:00
.gitignore add livenessProbe to events worker 2024-01-25 17:41:32 +00:00
README.md branch is main not master 2024-01-25 11:57:53 +00:00

README.md

Infrastructure

Build Status

Setting up server

  • install docker
  • install k3s
  • apt-get install tmate

Backups

Longhorn

apt-get -y install open-iscsi nfs-common jq
curl -sSfL https://raw.githubusercontent.com/longhorn/longhorn/v1.5.3/scripts/environment_check.sh | bash

Velero

velero install \
    --use-node-agent \
    --privileged-node-agent \
    --uploader-type=restic \
    --features=EnableCSI \
    --provider aws \
    --plugins velero/velero-plugin-for-aws:v1.2.1 \
    --bucket velero \
    --secret-file ./secrets/credentials-velero \
    --use-volume-snapshots=true \
    --backup-location-config region=eu,s3ForcePathStyle="true",s3Url=https://eu2.contabostorage.com \
    --wait

If there's an issue with the credentials:

kubectl create secret generic cloud-credentials --namespace velero --from-file=cloud=./secrets/credentials-velero --dry-run=client -o yaml | kubectl apply -f -

Connect to services

Postgres: kubectl -n databases port-forward pod/postgres-0 5432:5432