refactor ingresses

This commit is contained in:
Roger Oriol
2026-06-23 00:26:29 +02:00
parent ce178d06c0
commit 153cf16194
32 changed files with 367 additions and 386 deletions

31
nas/nas.yaml Normal file
View File

@@ -0,0 +1,31 @@
apiVersion: v1
kind: Namespace
metadata:
name: nas
---
apiVersion: v1
kind: Service
metadata:
name: external-ip
namespace: nas
spec:
ports:
- name: app
port: 80
protocol: TCP
targetPort: 5000
clusterIP: None
type: ClusterIP
---
apiVersion: v1
kind: Endpoints
metadata:
name: external-ip
namespace: nas
subsets:
- addresses:
- ip: 10.88.88.238
ports:
- name: app
port: 5000
protocol: TCP