Skip to content

luechtdiode/mk8-argo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mk8-argo

App Status Entrypoint
bootstrap App Status n/a
sealed-secrets App Status n/a
argo-cd App Status ArgoCD
traefik App Status Traefik
sharevic.net App Status Sharevic Homepage
mbq App Status Mobile Ticket queue
kutuapp-test App Status KuTu App Test
kutuapp App Status KuTu App
kmgetubs19 App Status KmGeTuBS19 Homepage

Installation

export NIC_IPS=<iprange for metallb>
export ACCESSNAME=<storj.accessname>
export ACCESSGRANT=<storj.accessgrant>
export BACKUP_DATE=<date of backup to restore from>
#bash -c "$(curl -fsSL https://raw.githubusercontent.com/luechtdiode/mk8-argo/master/setup.sh)"
bash -ci "$(curl -fsSL https://raw.githubusercontent.com/luechtdiode/mk8-argo/mk8-128/setup.sh)"

Troubleshooting

After bootstrapping via argo-cd, some deployments hung stuck sometimes. Follow these steps to solve the issues:

login into kube-dashboard (kubectl get svc -n kube-system, get NodePort, cat .kube/config get token)

External routing to nginx not found

  • check, whether the loadbalancer MetalLB could take the given nic_ips.
  • patch with metallb/metallb-ippool.yaml and the given ip-ranges

Prometheus keeps in sync-failures

  • reapply unsynced resources with options force and without schema checking and replace-option
  • refresh and wait

Secrets couldnt be unsealed

  • use bootstrap.sh with restoreSecrets. If it doesnt help, reseal an push sealed-secrets to git.

Issues with Appdata or DB restore

  • got to crd argo application, delete hung apps
  • source bootstrap.sh
  • use boostrapViaArgo to reinstall argo-managed apps, wait until all pods are running
  • use restoreAppStates only, if the disk-backups can be reused by the new installed components. In some cases, incompatiblity issues can happen. In such case, use the backuprestore scripts and restore dedicated and with manual parametrization.
  • use restoreAppDBStates only, if the disk-backups can be reused by the new installed components. In some cases, incompatiblity issues can happen. In such case, use the backuprestore scripts and restore dedicated and with manual parametrization.