blob: bf2d666b2ebfd70e8f40519857d572ee028197b0 [file] [log] [blame]
giolekva01eb8792020-04-27 16:42:38 +04001---
2apiVersion: v1
3kind: Namespace
4metadata:
5 name: app-rpuppy
6---
7kind: Service
8apiVersion: v1
9metadata:
10 name: rpuppy
11 namespace: app-rpuppy
12spec:
13 type: ClusterIP
14 selector:
15 app: rpuppy
16 ports:
17 - nodePort:
18 port: 80
19 targetPort: 1234
20---
21kind: Deployment
22apiVersion: apps/v1
23metadata:
24 name: rpuppy
25 namespace: app-rpuppy
26spec:
27 selector:
28 matchLabels:
29 app: rpuppy
30 replicas: 1
31 template:
32 metadata:
33 labels:
34 app: rpuppy
35 spec:
36 containers:
37 - name: rpuppy
38 image: giolekva/rpuppy-arm:latest
39 imagePullPolicy: IfNotPresent
40 ports:
41 - containerPort: 1234
42 command: ["rpuppy", "--port=1234"]