Ad S3 storage block to Pixelfed .env file

## S3 Configuration (Post-Installer)
PF_ENABLE_CLOUD=true
FILESYSTEM_DRIVER=local
FILESYSTEM_CLOUD=s3
AWS_ACCESS_KEY_ID=[KEY_ID]
AWS_SECRET_ACCESS_KEY=[KEY_SECRET]
AWS_DEFAULT_REGION=[REGION]
AWS_BUCKET=metapixl-media
AWS_ENDPOINT=[URL_TO_S3_STORAGE]
AWS_USE_PATH_STYLE_ENDPOINT=true

Enable Cloud storage in admin dashboard

Run this command to migrate media to S3 storage

php artisan media:migrate2cloud

Move avatar storage to S3 with this command

php artisan avatar:storage

Check Nodes

kubectl get nodes
➜  ~ kubectl get nodes                                              
NAME      STATUS   ROLES                  AGE    VERSION
master1   Ready    control-plane,master   517d   v1.21.5
master2   Ready    control-plane,master   517d   v1.21.5
master3   Ready    control-plane,master   517d   v1.21.5
worker1   Ready    worker                 517d   v1.21.5
worker2   Ready    worker                 517d   v1.21.5
worker3   Ready    worker                 517d   v1.21.5

Cordon the node

kubectl cordon [NODENAME]

Drain the node

kubectl drain [NODENAME] --ignore-daemonsets --force --delete-local-data

Uncordon the node

kubectl uncordon [NODENAME]