neu ist der mai
This commit is contained in:
@@ -5,4 +5,5 @@ metadata:
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
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)
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
ports:
|
||||
web:
|
||||
<<<<<<< HEAD
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: websecure
|
||||
@@ -7,6 +8,14 @@ ports:
|
||||
logs:
|
||||
general:
|
||||
level: DEBUG
|
||||
=======
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: websecure
|
||||
scheme: https
|
||||
permanent: true
|
||||
|
||||
>>>>>>> 1b0f340 (neu ist der mai)
|
||||
ingressRoute:
|
||||
dashboard:
|
||||
enabled: true
|
||||
|
||||
@@ -30,10 +30,11 @@ kind: Service
|
||||
metadata:
|
||||
name: echopod-service
|
||||
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:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
nodePort: 30080 # Port to expose on the node
|
||||
# nodePort: 30080 # Port to expose on the node
|
||||
selector:
|
||||
app: echopod
|
||||
Reference in New Issue
Block a user