-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtraining-application.yaml
More file actions
47 lines (46 loc) · 971 Bytes
/
training-application.yaml
File metadata and controls
47 lines (46 loc) · 971 Bytes
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
36
37
38
39
40
41
42
43
44
45
46
47
apiVersion: apps/v1
kind: Deployment
metadata:
name: training-application
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: training-application
template:
metadata:
labels:
app: training-application
spec:
containers:
- name: training-application
image: quay.io/kubermatic-labs/training-application:4.0.0
imagePullPolicy: Always
tty: true
stdin: true
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 100m
memory: 100Mi
ports:
- name: http
containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: training-application
namespace: default
annotations:
metallb.io/address-pool: ippool-kubev
spec:
ports:
- port: 80
targetPort: 8080
selector:
app: training-application
type: LoadBalancer