update port

main
ycz008 2023-07-28 15:47:56 +08:00
parent d7b0e6b198
commit 9e0b28b6db
11 changed files with 1199 additions and 0 deletions

BIN
datatypes/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -60,3 +60,66 @@ spec:
targetPort: http
selector:
app: email-query
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: email-config
spec:
replicas: 1
selector:
matchLabels:
app: email-config
template:
metadata:
labels:
app: email-config
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: email-query
image: beaconfireiic/email-config:1.1.0-sdet
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "email-query"
- name: "SPRING_PROFILES_ACTIVE"
value: "dev"
volumeMounts:
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: app-logs
hostPath:
path: /data/app_logs/email-config
---
apiVersion: v1
kind: Service
metadata:
name: email-config
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: email-config

View File

@ -0,0 +1,268 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: recruiting-command
data:
application.yml: |
spring:
application:
name: recruiting-command
profiles:
active: dev
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: recruiting-command
spec:
replicas: 1
selector:
matchLabels:
app: recruiting-command
template:
metadata:
labels:
app: recruiting-command
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: recruiting-command
image: beaconfireiic/recruiting-command:1.1.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "recruiting-command"
- name: "SPRING_PROFILES_ACTIVE"
value: "dev"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: recruiting-command
- name: app-logs
hostPath:
path: /data/app_logs/recruiting-command
---
apiVersion: v1
kind: Service
metadata:
name: recruiting-command
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: recruiting-command
---
apiVersion: v1
kind: ConfigMap
metadata:
name: recruiting-query
data:
application.yml: |
spring:
application:
name: recruiting-query
profiles:
active: dev
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: recruiting-query
spec:
replicas: 1
selector:
matchLabels:
app: recruiting-query
template:
metadata:
labels:
app: recruiting-query
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: recruiting-query
image: beaconfireiic/recruiting-query:1.1.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "recruiting-query"
- name: "SPRING_PROFILES_ACTIVE"
value: "dev"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: recruiting-query
- name: app-logs
hostPath:
path: /data/app_logs/recruiting-query
---
apiVersion: v1
kind: Service
metadata:
name: recruiting-query
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: recruiting-query
---
apiVersion: v1
kind: ConfigMap
metadata:
name: recruiting-config
data:
application.yml: |
spring:
application:
name: recruiting-config
profiles:
active: dev
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: recruiting-config
spec:
replicas: 1
selector:
matchLabels:
app: recruiting-config
template:
metadata:
labels:
app: recruiting-config
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: recruiting-config
image: beaconfireiic/recruiting-config:1.1.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "recruiting-config"
- name: "SPRING_PROFILES_ACTIVE"
value: "dev"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: recruiting-config
- name: app-logs
hostPath:
path: /data/app_logs/recruiting-config
---
apiVersion: v1
kind: Service
metadata:
name: recruiting-config
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: recruiting-config

View File

@ -0,0 +1,268 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: time-sheet-command
data:
application.yml: |
spring:
application:
name: time-sheet-command
profiles:
active: dev
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: time-sheet-command
spec:
replicas: 1
selector:
matchLabels:
app: time-sheet-command
template:
metadata:
labels:
app: time-sheet-command
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: time-sheet-command
image: beaconfireiic/time-sheet-command:1.0.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "time-sheet-command"
- name: "SPRING_PROFILES_ACTIVE"
value: "dev"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: time-sheet-command
- name: app-logs
hostPath:
path: /data/app_logs/time-sheet-command
---
apiVersion: v1
kind: Service
metadata:
name: time-sheet-command
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: time-sheet-command
---
apiVersion: v1
kind: ConfigMap
metadata:
name: time-sheet-query
data:
application.yml: |
spring:
application:
name: time-sheet-query
profiles:
active: dev
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: time-sheet-query
spec:
replicas: 1
selector:
matchLabels:
app: time-sheet-query
template:
metadata:
labels:
app: time-sheet-query
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: time-sheet-query
image: beaconfireiic/time-sheet-query:1.0.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "time-sheet-query"
- name: "SPRING_PROFILES_ACTIVE"
value: "dev"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: time-sheet-query
- name: app-logs
hostPath:
path: /data/app_logs/time-sheet-query
---
apiVersion: v1
kind: Service
metadata:
name: time-sheet-query
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: time-sheet-query
---
apiVersion: v1
kind: ConfigMap
metadata:
name: time-sheet-config
data:
application.yml: |
spring:
application:
name: time-sheet-config
profiles:
active: dev
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: time-sheet-config
spec:
replicas: 1
selector:
matchLabels:
app: time-sheet-config
template:
metadata:
labels:
app: time-sheet-config
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: time-sheet-config
image: beaconfireiic/time-sheet-config:1.0.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "time-sheet-config"
- name: "SPRING_PROFILES_ACTIVE"
value: "dev"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: time-sheet-config
- name: app-logs
hostPath:
path: /data/app_logs/time-sheet-config
---
apiVersion: v1
kind: Service
metadata:
name: time-sheet-config
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: time-sheet-config

View File

@ -60,3 +60,67 @@ spec:
targetPort: http
selector:
app: email-query
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: email-config
spec:
replicas: 1
selector:
matchLabels:
app: email-config
template:
metadata:
labels:
app: email-config
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: email-query
image: beaconfireiic/email-config:1.1.0-sdet
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "email-query"
- name: "SPRING_PROFILES_ACTIVE"
value: "qa"
volumeMounts:
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: app-logs
hostPath:
path: /data/app_logs/email-config
---
apiVersion: v1
kind: Service
metadata:
name: email-config
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: email-config

