-
Notifications
You must be signed in to change notification settings - Fork 1
/
manifest.yml
46 lines (45 loc) · 907 Bytes
/
manifest.yml
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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: spincli-4549
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: spincli-4549
template:
metadata:
labels:
app: spincli-4549
spec:
containers:
- image: 'docker.io/opsmx11/restapp:restapp_spincli-1.1'
imagePullPolicy: Always
name: restapp
ports:
- containerPort: 8080
name: http
protocol: TCP
- containerPort: 9092
name: prometheus
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: spincli-service
namespace: default
spec:
ports:
- name: canary
port: 8080
protocol: TCP
targetPort: 8080
- name: reports
port: 9090
protocol: TCP
targetPort: 9090
selector:
app: spincli-4549
type: NodePort