Skip to content

Commit

Permalink
Add Kubernetes resources
Browse files Browse the repository at this point in the history
  • Loading branch information
jrauh01 committed Dec 1, 2023
1 parent 82f4c4c commit be4bf11
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
15 changes: 15 additions & 0 deletions icinga-kubernetes-expose-8080.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: v1
kind: Service
metadata:
name: icinga-kubernetes
labels:
app: icinga-kubernetes
spec:
type: NodePort
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
app: icinga-kubernetes
14 changes: 14 additions & 0 deletions icinga-kubernetes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
apiVersion: v1
kind: Pod
metadata:
name: icinga-kubernetes
labels:
app: icinga-kubernetes
spec:
containers:
- name: icinga-kubernetes
image: icinga-kubernetes
imagePullPolicy: Never
ports:
- containerPort: 8080

0 comments on commit be4bf11

Please sign in to comment.