View File

@ -0,0 +1,268 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: recruiting-command
data:
application.yml: |
spring:
application:
name: recruiting-command
profiles:
active: qa
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: recruiting-command
spec:
replicas: 1
selector:
matchLabels:
app: recruiting-command
template:
metadata:
labels:
app: recruiting-command
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: recruiting-command
image: beaconfireiic/recruiting-command:1.1.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "recruiting-command"
- name: "SPRING_PROFILES_ACTIVE"
value: "qa"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: recruiting-command
- name: app-logs
hostPath:
path: /data/app_logs/recruiting-command
---
apiVersion: v1
kind: Service
metadata:
name: recruiting-command
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: recruiting-command
---
apiVersion: v1
kind: ConfigMap
metadata:
name: recruiting-query
data:
application.yml: |
spring:
application:
name: recruiting-query
profiles:
active: qa
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: recruiting-query
spec:
replicas: 1
selector:
matchLabels:
app: recruiting-query
template:
metadata:
labels:
app: recruiting-query
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: recruiting-query
image: beaconfireiic/recruiting-query:1.1.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "recruiting-query"
- name: "SPRING_PROFILES_ACTIVE"
value: "qa"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: recruiting-query
- name: app-logs
hostPath:
path: /data/app_logs/recruiting-query
---
apiVersion: v1
kind: Service
metadata:
name: recruiting-query
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: recruiting-query
---
apiVersion: v1
kind: ConfigMap
metadata:
name: recruiting-config
data:
application.yml: |
spring:
application:
name: recruiting-config
profiles:
active: qa
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: recruiting-config
spec:
replicas: 1
selector:
matchLabels:
app: recruiting-config
template:
metadata:
labels:
app: recruiting-config
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: recruiting-config
image: beaconfireiic/recruiting-config:1.1.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "recruiting-config"
- name: "SPRING_PROFILES_ACTIVE"
value: "qa"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: recruiting-config
- name: app-logs
hostPath:
path: /data/app_logs/recruiting-config
---
apiVersion: v1
kind: Service
metadata:
name: recruiting-config
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: recruiting-config

View File

@ -0,0 +1,268 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: time-sheet-command
data:
application.yml: |
spring:
application:
name: time-sheet-command
profiles:
active: qa
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: time-sheet-command
spec:
replicas: 1
selector:
matchLabels:
app: time-sheet-command
template:
metadata:
labels:
app: time-sheet-command
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: time-sheet-command
image: beaconfireiic/time-sheet-command:1.0.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "time-sheet-command"
- name: "SPRING_PROFILES_ACTIVE"
value: "qa"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: time-sheet-command
- name: app-logs
hostPath:
path: /data/app_logs/time-sheet-command
---
apiVersion: v1
kind: Service
metadata:
name: time-sheet-command
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: time-sheet-command
---
apiVersion: v1
kind: ConfigMap
metadata:
name: time-sheet-query
data:
application.yml: |
spring:
application:
name: time-sheet-query
profiles:
active: qa
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: time-sheet-query
spec:
replicas: 1
selector:
matchLabels:
app: time-sheet-query
template:
metadata:
labels:
app: time-sheet-query
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: time-sheet-query
image: beaconfireiic/time-sheet-query:1.0.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "time-sheet-query"
- name: "SPRING_PROFILES_ACTIVE"
value: "qa"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: time-sheet-query
- name: app-logs
hostPath:
path: /data/app_logs/time-sheet-query
---
apiVersion: v1
kind: Service
metadata:
name: time-sheet-query
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: time-sheet-query
---
apiVersion: v1
kind: ConfigMap
metadata:
name: time-sheet-config
data:
application.yml: |
spring:
application:
name: time-sheet-config
profiles:
active: qa
cloud:
config:
label: main
config:
import: optional:configserver:http://config-server:8888
springdoc:
api-docs:
enabled: false
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: time-sheet-config
spec:
replicas: 1
selector:
matchLabels:
app: time-sheet-config
template:
metadata:
labels:
app: time-sheet-config
spec:
imagePullSecrets:
- name: deploy-regcred
containers:
- name: time-sheet-config
image: beaconfireiic/time-sheet-config:1.0.0-dev
command: ["java", "-Djasypt.encryptor.password=secret", "-cp","app:app/lib/*","com.beaconfire.adminconsole.AdminConsoleApplication"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
env:
- name: "LOGGING_LEVEL_ROOT"
value: "info"
- name: "SERVER_PORT"
value: "8080"
- name: "LOG_APP-NAME"
value: "time-sheet-config"
- name: "SPRING_PROFILES_ACTIVE"
value: "qa"
volumeMounts:
- name: config
mountPath: /app/application.yml
subPath: application.yml
- name: app-logs
mountPath: /logs
resources:
requests:
cpu: 0.1
memory: 128Mi
limits:
cpu: 1
memory: 2Gi
volumes:
- name: config
configMap:
name: time-sheet-config
- name: app-logs
hostPath:
path: /data/app_logs/time-sheet-config
---
apiVersion: v1
kind: Service
metadata:
name: time-sheet-config
spec:
type: ClusterIP
ports:
- name: http
protocol: TCP
port: 8080
targetPort: http
selector:
app: time-sheet-config