neu ist der mai
This commit is contained in:
@@ -5,4 +5,5 @@ metadata:
|
|||||||
namespace: metallb-system
|
namespace: metallb-system
|
||||||
spec:
|
spec:
|
||||||
addresses:
|
addresses:
|
||||||
- 192.168.178.220-192.168.178.250
|
# - 192.168.178.220-192.168.178.225 #pve-82
|
||||||
|
- 192.168.178.226-192.168.178.240 #pve-83
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ https://canthonyscott.com/setting-up-a-k3s-kubernetes-cluster-within-proxmox/
|
|||||||
|
|
||||||
Following https://metallb.universe.tf/installation/ (0.14.3)
|
Following https://metallb.universe.tf/installation/ (0.14.3)
|
||||||
|
|
||||||
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.14.3/config/manifests/metallb-native.yaml
|
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.14.9/config/manifests/metallb-native.yaml
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,8 @@ kubectl expose deploy schnipo --port=80 --target-port=8080 --type=LoadBalancer -
|
|||||||
|
|
||||||
```
|
```
|
||||||
#Create deploy
|
#Create deploy
|
||||||
kubectl create deploy nginx --image=nginx
|
k create ns test
|
||||||
|
kubectl create deploy nginx --image=nginx -n test
|
||||||
|
|
||||||
kubectl scale --replicas=3 deployment/nginx -n test
|
kubectl scale --replicas=3 deployment/nginx -n test
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
ports:
|
ports:
|
||||||
web:
|
web:
|
||||||
|
<<<<<<< HEAD
|
||||||
redirections:
|
redirections:
|
||||||
entryPoint:
|
entryPoint:
|
||||||
to: websecure
|
to: websecure
|
||||||
@@ -7,6 +8,14 @@ ports:
|
|||||||
logs:
|
logs:
|
||||||
general:
|
general:
|
||||||
level: DEBUG
|
level: DEBUG
|
||||||
|
=======
|
||||||
|
redirections:
|
||||||
|
entryPoint:
|
||||||
|
to: websecure
|
||||||
|
scheme: https
|
||||||
|
permanent: true
|
||||||
|
|
||||||
|
>>>>>>> 1b0f340 (neu ist der mai)
|
||||||
ingressRoute:
|
ingressRoute:
|
||||||
dashboard:
|
dashboard:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -30,10 +30,11 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: echopod-service
|
name: echopod-service
|
||||||
spec:
|
spec:
|
||||||
type: NodePort # Change to LoadBalancer if using a cloud provider
|
type: LoadBalancer # Change to LoadBalancer if using a cloud provider
|
||||||
|
# type: NodePort # Change to LoadBalancer if using a cloud provider
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
nodePort: 30080 # Port to expose on the node
|
# nodePort: 30080 # Port to expose on the node
|
||||||
selector:
|
selector:
|
||||||
app: echopod
|
app: echopod
|
||||||
Reference in New Issue
Block a user