Add home root app

This commit is contained in:
2022-04-22 10:49:31 +10:00
parent 8e34f6fb90
commit 55817be8bc
2 changed files with 3 additions and 15 deletions
+3
View File
@@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: home
namespace: home-apps
spec:
ports:
- port: 80
@@ -14,6 +15,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: home
namespace: home-apps
spec:
selector:
matchLabels:
@@ -42,6 +44,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: home-ingress
namespace: home-apps
annotations:
kubernetes.io/ingress.class: "nginx"
kubernetes.io/tls-acme: "true"
-15
View File
@@ -1,15 +0,0 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: local-prometheus-pv
labels:
type: local
spec:
storageClassName: manual
persistentVolumeReclaimPolicy: Recycle
capacity:
storage: 200Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/prometheus"