2022-07-27 11:55:46 +00:00
|
|
|
env:
|
|
|
|
TZ: UTC
|
2022-07-27 12:45:04 +00:00
|
|
|
OCTOPRINT_PORT: 5000
|
|
|
|
|
2022-07-27 11:55:46 +00:00
|
|
|
image:
|
2022-07-27 12:45:04 +00:00
|
|
|
pullPolicy: Always
|
|
|
|
repository: nold360/octoprint
|
|
|
|
tag: "latest"
|
|
|
|
|
2022-07-27 11:55:46 +00:00
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: vault-issuer
|
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: 100m
|
|
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
|
|
enabled: true
|
|
|
|
hosts:
|
|
|
|
- host: octo.dc
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
- path: /stream
|
|
|
|
pathType: Prefix
|
|
|
|
service:
|
2022-07-27 12:45:04 +00:00
|
|
|
name: octoprint-octoprint-stream
|
2022-07-27 11:55:46 +00:00
|
|
|
port: 80
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- octo.dc
|
|
|
|
secretName: octo-tls
|
2022-07-27 12:45:04 +00:00
|
|
|
|
2022-07-27 11:55:46 +00:00
|
|
|
octoprint:
|
|
|
|
plugins:
|
|
|
|
install: true
|
|
|
|
plugins:
|
|
|
|
- https://github.com/LazeMSS/OctoPrint-UICustomizer/archive/main.zip
|
|
|
|
- https://github.com/NilsRo/OctoPrint-SlicerEstimator/archive/master.zip
|
|
|
|
upgrade: true
|
2022-07-27 12:45:04 +00:00
|
|
|
|
2022-07-27 11:55:46 +00:00
|
|
|
persistence:
|
|
|
|
camera:
|
2022-07-27 12:45:04 +00:00
|
|
|
enabled: false
|
2022-07-27 11:55:46 +00:00
|
|
|
hostPath: /dev/video0
|
|
|
|
type: hostPath
|
2022-07-27 12:45:04 +00:00
|
|
|
|
2022-07-27 11:55:46 +00:00
|
|
|
data:
|
|
|
|
accessMode: ReadWriteOnce
|
|
|
|
enabled: true
|
|
|
|
mountPath: /octoprint
|
|
|
|
size: 1Gi
|
|
|
|
storageClass: local-path
|
2022-07-27 12:45:04 +00:00
|
|
|
|
2022-07-27 11:55:46 +00:00
|
|
|
printer:
|
|
|
|
enabled: true
|
|
|
|
hostPath: /dev/ttyACM0
|
|
|
|
type: hostPath
|
2022-07-27 12:45:04 +00:00
|
|
|
|
|
|
|
#podAnnotations:
|
|
|
|
#prometheus.io/path: /plugin/prometheus_exporter/metrics
|
|
|
|
#prometheus.io/port: "5000"
|
|
|
|
#prometheus.io/scrape: "true"
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 1000
|
|
|
|
runAsGroup: 20 #dialout
|
|
|
|
fsGroup: 20
|
|
|
|
|
2022-07-27 11:55:46 +00:00
|
|
|
securityContext:
|
|
|
|
privileged: true
|
2022-07-27 12:45:04 +00:00
|
|
|
|
2022-07-27 11:55:46 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 80
|
|
|
|
targetPort: 5000
|
2022-07-27 12:45:04 +00:00
|
|
|
|
2022-07-27 11:55:46 +00:00
|
|
|
stream:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
http-stream:
|
|
|
|
enabled: true
|
|
|
|
port: 80
|
|
|
|
targetPort: 8080
|
2022-07-27 12:45:04 +00:00
|
|
|
|
2022-07-27 11:55:46 +00:00
|
|
|
streamer:
|
|
|
|
device: /dev/video0
|
|
|
|
encoder: CPU
|
|
|
|
format: YUYV
|
|
|
|
framerate: 15
|
|
|
|
port: 8080
|
|
|
|
quality: 70
|
|
|
|
resolution: 640x480
|
2022-07-27 12:45:04 +00:00
|
|
|
|
2022-07-27 11:55:46 +00:00
|
|
|
ustreamer:
|
2022-07-27 12:45:04 +00:00
|
|
|
enabled: false
|
2022-07-27 11:55:46 +00:00
|
|
|
image: lib42/ustreamer
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
tag: latest
|
2022-07-27 12:45:04 +00:00
|
|
|
|
|
|
|
mjpg_streamer:
|
|
|
|
enabled: false
|
|
|
|
image: badsmoke/mjpg-streamer
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
tag: latest
|