update service config
This commit is contained in:
		| @@ -1,19 +1,43 @@ | ||||
| apiVersion: v1 | ||||
| kind: Service | ||||
| metadata: | ||||
|   name: syncthing | ||||
|   name: syncthing-web | ||||
| spec: | ||||
|   selector: | ||||
|     app: syncthing | ||||
|   type: ClusterIP | ||||
|   ports: | ||||
|   - port: 8384 | ||||
|     targetPort: 8384 | ||||
| --- | ||||
| apiVersion: v1 | ||||
| kind: Service | ||||
| annotations: | ||||
|   metallb.universe.tf/allow-shared-ip: syncthing-service | ||||
|  | ||||
| metadata: | ||||
|   name: syncthing-listen | ||||
| spec: | ||||
|   selector: | ||||
|     app: syncthing | ||||
|   type: LoadBalancer | ||||
|   LoadBalancerIP: 192.168.3.4 | ||||
|   ports: | ||||
|   - port: 8384 | ||||
|     targetPort: 8384 | ||||
|     name: syncthing-web | ||||
|   - port: 22000 | ||||
|     targetPort: 22000 | ||||
|     name: syncthing-listen | ||||
|   - port: 22000 | ||||
|     targetPort: 22000 | ||||
|     protocol: TCP | ||||
| --- | ||||
| apiVersion: v1 | ||||
| kind: Service | ||||
| annotations: | ||||
|   metallb.universe.tf/allow-shared-ip: syncthing-service | ||||
|  | ||||
| metadata: | ||||
|   name: syncthing-discover | ||||
| spec: | ||||
|   selector: | ||||
|     app: syncthing | ||||
|   ports: | ||||
|   - port: 22000 | ||||
|     targetPort: 22000 | ||||
|     protocol: UDP | ||||
|   | ||||
		Reference in New Issue
	
	Block a user