blob: 60dede293232ffbb56cd8643c8d4dd1bb8ba33b1 (
plain)
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
|
apiVersion: v1
kind: Service
metadata:
name: snort-service
labels:
app: snort
spec:
type: NodePort
ports:
- port: 80
protocol: TCP
name: http
selector:
app: snort
---
apiVersion: v1
kind: ReplicationController
metadata:
name: snort-pod
spec:
replicas: 2
template:
metadata:
labels:
app: snort
spec:
containers:
- name: snort
image: frapsoft/snort
args: ["-v"]
ports:
- containerPort: 80
|