03bfe08e1d
This moves the various projects from "type-based" folders (such as "services" or "tools") into more appropriate semantic folders (such as "nix", "ops" or "web"). Deprecated projects (nixcon-demo & gotest) which only existed for testing/demonstration purposes have been removed. (Note: *all* builds are broken with this commit)
34 lines
549 B
YAML
34 lines
549 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: tazblog
|
|
labels:
|
|
app: tazblog
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
app: tazblog
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: tazblog
|
|
spec:
|
|
containers:
|
|
- name: tazblog
|
|
image: nixery.local/shell/services.tazblog:{{ gitHEAD }}
|
|
command: [ "tazblog" ]
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: tazblog
|
|
spec:
|
|
type: NodePort
|
|
selector:
|
|
app: tazblog
|
|
ports:
|
|
- protocol: TCP
|
|
port: 8000
|
|
targetPort: 8000
|