move gateway
This commit is contained in:
23
cilium/src/gateway.yaml
Normal file
23
cilium/src/gateway.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: Gateway
|
||||||
|
metadata:
|
||||||
|
name: first-gateway
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
gatewayClassName: cilium
|
||||||
|
listeners:
|
||||||
|
- name: kms
|
||||||
|
protocol: TCP
|
||||||
|
port: 1688
|
||||||
|
- name: relay-port
|
||||||
|
protocol: TCP
|
||||||
|
port: 21117
|
||||||
|
- name: nat-port
|
||||||
|
protocol: TCP
|
||||||
|
port: 21115
|
||||||
|
- name: registry-port
|
||||||
|
protocol: TCP
|
||||||
|
port: 21116
|
||||||
|
- name: heartbeat-port
|
||||||
|
protocol: UDP
|
||||||
|
port: 21116
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
apiVersion: gateway.networking.k8s.io/v1
|
|
||||||
kind: Gateway
|
|
||||||
metadata:
|
|
||||||
name: kms-gateway
|
|
||||||
spec:
|
|
||||||
gatewayClassName: cilium
|
|
||||||
listeners:
|
|
||||||
- name: kms
|
|
||||||
protocol: TCP
|
|
||||||
port: 1688
|
|
||||||
@@ -5,7 +5,6 @@ resources:
|
|||||||
- cr.yaml
|
- cr.yaml
|
||||||
- crb.yaml
|
- crb.yaml
|
||||||
- deploy.yaml
|
- deploy.yaml
|
||||||
- gateway.yaml
|
|
||||||
- sa.yaml
|
- sa.yaml
|
||||||
- svc.yaml
|
- svc.yaml
|
||||||
- tcproute.yaml
|
- tcproute.yaml
|
||||||
@@ -3,6 +3,9 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: kms-service
|
name: kms-service
|
||||||
|
namespace: kms
|
||||||
|
annotations:
|
||||||
|
io.cilium/lb-ipam-ips: 192.168.0.181
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: kms
|
app: kms
|
||||||
@@ -11,4 +14,3 @@ spec:
|
|||||||
- port: 1688
|
- port: 1688
|
||||||
targetPort: 1688
|
targetPort: 1688
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user