2019-08-19 04:10:53 +02:00
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: tazblog
|
|
|
|
labels:
|
|
|
|
app: tazblog
|
|
|
|
spec:
|
2019-08-23 15:13:13 +02:00
|
|
|
replicas: 2
|
2019-08-19 04:10:53 +02:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: tazblog
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: tazblog
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: tazblog
|
2019-11-16 00:37:22 +01:00
|
|
|
image: nixery.local/shell/services.tazblog:{{ gitHEAD }}
|
2019-08-19 04:10:53 +02:00
|
|
|
command: [ "tazblog" ]
|
2019-08-27 13:44:37 +02:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: tazblog
|
|
|
|
spec:
|
|
|
|
type: NodePort
|
|
|
|
selector:
|
|
|
|
app: tazblog
|
|
|
|
ports:
|
|
|
|
- protocol: TCP
|
|
|
|
port: 8000
|
|
|
|
targetPort: 8000
|