## Summary - Move devpi Dockerfile from argocd/manifests to containers/devpi/ - Add containers for: transmission, teslamate, miniflux, kiwix-serve, kubectl - Update all k8s deployments to use local images (registry.ops.eblu.me/blumeops/*) - All containers use v1.0.0 tag for initial release ## Containers Added | Container | Source | Notes | |-----------|--------|-------| | devpi | python:3.12-slim | Existing, moved to containers/ | | kubectl | alpine + download | For zim-watcher CronJob | | miniflux | Go build from source | v2.2.16 | | kiwix-serve | Download pre-built binary | v3.8.1 | | transmission | alpine + apk install | Simpler than linuxserver image | | teslamate | Elixir build from source | v2.2.0 | ## Deployment and Testing - [ ] Build and tag devpi-v1.0.0 - [ ] Build and tag kubectl-v1.0.0 - [ ] Build and tag miniflux-v1.0.0 - [ ] Build and tag kiwix-serve-v1.0.0 - [ ] Build and tag transmission-v1.0.0 - [ ] Build and tag teslamate-v1.0.0 - [ ] Sync ArgoCD apps and verify services 🤖 Generated with [Claude Code](https://claude.com/claude-code) Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/61
62 lines
1.5 KiB
YAML
62 lines
1.5 KiB
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: devpi
|
|
namespace: devpi
|
|
spec:
|
|
serviceName: devpi
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: devpi
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: devpi
|
|
spec:
|
|
securityContext:
|
|
fsGroup: 1000
|
|
containers:
|
|
- name: devpi
|
|
image: registry.ops.eblu.me/blumeops/devpi:v1.0.0
|
|
env:
|
|
- name: DEVPI_ROOT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: devpi-root
|
|
key: password
|
|
- name: DEVPI_OUTSIDE_URL
|
|
value: "https://pypi.ops.eblu.me"
|
|
ports:
|
|
- containerPort: 3141
|
|
name: http
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: /devpi
|
|
resources:
|
|
requests:
|
|
memory: "256Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "2Gi" # High limit for initial PyPI index build, reclaimed after
|
|
cpu: "500m"
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /+api
|
|
port: 3141
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 30
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /+api
|
|
port: 3141
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
volumeClaimTemplates:
|
|
- metadata:
|
|
name: data
|
|
spec:
|
|
accessModes: ["ReadWriteOnce"]
|
|
resources:
|
|
requests:
|
|
storage: 50Gi
|