支持K8S部署

This commit is contained in:
macro
2021-03-09 20:28:13 +08:00
parent da2b648e45
commit 40dd0280dd
12 changed files with 343 additions and 0 deletions

View 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