Mercurial > code > home > repos > video
view deploy_ui.yaml @ 2:78c1a2983010
rewrite UI and file serving parts; use vite
author | drewp@bigasterisk.com |
---|---|
date | Mon, 20 Mar 2023 20:26:02 -0700 |
parents | |
children | c8a41359505c |
line wrap: on
line source
apiVersion: apps/v1 kind: Deployment metadata: name: video spec: replicas: 1 selector: matchLabels: app: video template: metadata: labels: app: video annotations: { prometheus.io/scrape: "false" } spec: containers: - name: vite image: bang5:5000/video_image command: - pnpx - vite ports: - containerPort: 8002 # resources: # requests: # cpu: "1000m" --- apiVersion: v1 kind: Service metadata: name: video spec: ports: # - {port: 80, targetPort: 8000, name: py} - { port: 8002, targetPort: 8002, name: vite } selector: app: video