view deploy_ui.yaml @ 43:a7b644dc1b4b

ridiculous fix for vite not proxying urls with . in them
author drewp@bigasterisk.com
date Fri, 06 Dec 2024 00:58:46 -0800
parents 1fa90a903621
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