File tree 11 files changed +45
-10
lines changed
11 files changed +45
-10
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ metadata:
8
8
higress.io/resource-definer : higress
9
9
name : higress-console
10
10
namespace : higress-system
11
- resourceVersion : " 2"
11
+ creationTimestamp : " 2000-01-01T00:00:00Z"
12
+ resourceVersion : " 1"
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ apiVersion: gateway.networking.k8s.io/v1beta1
2
2
kind : GatewayClass
3
3
metadata :
4
4
name : higress-gateway
5
+ creationTimestamp : " 2000-01-01T00:00:00Z"
5
6
resourceVersion : " 1"
6
7
spec :
7
8
controllerName : higress.io/gateway-controller
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ kind: Gateway
3
3
metadata :
4
4
name : higress-gateway
5
5
namespace : higress-system
6
+ creationTimestamp : " 2000-01-01T00:00:00Z"
6
7
resourceVersion : " 1"
7
8
spec :
8
9
gatewayClassName : higress-gateway
Original file line number Diff line number Diff line change
1
+ apiVersion : networking.k8s.io/v1
2
+ kind : Ingress
3
+ metadata :
4
+ name : higress-console
5
+ namespace : higress-system
6
+ creationTimestamp : " 2000-01-01T00:00:00Z"
7
+ resourceVersion : " 1"
8
+ annotations :
9
+ higress.io/destination : higress-console.static
10
+ higress.io/ignore-path-case : " false"
11
+ spec :
12
+ rules :
13
+ - http :
14
+ paths :
15
+ - backend :
16
+ resource :
17
+ apiGroup : networking.higress.io
18
+ kind : McpBridge
19
+ name : default
20
+ path : /
21
+ pathType : Prefix
Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ kind: McpBridge
3
3
metadata :
4
4
name : default
5
5
namespace : higress-system
6
+ creationTimestamp : " 2000-01-01T00:00:00Z"
6
7
resourceVersion : " 1"
7
- spec : {}
8
+ spec :
9
+ registries :
10
+ - domain : 127.0.0.1:8080
11
+ name : higress-console
12
+ port : 80
13
+ type : static
8
14
status : {}
Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
- data :
3
- iv : YEped3MzSWxQcFdXakBBdw==
4
- key : MSNhdG99PiMpMCRJUl0ya3xWQHR5aGc+TUB0YnxDb3o=
2
+ data : {}
5
3
kind : Secret
6
4
metadata :
7
5
name : higress-console
8
6
namespace : higress-system
7
+ creationTimestamp : " 2000-01-01T00:00:00Z"
9
8
resourceVersion : " 1"
10
9
type : Opaque
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ metadata:
5
5
higress : higress-system-higress-gateway
6
6
name : higress-gateway
7
7
namespace : higress-system
8
+ creationTimestamp : " 2000-01-01T00:00:00Z"
8
9
resourceVersion : " 1"
9
10
spec :
10
11
ports :
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ source $ROOT/base.sh
7
7
8
8
set -e
9
9
10
+ if [ " $ENABLE_CONSOLE_ROUTE " != " 1" ]; then
11
+ sudo rm /opt/data/defaultConfig/ingresses/higress-console.yaml
12
+ fi
10
13
cp -rn /opt/data/defaultConfig/* /data
11
14
12
15
apiserver --bind-address 127.0.0.1 --secure-port 8443 --storage file --file-root-dir /data --cert-dir /tmp
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ source $ROOT/base.sh
7
7
8
8
if [ " $MODE " != " console" -a " $MODE " != " full" ]; then
9
9
echo " Console won't run in mode $MODE ."
10
+ sleep 2
10
11
exit 0
11
12
fi
12
13
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ source $ROOT/base.sh
7
7
8
8
if [ " $MODE " != " gateway" -a " $MODE " != " full" ]; then
9
9
echo " Gateway won't run in mode $MODE ."
10
+ sleep 2
10
11
exit 0
11
12
fi
12
13
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ command=bash /usr/local/bin/start-apiserver.sh
13
13
priority=0
14
14
autostart=true
15
15
autorestart=unexpected
16
- startsecs=0
16
+ startsecs=1
17
17
stdout_logfile=/var/log/higress/apiserver.log
18
18
stdout_logfile_maxbytes=10MB
19
19
redirect_stderr=true
@@ -24,7 +24,7 @@ command=bash /usr/local/bin/start-controller.sh
24
24
priority=100
25
25
autostart=true
26
26
autorestart=unexpected
27
- startsecs=0
27
+ startsecs=1
28
28
stdout_logfile=/var/log/higress/controller.log
29
29
stdout_logfile_maxbytes=10MB
30
30
redirect_stderr=true
@@ -35,7 +35,7 @@ command=bash /usr/local/bin/start-pilot.sh
35
35
priority=200
36
36
autostart=true
37
37
autorestart=unexpected
38
- startsecs=0
38
+ startsecs=1
39
39
stdout_logfile=/var/log/higress/pilot.log
40
40
stdout_logfile_maxbytes=10MB
41
41
redirect_stderr=true
@@ -46,7 +46,7 @@ command=bash /usr/local/bin/start-gateway.sh
46
46
priority=300
47
47
autostart=true
48
48
autorestart=unexpected
49
- startsecs=0
49
+ startsecs=1
50
50
stdout_logfile=/var/log/higress/gateway.log
51
51
stdout_logfile_maxbytes=10MB
52
52
redirect_stderr=true
@@ -57,7 +57,7 @@ command=bash /usr/local/bin/start-console.sh
57
57
priority=900
58
58
autostart=true
59
59
autorestart=unexpected
60
- startsecs=0
60
+ startsecs=1
61
61
stdout_logfile=/var/log/higress/console.log
62
62
stdout_logfile_maxbytes=10MB
63
63
redirect_stderr=true
You can’t perform that action at this time.
0 commit comments