-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdeployment.yaml
35 lines (35 loc) · 1.09 KB
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
apiVersion: apps/v1
kind: Deployment
metadata:
name: anomaly-simulation
namespace: horizontal-scaling
labels:
app: anomaly-simulation
annotations:
dt.owner: 'predictive-kubernetes-scaling'
predictive-kubernetes-scaling.observability-labs.dynatrace.com/enabled: 'true'
predictive-kubernetes-scaling.observability-labs.dynatrace.com/managed-by-repo: 'Dynatrace/obslab-predictive-kubernetes-scaling'
predictive-kubernetes-scaling.observability-labs.dynatrace.com/uuid: '29495ece-204c-49ca-84e3-1066810cffeb'
predictive-kubernetes-scaling.observability-labs.dynatrace.com/managed-by-hpa: 'anomaly-simulation'
spec:
replicas: 1
selector:
matchLabels:
app: anomaly-simulation
template:
metadata:
labels:
app: anomaly-simulation
spec:
containers:
- name: anomaly-simulation
image: ghcr.io/wolfgangb33r/demoservice:v1.0.0
ports:
- containerPort: 8080
resources:
requests:
memory: 5Mi
cpu: 40m
limits:
memory: 5Mi
cpu: 40m