Files
demo-vivek-11/deploy/lab/deployment-demo-vivek-11.yaml
Jonathan Boniface bddd387bab Deliver the lab from manifests rendered from score-lab.yaml
deploy/lab is rendered by score-k8s with the platform's provisioners and replaces the
hand-written deploy/manifests. The lab build workflow now renders and commits it after the build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 12:53:21 +01:00

89 lines
2.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
k8s.score.dev/workload-name: demo-vivek-11
labels:
app.kubernetes.io/instance: demo-vivek-11
app.kubernetes.io/managed-by: score-k8s
app.kubernetes.io/name: demo-vivek-11
name: demo-vivek-11
namespace: demo-vivek-11
spec:
revisionHistoryLimit: 3
selector:
matchLabels:
app.kubernetes.io/instance: demo-vivek-11
strategy: {}
template:
metadata:
annotations:
k8s.score.dev/workload-name: demo-vivek-11
labels:
app.kubernetes.io/instance: demo-vivek-11
app.kubernetes.io/managed-by: score-k8s
app.kubernetes.io/name: demo-vivek-11
spec:
automountServiceAccountToken: false
containers:
- env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://otel-collector.monitoring.svc.cluster.local:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf
- name: OTEL_LOGS_EXPORTER
value: none
- name: OTEL_METRICS_EXPORTER
value: otlp
- name: OTEL_RESOURCE_ATTRIBUTES
value: service.name=demo-vivek-11
- name: OTEL_SERVICE_NAME
value: demo-vivek-11
- name: OTEL_TRACES_EXPORTER
value: otlp
image: cruciblecoredevacr.azurecr.io/demo-vivek-11:9bc0bce407eb2e817eb2d8ccb17a03b51489893e
livenessProbe:
httpGet:
path: /actuator/health
port: 8080
name: main
readinessProbe:
httpGet:
path: /actuator/health
port: 8080
resources:
limits:
memory: 1Gi
requests:
cpu: 250m
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
startupProbe:
failureThreshold: 36
httpGet:
path: /actuator/health
port: 8080
periodSeconds: 5
volumeMounts:
- mountPath: /tmp
name: crucible-tmp
enableServiceLinks: false
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
volumes:
- emptyDir:
sizeLimit: 256Mi
name: crucible-tmp
status: {}