view deploy_ui.yaml @ 30:1fa90a903621

upgrade many deps
author drewp@bigasterisk.com
date Mon, 26 Aug 2024 22:33:02 -0700
parents 27a754f8e8f8
children
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: reg:5000/video_image
          command:
           - node_modules/.bin/vite
          #  - --debug
          ports:
            - containerPort: 8002
---
apiVersion: v1
kind: Service
metadata:
  name: video
spec:
  ports:
    - { port: 8002, targetPort: 8002, name: vite }
  selector:
    app: video