añadido dashboard y corregido metallb
This commit is contained in:
36
test/testpod.yaml
Normal file
36
test/testpod.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: test-http
|
||||
# annotations:
|
||||
# metallb.universe.tf/address-pool: default
|
||||
spec:
|
||||
# type: NodePort
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: 192.168.200.10
|
||||
selector:
|
||||
app: test-http
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
# nodePort: 30080
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: test-http
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: test-http
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: test-http
|
||||
spec:
|
||||
containers:
|
||||
- name: test-http
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- containerPort: 80
|
||||
Reference in New Issue
Block a user