File size: 795 Bytes
981d431
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
apiVersion: apps/v1
kind: Deployment
metadata:
  name: multimodal-ml-engine
  namespace: phishing-defense-mcp
spec:
  replicas: 2
  selector:
    matchLabels:
      app: multimodal-ml-engine
  template:
    metadata:
      labels:
        app: multimodal-ml-engine
    spec:
      containers:
        - name: ml-engine
          image: ghcr.io/amal340/multimodal-ml-engine:1.0.0
          ports:
            - containerPort: 8081
          resources:
            requests:
              cpu: "1000m"
              memory: "1Gi"
            limits:
              cpu: "4000m"
              memory: "4Gi"
---
apiVersion: v1
kind: Service
metadata:
  name: ml-engine
  namespace: phishing-defense-mcp
spec:
  selector:
    app: multimodal-ml-engine
  ports:
    - port: 8081
      targetPort: 8081