22 lines
400 B
YAML
22 lines
400 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: go-redirect
|
||
|
namespace: go-redirect
|
||
|
spec:
|
||
|
replicas: 3
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: go-redirect
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: go-redirect
|
||
|
spec:
|
||
|
containers:
|
||
|
- image: git.mziesel.nl/mans/goredir:latest
|
||
|
name: go-redirect
|
||
|
ports:
|
||
|
- name: web
|
||
|
containerPort: 80
|