initial commit
Change-Id: I9c68c43e939d2c1a3b95a68b71ecc5ba861a4df5
This commit is contained in:
45
score.yaml
Normal file
45
score.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
apiVersion: score.dev/v1b1
|
||||
metadata:
|
||||
name: online-boutique
|
||||
labels:
|
||||
app: online-boutique
|
||||
backstage.io/kubernetes-id: online-boutique
|
||||
# Humanitec propagates metadata.annotations to the pod template.
|
||||
# This enables the kubernetes-pods Prometheus scraper to discover the service.
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/path: /actuator/prometheus
|
||||
prometheus.io/port: "8080"
|
||||
|
||||
service:
|
||||
ports:
|
||||
http:
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
|
||||
containers:
|
||||
app:
|
||||
image: .
|
||||
variables:
|
||||
SPRING_PROFILES_ACTIVE: development
|
||||
resources:
|
||||
requests:
|
||||
memory: "512Mi"
|
||||
cpu: "250m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "500m"
|
||||
|
||||
# Optional: Define external resources that Humanitec should provision
|
||||
# Uncomment and configure as needed
|
||||
#
|
||||
# resources:
|
||||
# database:
|
||||
# type: postgres
|
||||
# properties:
|
||||
# version: "15"
|
||||
#
|
||||
# redis:
|
||||
# type: redis
|
||||
# properties:
|
||||
# version: "7"
|
||||
Reference in New Issue
Block a user