Refactor kube-vip and rke2 configuration to use null for vip_interface

This commit is contained in:
2024-07-13 19:50:03 +08:00
parent a8dac32320
commit b6713b2830
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ spec:
- name: port
value: "6443"
- name: vip_interface
value: "enP4p65s0"
value: null
- name: vip_cidr
value: "32"
- name: cp_enable
+14
View File
@@ -0,0 +1,14 @@
# dashboard.yaml
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: dashboard
spec:
entryPoints:
- web
routes:
- match: Host(`node03.local`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
kind: Rule
services:
- name: api@internal
kind: TraefikService