Octobot with dex

This commit is contained in:
Moritz Graf 2021-11-06 14:56:35 +01:00
parent 7fa9f15c66
commit 96ff3ac391
3 changed files with 83 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,83 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
k8s-app: octobot
name: octobot
namespace: octobot
spec:
selector:
matchLabels:
k8s-app: octobot
strategy:
rollingUpdate:
maxUnavailable: 0
template:
metadata:
labels:
k8s-app: octobot
spec:
containers:
- resources:
requests:
cpu: "100m"
memory: "200Mi"
limits:
cpu: "1"
memory: "800Mi"
# args:
# - --cert-dir=/tmp
# - --secure-port=4443
# - --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
# - --kubelet-use-node-status-port
# - --kubelet-preferred-address-types=InternalIP
# - --v=2
# - --kubelet-insecure-tls
image: drakkarsoftware/octobot:stable
imagePullPolicy: Always
# livenessProbe:
# failureThreshold: 3
# httpGet:
# path: /livez
# port: https
# scheme: HTTPS
# periodSeconds: 10
name: metrics-server
ports:
- containerPort: 5001
name: http
protocol: TCP
# readinessProbe:
# failureThreshold: 3
# httpGet:
# path: /readyz
# port: https
# scheme: HTTPS
# periodSeconds: 10
# securityContext:
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
volumeMounts:
# - mountPath: /octobot/user
# name: octobot-config
# subPath: config.json
- mountPath: /octobot/user
name: user
- mountPath: /octobot/tentacles
name: tentacles
# - mountPath: /octobot/logs
# name: logs
nodeSelector:
kubernetes.io/os: linux
# serviceAccountName: metrics-server
volumes:
# - name: octobot-config
# configMap:
# name: octobot-config
- emptyDir: {}
name: user
- emptyDir: {}
name: tentacles
# - emptyDir: {}
# name: logs

Binary file not shown.