diff --git a/k8s/apps/tg-bots/desubot.yaml b/k8s/apps/tg-bots/desubot.yaml new file mode 100644 index 0000000..b24c6b0 --- /dev/null +++ b/k8s/apps/tg-bots/desubot.yaml @@ -0,0 +1,36 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: desubot + labels: + app: desubot + annotations: + reloader.stakater.com/auto: "true" +spec: + selector: + matchLabels: + app: desubot + replicas: 1 + strategy: + type: RollingUpdate + template: + metadata: + labels: + app: desubot + spec: + nodeSelector: + kubernetes.io/hostname: master.tail2fe2d.ts.net + containers: + - name: desubot + image: 'ultradesu/desubot:latest' + imagePullPolicy: Always + envFrom: + - secretRef: + name: desubot + env: + - name: RUST_LOG + value: "info" + + +