Commit d24fb63b by 据说甜蜜呢

删除不必要的服务

parent e8fce92b
Pipeline #4165 passed with stage
in 14 seconds
...@@ -2,24 +2,7 @@ apiVersion: v1 ...@@ -2,24 +2,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
app: light app: auto-devops-pipelines
component: common
name: common-api
namespace: {{ .Values.namespace }}
spec:
type: ClusterIP
ports:
- port: 80
selector:
app: light
component: common
type: webapi
---
apiVersion: v1
kind: Service
metadata:
labels:
app: light
component: basket component: basket
name: basket-api name: basket-api
namespace: {{ .Values.namespace }} namespace: {{ .Values.namespace }}
...@@ -28,7 +11,7 @@ spec: ...@@ -28,7 +11,7 @@ spec:
ports: ports:
- port: 80 - port: 80
selector: selector:
app: light app: auto-devops-pipelines
component: basket component: basket
type: webapi type: webapi
...@@ -37,7 +20,7 @@ apiVersion: v1 ...@@ -37,7 +20,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
app: light app: auto-devops-pipelines
component: catalog component: catalog
name: catalog-api name: catalog-api
namespace: {{ .Values.namespace }} namespace: {{ .Values.namespace }}
...@@ -46,7 +29,7 @@ spec: ...@@ -46,7 +29,7 @@ spec:
ports: ports:
- port: 80 - port: 80
selector: selector:
app: light app: auto-devops-pipelines
component: catalog component: catalog
type: webapi type: webapi
...@@ -55,7 +38,7 @@ apiVersion: v1 ...@@ -55,7 +38,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
app: light app: auto-devops-pipelines
component: identity component: identity
name: identity-api name: identity-api
namespace: {{ .Values.namespace }} namespace: {{ .Values.namespace }}
...@@ -64,7 +47,7 @@ spec: ...@@ -64,7 +47,7 @@ spec:
ports: ports:
- port: 80 - port: 80
selector: selector:
app: light app: auto-devops-pipelines
component: identity component: identity
type: webapi type: webapi
...@@ -73,7 +56,7 @@ apiVersion: v1 ...@@ -73,7 +56,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
app: light app: auto-devops-pipelines
component: marketing component: marketing
name: marketing-api name: marketing-api
namespace: {{ .Values.namespace }} namespace: {{ .Values.namespace }}
...@@ -82,7 +65,7 @@ spec: ...@@ -82,7 +65,7 @@ spec:
ports: ports:
- port: 80 - port: 80
selector: selector:
app: light app: auto-devops-pipelines
component: marketing component: marketing
type: webapi type: webapi
...@@ -91,7 +74,7 @@ apiVersion: v1 ...@@ -91,7 +74,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
app: light app: auto-devops-pipelines
component: ordering component: ordering
name: ordering-api name: ordering-api
namespace: {{ .Values.namespace }} namespace: {{ .Values.namespace }}
...@@ -100,7 +83,7 @@ spec: ...@@ -100,7 +83,7 @@ spec:
ports: ports:
- port: 80 - port: 80
selector: selector:
app: light app: auto-devops-pipelines
component: ordering component: ordering
type: webapi type: webapi
...@@ -109,7 +92,7 @@ apiVersion: v1 ...@@ -109,7 +92,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
app: light app: auto-devops-pipelines
component: payment component: payment
name: payment-api name: payment-api
namespace: {{ .Values.namespace }} namespace: {{ .Values.namespace }}
...@@ -118,43 +101,6 @@ spec: ...@@ -118,43 +101,6 @@ spec:
ports: ports:
- port: 80 - port: 80
selector: selector:
app: light app: auto-devops-pipelines
component: payment component: payment
type: webapi type: webapi
\ No newline at end of file
---
apiVersion: v1
kind: Service
metadata:
labels:
app: light
component: searching
name: searching-yu
namespace: {{ .Values.namespace }}
spec:
type: ClusterIP
ports:
- port: 80
selector:
app: light
component: searching
type: webapi
---
apiVersion: v1
kind: Service
metadata:
labels:
app: light
role: aggregation
component: light
name: aggregation-light
namespace: {{ .Values.namespace }}
spec:
type: ClusterIP
ports:
- port: 80
selector:
app: light
role: aggregation
component: light
type: webapi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment