支持K8S部署
This commit is contained in:
14
document/k8s/mall-auth-service.yaml
Normal file
14
document/k8s/mall-auth-service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mall-auth-service
|
||||
namespace: default
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: mall-auth
|
||||
ports:
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 8401
|
||||
targetPort: 8401
|
||||
Reference in New Issue
Block a user