mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-23 15:51:24 +00:00
Spam service (#269)
This commit is contained in:
35
spam/spamassassin-k8s.yaml
Normal file
35
spam/spamassassin-k8s.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: spamd-latest
|
||||
labels:
|
||||
app: spamd
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: spamd
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: spamd
|
||||
spec:
|
||||
containers:
|
||||
- name: spamd
|
||||
image: instantlinux/spamassassin:latest
|
||||
ports:
|
||||
- containerPort: 783
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: spamd
|
||||
spec:
|
||||
selector:
|
||||
app: spamd
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 783
|
||||
targetPort: 783
|
||||
Reference in New Issue
Block a user