diff --git a/home.yaml b/home/home.yaml similarity index 94% rename from home.yaml rename to home/home.yaml index 4a7ca2d..2c492a1 100644 --- a/home.yaml +++ b/home/home.yaml @@ -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" diff --git a/local-pv-prometheus.yaml b/local-pv-prometheus.yaml deleted file mode 100644 index 0f218fb..0000000 --- a/local-pv-prometheus.yaml +++ /dev/null @@ -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"