Merge pull request #299 from meysamhadeli/develop

Develop
This commit is contained in:
Meysam Hadeli 2024-08-07 00:12:40 +03:30 committed by GitHub
commit 68b3c2ed43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 97 additions and 87 deletions

3
.gitignore vendored
View File

@ -437,3 +437,6 @@ fabric.properties
# Monitoring # Monitoring
**/grafana-data **/grafana-data
# EventStore
**/eventstore

View File

@ -77,19 +77,15 @@ services:
eventstore: eventstore:
container_name: eventstore container_name: eventstore
image: eventstore/eventstore:latest image: eventstore/eventstore:latest
restart: unless-stopped
environment: environment:
- EVENTSTORE_CLUSTER_SIZE=1 - EVENTSTORE_CLUSTER_SIZE=1
- EVENTSTORE_RUN_PROJECTIONS=All - EVENTSTORE_RUN_PROJECTIONS=All
- EVENTSTORE_START_STANDARD_PROJECTIONS=true - EVENTSTORE_START_STANDARD_PROJECTIONS=True
- EVENTSTORE_EXT_TCP_PORT=1113 - EVENTSTORE_HTTP_PORT=2113
- EVENTSTORE_EXT_HTTP_PORT=2113 - EVENTSTORE_INSECURE=True
- EVENTSTORE_INSECURE=true - EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=True
- EVENTSTORE_ENABLE_EXTERNAL_TCP=true
- EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=true
ports: ports:
- '1113:1113' - "2113:2113"
- '2113:2113'
networks: networks:
- booking - booking
@ -185,7 +181,9 @@ services:
- '--path.rootfs=/host' - '--path.rootfs=/host'
pid: host pid: host
volumes: volumes:
- '/:/host:ro,rslave' - /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
networks: networks:
- booking - booking

View File

@ -78,19 +78,15 @@ services:
eventstore: eventstore:
container_name: eventstore container_name: eventstore
image: eventstore/eventstore:latest image: eventstore/eventstore:latest
restart: unless-stopped
environment: environment:
- EVENTSTORE_CLUSTER_SIZE=1 - EVENTSTORE_CLUSTER_SIZE=1
- EVENTSTORE_RUN_PROJECTIONS=All - EVENTSTORE_RUN_PROJECTIONS=All
- EVENTSTORE_START_STANDARD_PROJECTIONS=true - EVENTSTORE_START_STANDARD_PROJECTIONS=True
- EVENTSTORE_EXT_TCP_PORT=1113 - EVENTSTORE_HTTP_PORT=2113
- EVENTSTORE_EXT_HTTP_PORT=2113 - EVENTSTORE_INSECURE=True
- EVENTSTORE_INSECURE=true - EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=True
- EVENTSTORE_ENABLE_EXTERNAL_TCP=true
- EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=true
ports: ports:
- '1113:1113' - "2113:2113"
- '2113:2113'
networks: networks:
- booking - booking
@ -199,7 +195,9 @@ services:
- '--path.rootfs=/host' - '--path.rootfs=/host'
pid: host pid: host
volumes: volumes:
- '/:/host:ro,rslave' - /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
networks: networks:
- booking - booking

View File

