| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- # Microservice Platform - Umbrella Chart Configuration
- # This file contains global configuration for all microservices
- # Global configuration shared across all services
- global:
- # Global image configuration
- image:
- registry: your-registry
- pullPolicy: IfNotPresent
-
- # Global labels applied to all resources
- labels:
- platform: microservice-platform
- version: "1.0"
-
- # Global annotations
- annotations: {}
- # Base chart configuration (common templates and utilities)
- base:
- enabled: true
- # User Service Configuration
- user-service:
- enabled: true
- app:
- name: user-service
- replicaCount: 1
- image:
- repository: your-registry/user-service
- tag: "1.0.0"
- pullPolicy: IfNotPresent
- service:
- type: ClusterIP
- port: 8080
- targetPort: 8080
- resources:
- requests:
- cpu: 250m
- memory: 256Mi
- limits:
- cpu: 500m
- memory: 512Mi
- config:
- properties:
- spring.application.name: user-service
- spring.jpa.hibernate.ddl-auto: update
- spring.datasource.url: jdbc:mysql://mysql-service:3306/userdb
- spring.datasource.username: root
- spring.datasource.password: password
- server.port: "8080"
- yml:
- logging:
- level:
- root: INFO
- management:
- endpoints:
- web:
- exposure:
- include: health,info,metrics
- # Order Service Configuration
- order-service:
- enabled: true
- app:
- name: order-service
- replicaCount: 1
- image:
- repository: your-registry/order-service
- tag: "1.0.0"
- pullPolicy: IfNotPresent
- service:
- type: ClusterIP
- port: 8081
- targetPort: 8081
- resources:
- requests:
- cpu: 250m
- memory: 256Mi
- limits:
- cpu: 500m
- memory: 512Mi
- config:
- properties:
- spring.application.name: order-service
- spring.jpa.hibernate.ddl-auto: update
- spring.datasource.url: jdbc:mysql://mysql-service:3306/orderdb
- spring.datasource.username: root
- spring.datasource.password: password
- server.port: "8081"
- yml:
- logging:
- level:
- root: INFO
- management:
- endpoints:
- web:
- exposure:
- include: health,info,metrics
- # Payment Service Configuration
- payment-service:
- enabled: true
- app:
- name: payment-service
- replicaCount: 1
- image:
- repository: your-registry/payment-service
- tag: "1.0.0"
- pullPolicy: IfNotPresent
- service:
- type: ClusterIP
- port: 8082
- targetPort: 8082
- resources:
- requests:
- cpu: 250m
- memory: 256Mi
- limits:
- cpu: 500m
- memory: 512Mi
- config:
- properties:
- spring.application.name: payment-service
- spring.jpa.hibernate.ddl-auto: update
- spring.datasource.url: jdbc:mysql://mysql-service:3306/paymentdb
- spring.datasource.username: root
- spring.datasource.password: password
- server.port: "8082"
- yml:
- logging:
- level:
- root: INFO
- management:
- endpoints:
- web:
- exposure:
- include: health,info,metrics
|