Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D devops-argo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 曹中将
  • devops-argo
  • Merge requests
  • !134

Merged
Created 1 year ago by 曹中将@caozhongjiangOwner

update

  • Overview 0
  • Commits 1
  • Changes 4
  • 曹中将 @caozhongjiang approved this merge request 1 year ago

    approved this merge request

  • 曹中将 @caozhongjiang merged 1 year ago

    merged

  • 曹中将 @caozhongjiang mentioned in commit 170f4ddd 1 year ago

    mentioned in commit 170f4ddd

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • main (base)

and
  • latest version
    59f9eb8d
    1 commit, 1 year ago

4 files
+ 99
- 0

    Preferences

    File browser
    Compare changes
trading-platform/i‎cbc-deposit/…/local‎
deploym‎ent.yaml‎ +34 -0
ingres‎s.yaml‎ +27 -0
kustomiza‎tion.yaml‎ +18 -0
servic‎e.yaml‎ +20 -0
trading-platform/icbc-deposit/bd-openapi/local/deployment.yaml 0 → 100644
+ 34
- 0
  • View file @ 59f9eb8d

  • Edit in single-file editor

  • Open in Web IDE

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: bd-openapi
name: bd-openapi
namespace: icbc-deposit
spec:
selector:
matchLabels:
app: bd-openapi
template:
metadata:
labels:
app: bd-openapi
spec:
containers:
- args:
- /opt/bd-openapi.jar
command:
- /bin/start
env:
- name: APP_ENV
value: local
name: bd-openapi
volumes:
- name: logs
persistentVolumeClaim:
claimName: matrix-demo-log-pvc
- name: data
persistentVolumeClaim:
claimName: matrix-demo-data-pvc
trading-platform/icbc-deposit/bd-openapi/local/ingress.yaml 0 → 100644
+ 27
- 0
  • View file @ 59f9eb8d

  • Edit in single-file editor

  • Open in Web IDE

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 50m
nginx.ingress.kubernetes.io/proxy-connect-timeout: "600"
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
nginx.ingress.kubernetes.io/service-weight: ""
nginx.org/client-max-body-size: 100m
prometheus.io/http-probe: "true"
prometheus.io/scrape: "true"
name: bd-openapi
namespace: icbc-deposit
spec:
ingressClassName: nginx
rules:
- host: be-openapi-local.qimoyun.com
http:
paths:
- backend:
service:
name: bd-openapi
port:
number: 8081
path: /
pathType: Prefix
trading-platform/icbc-deposit/bd-openapi/local/kustomization.yaml 0 → 100644
+ 18
- 0
  • View file @ 59f9eb8d

  • Edit in single-file editor

  • Open in Web IDE

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
patchesStrategicMerge:
- deployment.yaml
- ingress.yaml
- service.yaml
commonLabels:
variant: sdev
resources:
- ../base
namespace: icbc-deposit-sdev
replicas:
- count: 1
name: bd-openapi
images:
- name: harbor-test.cartechfin.com/trading-platform/bd-openapi
newTag: dev20230517-084257
trading-platform/icbc-deposit/bd-openapi/local/service.yaml 0 → 100644
+ 20
- 0
  • View file @ 59f9eb8d

  • Edit in single-file editor

  • Open in Web IDE

apiVersion: v1
kind: Service
metadata:
annotations:
prometheus.io/http-probe: "true"
prometheus.io/scrape: "true"
labels:
app: bd-openapi
name: bd-openapi
namespace: icbc-deposit
spec:
ports:
- name: http8081
port: 8081
protocol: TCP
targetPort: 8081
selector:
app: bd-openapi
sessionAffinity: None
#type: ClusterIP
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Lock merge request
Unlocked
1
1 participant
曹中将
Reference: caozhongjiang/devops-argo!134
Source branch: feature/czh

Menu

Projects Groups Snippets
Help