apiVersion:
apps/v1
kind:
Deployment
metadata:
name:
matrixplatform-deployment
namespace:
default
spec:
selector:
matchLabels:
app:
matrixplatform
replicas:
1
template:
metadata:
labels:
app:
matrixplatform
spec:
containers:
-
name
:
customer
image:
172
8858/matrix/medusa
v4.1.0.3-2021063001
ports:
-
containerPort
:
31001
volumeMounts:
-
mountPath
:
/app/dist/config.json
name:
matrix-medusa-customer-config
readOnly:
true
subPath:
config.json
-
name
:
platform
image:
172
8858/matrix/medusa
v4.1.0.5-2021062801
ports:
-
containerPort
:
31008
volumeMounts:
-
mountPath
:
/app/appsettings.json
name:
matrix-medusa-service-platform-appsettings
readOnly:
true
subPath:
appsettings.json
-
name
:
management
image:
172
8858/matrix/medusa
v4.1.0.2-2021063001
ports:
-
containerPort
:
31002
volumeMounts:
-
mountPath
:
/app/dist/config.json
name:
matrix-medusa-management-config
readOnly:
true
subPath:
config.json
-
name
:
gateway
image:
172
8858/matrix/medusa
v4.1.0.3-2021063002
ports:
-
containerPort
:
31000
volumeMounts:
-
mountPath
:
/app/dist/config.json
name:
matrix-medusa-gateway-config
readOnly:
true
subPath:
config.json
volumes:
-
name
:
matrix-medusa-service-platform-appsettings
configMap:
defaultMode:
420
name:
matrix-medusa-service-platform-appsettings
-
name
:
matrix-medusa-customer-config
configMap:
defaultMode:
420
name:
matrix-medusa-customer-config
-
name
:
matrix-medusa-management-config
configMap:
defaultMode:
420
name:
matrix-medusa-management-config
-
name
:
matrix-medusa-gateway-config
configMap:
defaultMode:
420
name:
matrix-medusa-gateway-config
---
apiVersion:
v1
kind:
Service
metadata:
name:
matrixplatform-service
labels:
name:
matrixplatform-service
spec:
type:
NodePort
ports:
-
port
:
31008
name:
platform
targetPort:
80
protocol:
TCP
nodePort:
31008
-
port
:
31002
name:
management
targetPort:
20083
protocol:
TCP
nodePort:
31002
-
port
:
31000
name:
gateway
targetPort:
20050
protocol:
TCP
nodePort:
31000
-
port
:
31001
name:
customer
targetPort:
20080
protocol:
TCP
nodePort:
31001
selector:
app:
matrixplatform