fix: 修改k8s部署,增加ingress,容器化CICD开启。 (#1158)

This commit is contained in:
tscuite
2022-07-09 14:27:37 +08:00
committed by GitHub
parent d52d909171
commit 05f13c61fc
13 changed files with 65 additions and 33 deletions

View File

@@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: gva-server
annotations:
flipped-aurora/gin-vue-admin: backend
github: "https://github.com/flipped-aurora/gin-vue-admin.git"
app.kubernetes.io/version: 0.0.1
labels:
app: gva-server
version: gva-vue3
spec:
selector:
app: gva-server
version: gva-vue3
ports:
- port: 8888
name: http
targetPort: 8888
type: ClusterIP
# type: NodePort