Make authentik more stable and move it to the platform ns #1

Closed
opened 2024-09-03 12:11:57 +00:00 by allanger · 1 comment
Owner
  1. Give Authentik server more memory, I think something about 1Gb for starters

  2. Move it to the platform ns

it would require db migration, so

  1. Move it from one hf to another (applications -> platform)
  2. Make sure the old db has .spec.deletionProtected enabled
  3. Remove the app from the applications ns helmfile -e badhouseplants -f ./installations/applications/ -l name=authentik destroy
  4. Sync the platform helmfile
  5. Scale down all the authentik workloads to zero
  6. Use scripts to migrate the database
  7. Scale it up again and test gitea login
1. Give **Authentik server** more memory, I think something about 1Gb for starters 2. Move it to the platform ns it would require db migration, so 1. Move it from one hf to another (applications -> platform) 2. Make sure the old db has `.spec.deletionProtected` enabled 3. Remove the app from the `applications` ns `helmfile -e badhouseplants -f ./installations/applications/ -l name=authentik destroy` 4. Sync the `platform` helmfile 5. Scale down all the authentik workloads to zero 6. Use scripts to migrate the database 7. Scale it up again and test gitea login
Owner

Increased limits and requests for Authentik server to 1Gi in values.yaml

Removed app from applications ns and deployed it in platform ns

Migrated db using the script from k8s-cluster-config
Link: https://gitea.badhouseplants.net/badhouseplants/k8s-cluster-config/src/branch/main/scripts/migrate_postgres.sh

Increased limits and requests for Authentik server to 1Gi in values.yaml Removed app from applications ns and deployed it in platform ns Migrated db using the script from k8s-cluster-config Link: https://gitea.badhouseplants.net/badhouseplants/k8s-cluster-config/src/branch/main/scripts/migrate_postgres.sh
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: badhouseplants/k8s-deployment#1
No description provided.