22 lines
768 B
Markdown
22 lines
768 B
Markdown
# Portainer deployment notes
|
|
|
|
Generated from the current Kubernetes deployment in namespace `discord-bots`. Secret values are in the local `portainer-*.env` files.
|
|
|
|
## Kubernetes source
|
|
|
|
- Deployment: `prepbot`
|
|
- Replicas: `1`
|
|
- Rolling update: maxSurge `1`, maxUnavailable `1`
|
|
- minReadySeconds: `120`
|
|
- Labels/selectors: `app=prepbot`
|
|
- Image pull secrets: `none required for Portainer stack`
|
|
|
|
## Containers
|
|
|
|
- `prepbot`: image `gitea.wayfinderak.com/wayfinderak/prepbot:latest`; env: DISCORD_TOKEN, LINK_CHANNEL, CHAT_CHANNEL; ports: none; requests: {'cpu': '1', 'memory': '512Mi'}; limits: {'cpu': '2', 'memory': '1Gi'}
|
|
|
|
## Portainer files
|
|
|
|
- `portainer-stack.yml` - Docker Compose stack to paste/use in Portainer.
|
|
- `portainer-app.env` - bot runtime secrets/env.
|