diff --git a/k8s/octobot/config.secret.yaml b/k8s/octobot/config.secret.yaml new file mode 100644 index 0000000..0382e3a Binary files /dev/null and b/k8s/octobot/config.secret.yaml differ diff --git a/k8s/octobot/deployment.yaml b/k8s/octobot/deployment.yaml new file mode 100644 index 0000000..6c4865d --- /dev/null +++ b/k8s/octobot/deployment.yaml @@ -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 \ No newline at end of file diff --git a/k8s/octobot/dex.secret.values b/k8s/octobot/dex.secret.values new file mode 100644 index 0000000..d4855f7 Binary files /dev/null and b/k8s/octobot/dex.secret.values differ