external ingress

This commit is contained in:
2025-01-18 19:22:39 +01:00
parent ad9f37b20a
commit 6465932a1b
5 changed files with 48 additions and 23 deletions

17
service.yaml Normal file
View File

@@ -0,0 +1,17 @@
---
apiVersion: v1
kind: Service
metadata:
name: nginx-external
namespace: ingress-nginx
spec:
type: LoadBalancer
selector:
app.kubernetes.io/name: nginx-external
ports:
- name: http
port: 80
targetPort: 80
- name: https
port: 443
targetPort: 443