feat: change main service
This commit is contained in:
32
clusters/cl01tl/helm/garage/templates/service.yaml
Normal file
32
clusters/cl01tl/helm/garage/templates/service.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: garage-main
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: garage-main
|
||||
app.kubernetes.io/service: garage-main
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||
spec:
|
||||
ports:
|
||||
- name: admin
|
||||
port: 3903
|
||||
protocol: TCP
|
||||
targetPort: 3903
|
||||
- name: rpc
|
||||
port: 3901
|
||||
protocol: TCP
|
||||
targetPort: 3901
|
||||
- name: s3
|
||||
port: 3900
|
||||
protocol: TCP
|
||||
targetPort: 3900
|
||||
- name: web
|
||||
port: 3902
|
||||
protocol: TCP
|
||||
targetPort: 3902
|
||||
selector:
|
||||
app.kubernetes.io/instance: garage
|
||||
app.kubernetes.io/name: garage
|
||||
garage-type: server
|
||||
@@ -224,27 +224,6 @@ garage:
|
||||
[admin]
|
||||
api_bind_addr = "[::]:3903"
|
||||
metrics_require_token = true
|
||||
service:
|
||||
garage-main:
|
||||
forceRename: garage-main
|
||||
controller: server-2
|
||||
ports:
|
||||
s3:
|
||||
port: 3900
|
||||
targetPort: 3900
|
||||
protocol: HTTP
|
||||
rpc:
|
||||
port: 3901
|
||||
targetPort: 3901
|
||||
protocol: HTTP
|
||||
web:
|
||||
port: 3902
|
||||
targetPort: 3902
|
||||
protocol : HTTP
|
||||
admin:
|
||||
port: 3903
|
||||
targetPort: 3903
|
||||
protocol: HTTP
|
||||
server-1:
|
||||
forceRename: garage-1
|
||||
controller: server-1
|
||||
|
||||
Reference in New Issue
Block a user