-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8s.yaml
51 lines (47 loc) · 835 Bytes
/
k8s.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
apiVersion: v1
kind: Namespace
metadata:
name: non-triqla
labels:
name: non-triqla
---
apiVersion: v1
kind: Service
metadata:
labels:
app: decentninja
name: decentninja
namespace: non-triqla
spec:
ports:
- protocol: TCP
port: 80
selector:
app: decentninja
type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: decentninja
namespace: non-triqla
spec:
replicas: 1
selector:
matchLabels:
app: decentninja
template:
metadata:
labels:
app: decentninja
spec:
containers:
- image: eu.gcr.io/warm-melody-260208/decentninja
imagePullPolicy: IfNotPresent
name: decentninja
ports:
- containerPort: 80
protocol: TCP
resources: {}
imagePullSecrets:
- name: gcr-json-key