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
  • !309

Merged
Created 5 months ago by 曹中将@caozhongjiangOwner

update

  • Overview 0
  • Commits 1
  • Changes 8
  • 曹中将 @caozhongjiang approved this merge request 5 months ago

    approved this merge request

  • 曹中将 @caozhongjiang merged 5 months ago

    merged

  • 曹中将 @caozhongjiang mentioned in commit ac7a6f6b 5 months ago

    mentioned in commit ac7a6f6b

  • 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
    2ab7be16
    1 commit, 5 months ago

8 files
+ 198
- 0

    Preferences

    File browser
    Compare changes
trading-glob‎al/irtp-trade‎
ba‎se‎
deploym‎ent.yaml‎ +57 -0
ingres‎s.yaml‎ +24 -0
kustomiza‎tion.yaml‎ +6 -0
servic‎e.yaml‎ +20 -0
d‎ev‎
deploym‎ent.yaml‎ +46 -0
ingres‎s.yaml‎ +24 -0
kustomiza‎tion.yaml‎ +19 -0
kustomiza‎tion.yaml‎ +2 -0
trading-global/irtp-trade/base/deployment.yaml 0 → 100644
+ 57
- 0
  • View file @ 2ab7be16

  • Edit in single-file editor

  • Open in Web IDE

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: irtp-trade-global
name: irtp-trade-global
namespace: trading
spec:
minReadySeconds: 60
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: irtp-trade-global
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: irtp-trade-global
spec:
containers:
- args:
- /opt/irtp-trade-global.jar
command:
- /bin/start.sh
env:
- name: APP_NAME
value: irtp-trade-global
- name: JAVA_HEAP_SIZE
value: 3g
- name: APP_ENV
value: ""
image: harbor-test.cartechfin.com/trading-platform/irtp-trade-global:20210121112856_10
imagePullPolicy: IfNotPresent
name: irtp-trade-global
ports:
- containerPort: 8080
name: http
protocol: TCP
resources:
limits:
memory: 5Gi
requests:
memory: 1Gi
volumeMounts:
- mountPath: /opt/logs
name: logs
- mountPath: /data/media/irtp-trade-global
name: data
dnsPolicy: ClusterFirst
restartPolicy: Always
trading-global/irtp-trade/base/deployment.yaml 0 → 100644
+ 57
- 0
  • View file @ 2ab7be16

  • Edit in single-file editor

  • Open in Web IDE

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: irtp-trade-global
name: irtp-trade-global
namespace: trading
spec:
minReadySeconds: 60
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: irtp-trade-global
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: irtp-trade-global
spec:
containers:
- args:
- /opt/irtp-trade-global.jar
command:
- /bin/start.sh
env:
- name: APP_NAME
value: irtp-trade-global
- name: JAVA_HEAP_SIZE
value: 3g
- name: APP_ENV
value: ""
image: harbor-test.cartechfin.com/trading-platform/irtp-trade-global:20210121112856_10
imagePullPolicy: IfNotPresent
name: irtp-trade-global
ports:
- containerPort: 8080
name: http
protocol: TCP
resources:
limits:
memory: 5Gi
requests:
memory: 1Gi
volumeMounts:
- mountPath: /opt/logs
name: logs
- mountPath: /data/media/irtp-trade-global
name: data
dnsPolicy: ClusterFirst
restartPolicy: Always
trading-global/irtp-trade/base/ingress.yaml 0 → 100644
+ 24
- 0
  • View file @ 2ab7be16

  • Edit in single-file editor

  • Open in Web IDE

apiVersion: extensions/v1beta1
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: irtp-trade-global
namespace: trading
spec:
ingressClassName: nginx
rules:
- host: irtp-trade-global.qimoyun.com
http:
paths:
- backend:
serviceName: irtp-trade-global
servicePort: 8080
path: /
trading-global/irtp-trade/base/kustomization.yaml 0 → 100644
+ 6
- 0
  • View file @ 2ab7be16

  • Edit in single-file editor

  • Open in Web IDE

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml
- ingress.yaml
\ No newline at end of file
trading-global/irtp-trade/base/service.yaml 0 → 100644
+ 20
- 0
  • View file @ 2ab7be16

  • 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: irtp-trade-global
name: irtp-trade-global
namespace: trading
spec:
ports:
- name: http
port: 8080
protocol: TCP
targetPort: 8080
selector:
app: irtp-trade-global
sessionAffinity: None
type: ClusterIP
trading-global/irtp-trade/dev/deployment.yaml 0 → 100644
+ 46
- 0
  • View file @ 2ab7be16

  • Edit in single-file editor

  • Open in Web IDE

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: irtp-trade-global
name: irtp-trade-global
namespace: trading
spec:
selector:
matchLabels:
app: irtp-trade-global
template:
metadata:
labels:
app: irtp-trade-global
spec:
containers:
- name: irtp-trade-global
env:
- name: APP_ENV
value: dev
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: 8080
scheme: HTTP
initialDelaySeconds: 280
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
livenessProbe:
failureThreshold: 3
tcpSocket:
port: 8080
initialDelaySeconds: 280
periodSeconds: 10
timeoutSeconds: 3
successThreshold: 1
volumes:
- name: logs
persistentVolumeClaim:
claimName: trading-global-dev-log-pvc
- name: data
persistentVolumeClaim:
claimName: trading-global-data-log-pvc
trading-global/irtp-trade/dev/ingress.yaml 0 → 100644
+ 24
- 0
  • View file @ 2ab7be16

  • Edit in single-file editor

  • Open in Web IDE

apiVersion: extensions/v1beta1
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: irtp-trade-global
namespace: trading
spec:
ingressClassName: nginx
rules:
- host: irtp-trade-global-dev.qimoyun.com
http:
paths:
- backend:
serviceName: irtp-trade-global
servicePort: 8080
path: /
trading-global/irtp-trade/dev/kustomization.yaml 0 → 100644
+ 19
- 0
  • View file @ 2ab7be16

  • Edit in single-file editor

  • Open in Web IDE

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base
patchesStrategicMerge:
- ingress.yaml
- deployment.yaml
namespace: trading-global-dev
commonLabels:
variant: dev
replicas:
- count: 0
name: irtp-trade-global
images:
- name: harbor-test.cartechfin.com/trading-platform/irtp-trade-global
newTag: dev20250208-091442
trading-global/irtp-trade/kustomization.yaml 0 → 100644
+ 2
- 0
  • View file @ 2ab7be16

  • Edit in single-file editor

  • Open in Web IDE

resources:
- ./dev
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!309
Source branch: feature/czj

Menu

Projects Groups Snippets
Help