-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.yaml
More file actions
49 lines (49 loc) · 805 Bytes
/
app.yaml
File metadata and controls
49 lines (49 loc) · 805 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
48
49
apiVersion: v1
kind: Namespace
metadata:
creationTimestamp: null
name: test
spec: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: test
name: test
namespace: test
spec:
replicas: 1
selector:
matchLabels:
app: test
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: test
spec:
containers:
- image: docker.io/shkatara/python-custom-metrics-prometheus:latest
name: python-custom-metrics-prometheus
resources: {}
---
apiVersion: v1
kind: Service
metadata:
labels:
app: test
name: test
namespace: test
spec:
ports:
- name: http
nodePort: 30115
port: 5000
protocol: TCP
targetPort: 5000
selector:
app: test
type: NodePort