Skip to content

Commit

Permalink
feat: #80
Browse files Browse the repository at this point in the history
  • Loading branch information
liaosunny123 committed Aug 22, 2023
1 parent 1510ac0 commit 9b88b57
Show file tree
Hide file tree
Showing 18 changed files with 567 additions and 0 deletions.
46 changes: 46 additions & 0 deletions manifest-dev/deployment-comment-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
sidecar.jaegertracing.io/inject: 'true'
labels:
app: gugotik-comment-service
name: gugotik-comment-service
namespace: gugotik-service-bundle
spec:
selector:
matchLabels:
name: gugotik-comment-service
template:
metadata:
labels:
app: gugotik-comment-service
branch: master
version: ${BUILD_NUMBER}-${CI_COMMIT_ID}
name: gugotik-comment-service
dream-app: gugotik-comment-service
dream-unit: gugotik-comment-service
spec:
imagePullSecrets:
- name: reg-cred
containers:
- image: ${IMAGE}
imagePullPolicy: IfNotPresent
name: gugotik-comment-service
command:
- ./services/CommentService
envFrom:
- configMapRef:
name: env-config
ports:
- name: grpc-37003
containerPort: 37003
protocol: TCP
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 8Mi
terminationGracePeriodSeconds: 30
46 changes: 46 additions & 0 deletions manifest-dev/deployment-favorite-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
sidecar.jaegertracing.io/inject: 'true'
labels:
app: gugotik-favorite-service
name: gugotik-favorite-service
namespace: gugotik-service-bundle
spec:
selector:
matchLabels:
name: gugotik-favorite-service
template:
metadata:
labels:
app: gugotik-favorite-service
branch: master
version: ${BUILD_NUMBER}-${CI_COMMIT_ID}
name: gugotik-favorite-service
dream-app: gugotik-favorite-service
dream-unit: gugotik-favorite-service
spec:
imagePullSecrets:
- name: reg-cred
containers:
- image: ${IMAGE}
imagePullPolicy: IfNotPresent
name: gugotik-favorite-service
command:
- ./services/FavoriteService
envFrom:
- configMapRef:
name: env-config
ports:
- name: grpc-37006
containerPort: 37006
protocol: TCP
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 8Mi
terminationGracePeriodSeconds: 30
46 changes: 46 additions & 0 deletions manifest-dev/deployment-feed-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
sidecar.jaegertracing.io/inject: 'true'
labels:
app: gugotik-feed-service
name: gugotik-feed-service
namespace: gugotik-service-bundle
spec:
selector:
matchLabels:
name: gugotik-feed-service
template:
metadata:
labels:
app: gugotik-feed-service
branch: master
version: ${BUILD_NUMBER}-${CI_COMMIT_ID}
name: gugotik-feed-service
dream-app: gugotik-feed-service
dream-unit: gugotik-feed-service
spec:
imagePullSecrets:
- name: reg-cred
containers:
- image: ${IMAGE}
imagePullPolicy: IfNotPresent
name: gugotik-feed-service
command:
- ./services/FeedService
envFrom:
- configMapRef:
name: env-config
ports:
- name: grpc-37004
containerPort: 37004
protocol: TCP
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 8Mi
terminationGracePeriodSeconds: 30
46 changes: 46 additions & 0 deletions manifest-dev/deployment-http-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
sidecar.jaegertracing.io/inject: 'true'
labels:
app: gugotik-http-service
name: gugotik-http-service
namespace: gugotik-service-bundle
spec:
selector:
matchLabels:
name: gugotik-http-service
template:
metadata:
labels:
app: gugotik-http-service
branch: master
version: ${BUILD_NUMBER}-${CI_COMMIT_ID}
name: gugotik-http-service
dream-app: gugotik-http-service
dream-unit: gugotik-http-service
spec:
imagePullSecrets:
- name: reg-cred
containers:
- image: ${IMAGE}
imagePullPolicy: IfNotPresent
name: gugotik-http-service
command:
- ./gateway/Gateway
envFrom:
- configMapRef:
name: env-config
ports:
- name: http-37000
containerPort: 37000
protocol: TCP
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 8Mi
terminationGracePeriodSeconds: 30
46 changes: 46 additions & 0 deletions manifest-dev/deployment-message-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
sidecar.jaegertracing.io/inject: 'true'
labels:
app: gugotik-message-service
name: gugotik-message-service
namespace: gugotik-service-bundle
spec:
selector:
matchLabels:
name: gugotik-message-service
template:
metadata:
labels:
app: gugotik-message-service
branch: master
version: ${BUILD_NUMBER}-${CI_COMMIT_ID}
name: gugotik-message-service
dream-app: gugotik-message-service
dream-unit: gugotik-message-service
spec:
imagePullSecrets:
- name: reg-cred
containers:
- image: ${IMAGE}
imagePullPolicy: IfNotPresent
name: gugotik-message-service
command:
- ./services/MessageService
envFrom:
- configMapRef:
name: env-config
ports:
- name: grpc-37007
containerPort: 37007
protocol: TCP
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 8Mi
terminationGracePeriodSeconds: 30
46 changes: 46 additions & 0 deletions manifest-dev/deployment-publish-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
sidecar.jaegertracing.io/inject: 'true'
labels:
app: gugotik-publish-service
name: gugotik-publish-service
namespace: gugotik-service-bundle
spec:
selector:
matchLabels:
name: gugotik-publish-service
template:
metadata:
labels:
app: gugotik-publish-service
branch: master
version: ${BUILD_NUMBER}-${CI_COMMIT_ID}
name: gugotik-publish-service
dream-app: gugotik-publish-service
dream-unit: gugotik-publish-service
spec:
imagePullSecrets:
- name: reg-cred
containers:
- image: ${IMAGE}
imagePullPolicy: IfNotPresent
name: gugotik-publish-service
command:
- ./services/PublishService
envFrom:
- configMapRef:
name: env-config
ports:
- name: grpc-37005
containerPort: 37005
protocol: TCP
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 8Mi
terminationGracePeriodSeconds: 30
46 changes: 46 additions & 0 deletions manifest-dev/deployment-relation-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
sidecar.jaegertracing.io/inject: 'true'
labels:
app: gugotik-relation-service
name: gugotik-relation-service
namespace: gugotik-service-bundle
spec:
selector:
matchLabels:
name: gugotik-relation-service
template:
metadata:
labels:
app: gugotik-relation-service
branch: master
version: ${BUILD_NUMBER}-${CI_COMMIT_ID}
name: gugotik-relation-service
dream-app: gugotik-relation-service
dream-unit: gugotik-relation-service
spec:
imagePullSecrets:
- name: reg-cred
containers:
- image: ${IMAGE}
imagePullPolicy: IfNotPresent
name: gugotik-relation-service
command:
- ./services/RelationService
envFrom:
- configMapRef:
name: env-config
ports:
- name: grpc-37008
containerPort: 37008
protocol: TCP
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 8Mi
terminationGracePeriodSeconds: 30
46 changes: 46 additions & 0 deletions manifest-dev/deployment-user-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
sidecar.jaegertracing.io/inject: 'true'
labels:
app: gugotik-user-service
name: gugotik-user-service
namespace: gugotik-service-bundle
spec:
selector:
matchLabels:
name: gugotik-user-service
template:
metadata:
labels:
app: gugotik-user-service
branch: master
version: ${BUILD_NUMBER}-${CI_COMMIT_ID}
name: gugotik-user-service
dream-app: gugotik-user-service
dream-unit: gugotik-user-service
spec:
imagePullSecrets:
- name: reg-cred
containers:
- image: ${IMAGE}
imagePullPolicy: IfNotPresent
name: gugotik-user-service
command:
- ./services/UserService
envFrom:
- configMapRef:
name: env-config
ports:
- name: grpc-37001
containerPort: 37001
protocol: TCP
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 100m
memory: 8Mi
terminationGracePeriodSeconds: 30
Loading

0 comments on commit 9b88b57

Please sign in to comment.