Skip to content

Commit cf19173

Browse files
author
lerndevops
authored
Create nagios.yml
1 parent 3a80417 commit cf19173

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

nagios/xi/nagios.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
kind: Deployment
2+
apiVersion: apps/v1
3+
metadata:
4+
name: nagios-xi
5+
spec:
6+
replicas: 1
7+
selector:
8+
matchLabels:
9+
app: nagiosxi
10+
template:
11+
metadata:
12+
labels:
13+
app: nagiosxi
14+
spec:
15+
nodeName: node1
16+
containers:
17+
- name: app
18+
image: lerndevops/nagios:xi5.5.6
19+
20+
---
21+
kind: Service
22+
apiVersion: v1
23+
metadata:
24+
name: nagiosxi-svc
25+
spec:
26+
type: NodePort
27+
selector:
28+
app: nagiosxi
29+
ports:
30+
- port: 80
31+
targetPort: 80

0 commit comments

Comments
 (0)