Skip to content

Commit

Permalink
Merge pull request #3 from a-thaler/observability
Browse files Browse the repository at this point in the history
update the hello-kyma version for observability
  • Loading branch information
markushaug authored Oct 22, 2024
2 parents 29f790f + a4d4253 commit 5dbc68f
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
2 changes: 1 addition & 1 deletion unit_8/hello-kyma-deployment-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ spec:
ports:
- name: http
port: 8080
protocol: TCP
protocol: TCP
48 changes: 48 additions & 0 deletions unit_9/hello-kyma-deployment-svc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-kyma
labels:
app: hello-kyma
spec:
replicas: 1
selector:
matchLabels:
app: hello-kyma
template:
metadata:
labels:
app: hello-kyma
spec:
containers:
- name: hello-kyma
image: ghcr.io/sap-samples/kyma-runtime-learning-journey/hello-kyma:1.0.0
imagePullPolicy: Always
resources:
limits:
memory: 100Mi
cpu: 100m
requests:
memory: 32Mi
cpu: 10m
ports:
- name: http
containerPort: 8080
---
kind: Service
apiVersion: v1
metadata:
name: hello-kyma
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
labels:
app: hello-kyma
spec:
selector:
app: hello-kyma
ports:
- name: http
port: 8080
protocol: TCP

0 comments on commit 5dbc68f

Please sign in to comment.