APM with container not working

Hello Team,
I am trying to enable elastic APM & RUM for Kubernetes containerized application. but not finding any clue how do i enable them

below is the yaml file which we deploy using kubectl apply command, is there any way i can deploy APM using below YAML file?

Kindly assist

deployment.yaml file content as below

apiVersion: apps/v1
kind: Deployment
metadata:
name: k8s-service-books
spec:
replicas: 1
selector:
matchLabels:
app: k8s-service-books
template:
metadata:
labels:
app: k8s-service-books
spec:
containers:
- name: service-books
image: XXXX-docker.pkg.dev/XXXX/XXXX/XXXX:v1
imagePullPolicy: Always
ports:
- containerPort: 8081
resources:
limits:
cpu: 500m
requests:
cpu: 200m
readinessProbe:
httpGet:
port: 8081
path: /books/actuator/health/readiness
initialDelaySeconds: 30
periodSeconds: 10
livenessProbe:
httpGet:
port: 8081
path: /books/actuator/health/liveness
initialDelaySeconds: 30
periodSeconds: 10

Regards
Pratiksha

Hi @pratikshatiwari,

You can find more information about it in the following documentation:

Hope this helps you

Cheers,
Alberto

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.