Octobot with dex
This commit is contained in:
parent
7fa9f15c66
commit
96ff3ac391
Binary file not shown.
|
|
@ -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.
Loading…
Reference in New Issue