Initial release
This commit is contained in:
16
k3s/deployment.yaml
Normal file
16
k3s/deployment.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata: { name: otel-quarkus-demo }
|
||||
spec:
|
||||
replicas: 1
|
||||
selector: { matchLabels: { app: otel-quarkus-demo } }
|
||||
template:
|
||||
metadata: { labels: { app: otel-quarkus-demo } }
|
||||
spec:
|
||||
containers:
|
||||
- name: app
|
||||
image: rm.vdi-linux-cvl.local/global/quarkus-app:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports: [{ containerPort: 8080 }]
|
||||
readinessProbe: { httpGet: { path: /q/health/ready, port: 8080 } }
|
||||
livenessProbe: { httpGet: { path: /q/health/live, port: 8080 } }
|
||||
6
k3s/service.yaml
Normal file
6
k3s/service.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata: { name: otel-quarkus-demo }
|
||||
spec:
|
||||
selector: { app: otel-quarkus-demo }
|
||||
ports: [{ port: 8080, targetPort: 8080 }]
|
||||
Reference in New Issue
Block a user