mirror of
https://github.com/EZ-Api/ez-api.git
synced 2026-01-14 01:02:32 +00:00
feat: 添加kubernetes部署
This commit is contained in:
27
test/k8s/kustomization.yaml
Normal file
27
test/k8s/kustomization.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
# Kustomization file for ez-api K8s deployment
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: ez-api-test-dev
|
||||
|
||||
# Common labels for all resources
|
||||
commonLabels:
|
||||
app.kubernetes.io/name: ez-api-test-dev
|
||||
app.kubernetes.io/managed-by: kustomize
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- configmap.yaml
|
||||
- secret.yaml
|
||||
- postgres.yaml
|
||||
- log-postgres.yaml
|
||||
- redis.yaml
|
||||
- ez-api.yaml
|
||||
- balancer.yaml
|
||||
|
||||
# Image customization (uncomment to override image tags)
|
||||
# images:
|
||||
# - name: harbor.rcfortress.site/library/ez-api
|
||||
# newTag: v1.0.0
|
||||
# - name: harbor.rcfortress.site/library/balancer
|
||||
# newTag: v1.0.0
|
||||
Reference in New Issue
Block a user