@ -172,67 +172,65 @@ status:
####################################################### #######################################################
# Event Store # Event Store
####################################################### #######################################################
apiVersion: v1 apiVersion: apps/v1
kind: Pod kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe -f infrastracture.yaml convert kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert -f infrastructure.yaml
kompose.version: 1.28.0 (c4137012e) kompose.version: 1.34.0 (cbf2835db)
creationTimestamp: null
labels: labels:
io.kompose.network/booking: "true"
io.kompose.service: eventstore io.kompose.service: eventstore
name: eventstore name: eventstore
spec: spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: eventstore
template:
metadata:
annotations:
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert -f infrastructure.yaml
kompose.version: 1.34.0 (cbf2835db)
labels:
io.kompose.service: eventstore
spec:
containers: containers:
- env: - env:
- name: EVENTSTORE_CLUSTER_SIZE - name: EVENTSTORE_CLUSTER_SIZE
value: "1" value: "1"
- name: EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP - name: EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP
value: "true" value: "True"
- name: EVENTSTORE_ENABLE_EXTERNAL_TCP - name: EVENTSTORE_HTTP_PORT
value: "true"
- name: EVENTSTORE_EXT_HTTP_PORT
value: "2113" value: "2113"
- name: EVENTSTORE_EXT_TCP_PORT
value: "1113"
- name: EVENTSTORE_INSECURE - name: EVENTSTORE_INSECURE
value: "true" value: "True"
- name: EVENTSTORE_RUN_PROJECTIONS - name: EVENTSTORE_RUN_PROJECTIONS
value: All value: All
- name: EVENTSTORE_START_STANDARD_PROJECTIONS - name: EVENTSTORE_START_STANDARD_PROJECTIONS
value: "true" value: "True"
image: eventstore/eventstore:latest image: eventstore/eventstore:latest
name: eventstore name: eventstore
ports: ports:
- containerPort: 1113
- containerPort: 2113 - containerPort: 2113
resources: {} protocol: TCP
restartPolicy: Always restartPolicy: Always
status: {}
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
annotations: annotations:
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe -f infrastracture.yaml convert kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert -f infrastructure.yaml
kompose.version: 1.28.0 (c4137012e) kompose.version: 1.34.0 (cbf2835db)
creationTimestamp: null
labels: labels:
io.kompose.service: eventstore io.kompose.service: eventstore
name: eventstore name: eventstore
spec: spec:
ports: ports:
- name: "1113"
port: 1113
targetPort: 1113
- name: "2113" - name: "2113"
port: 2113 port: 2113
targetPort: 2113 targetPort: 2113
selector: selector:
io.kompose.service: eventstore io.kompose.service: eventstore
status:
loadBalancer: {}
--- ---
# ####################################################### # #######################################################
# # Jaeger # # Jaeger
@ -494,9 +492,8 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert -f infrastracture.yaml kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert -f infrastructure.yaml
kompose.version: 1.28.0 (c4137012e) kompose.version: 1.34.0 (cbf2835db)
creationTimestamp: null
labels: labels:
io.kompose.service: node-exporter io.kompose.service: node-exporter
name: node-exporter name: node-exporter
@ -510,11 +507,9 @@ spec:
template: template:
metadata: metadata:
annotations: annotations:
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert -f infrastracture.yaml kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert -f infrastructure.yaml
kompose.version: 1.28.0 (c4137012e) kompose.version: 1.34.0 (cbf2835db)
creationTimestamp: null
labels: labels:
io.kompose.network/newfolder-booking: "true"
io.kompose.service: node-exporter io.kompose.service: node-exporter
spec: spec:
containers: containers:
@ -522,23 +517,27 @@ spec:
- --path.rootfs=/host - --path.rootfs=/host
image: quay.io/prometheus/node-exporter:latest image: quay.io/prometheus/node-exporter:latest
name: node-exporter name: node-exporter
resources: {}
volumeMounts: volumeMounts:
- mountPath: /host - mountPath: /host/proc
name: node-exporter-claim0 name: node-exporter-claim0
readOnly: true readOnly: true
- mountPath: /host/sys
name: node-exporter-claim1
readOnly: true
restartPolicy: Always restartPolicy: Always
volumes: volumes:
- name: node-exporter-claim0 - name: node-exporter-claim0
persistentVolumeClaim: persistentVolumeClaim:
claimName: node-exporter-claim0 claimName: node-exporter-claim0
readOnly: true readOnly: true
status: {} - name: node-exporter-claim1
persistentVolumeClaim:
claimName: node-exporter-claim1
readOnly: true
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
creationTimestamp: null
labels: labels:
io.kompose.service: node-exporter-claim0 io.kompose.service: node-exporter-claim0
name: node-exporter-claim0 name: node-exporter-claim0
@ -548,7 +547,19 @@ spec:
resources: resources:
requests: requests:
storage: 100Mi storage: 100Mi
status: {} ---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:
io.kompose.service: node-exporter-claim1
name: node-exporter-claim1
spec:
accessModes:
- ReadOnlyMany
resources:
requests:
storage: 100Mi
--- ---
# ####################################################### # #######################################################
# # Cadvisor # # Cadvisor