phishing-framework-code / deploy /k8s /03-ml-engine-deployment.yaml
Amal340's picture
Upload complete Cloud-Native Multimodal Phishing Detection Framework (Go + Deep Learning + XAI + K8s)
981d431 verified
Raw History Blame Contribute Delete
795 Bytes
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