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 | |