añadido dashboard y corregido metallb

This commit is contained in:
2025-08-11 01:17:35 +02:00
parent e29fd152d8
commit 0f46ec6f15
13 changed files with 185 additions and 45 deletions

View File

@@ -5,5 +5,5 @@ metadata:
namespace: metallb-system
spec:
addresses:
- 192.168.1.100 - 192.168.1.110
- 192.168.200.10 - 192.168.200.20
- 192.168.0.100-192.168.0.110
- 192.168.200.10-192.168.200.20

View File

@@ -1,38 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: lb-test
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-lb
namespace: lb-test
spec:
replicas: 1
selector:
matchLabels:
app: test-lb
template:
metadata:
labels:
app: test-lb
spec:
containers:
- name: test-lb
image: nginx:alpine
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: test-lb
namespace: lb-test
spec:
type: LoadBalancer
selector:
app: test-lb
ports:
- port: 80
targetPort: 80