44 lines
736 B
YAML
44 lines
736 B
YAML
apiVersion: score.dev/v1b1
|
|
metadata:
|
|
name: tmpl-test-go
|
|
|
|
containers:
|
|
app:
|
|
image: .
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 8080
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 8080
|
|
resources:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "200m"
|
|
requests:
|
|
memory: "32Mi"
|
|
cpu: "25m"
|
|
|
|
service:
|
|
ports:
|
|
http:
|
|
port: 80
|
|
targetPort: 8080
|
|
|
|
resources:
|
|
env:
|
|
type: environment
|
|
|
|
dns:
|
|
type: dns
|
|
|
|
# ----- Uncomment to add a PostgreSQL database (deployment_profile: db-only or db+cache) -----
|
|
# db:
|
|
# type: postgres
|
|
|
|
# ----- Uncomment to add Redis cache (deployment_profile: db+cache) -----
|
|
# cache:
|
|
# type: redis
|