File size: 450 Bytes
d1de587
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
metadata:
  name: yolov8-function
  namespace: nuclio

spec:
  runtime: "python:3.9"
  handler: "main:handler"
  description: "YOLOv8 object detection"
  resources:
    limits:
      cpu: "500m"
      memory: "512Mi"
  build:
    path: "./"
    baseImage: "python:3.9"
    commands:
      - pip install -r requirements.txt
  triggers:
    myHttpTrigger:
      class: "http"
      kind: "http"
      maxWorkers: 4
      attributes:
        port: 8080