24 lines
428 B
YAML
24 lines
428 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: nginx-proxy-manager
|
|
namespace: nginx-proxy
|
|
spec:
|
|
type: LoadBalancer # или NodePort, если MetalLB не настроен
|
|
selector:
|
|
app: nginx-proxy-manager
|
|
ports:
|
|
- name: http
|
|
protocol: TCP
|
|
port: 80
|
|
targetPort: 80
|
|
- name: admin
|
|
protocol: TCP
|
|
port: 81
|
|
targetPort: 81
|
|
- name: https
|
|
protocol: TCP
|
|
port: 443
|
|
targetPort: 443
|
|
|