1
0
mirror of https://github.com/erlang/docker-erlang-example.git synced 2025-08-07 06:42:52 +03:00
Files
Kjell Winblad 81c88928de Refactoring: Copy minikube example
This commit copies Lukas Larsson's (@garazdawi) and Siri Hansen's
(@sirihansen) example from:

https://github.com/erlang/docker-erlang-example/tree/minikube-dist
2019-05-20 14:31:47 +02:00

33 lines
531 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
## Name and labels of the Deployment
labels:
app: backend
name: backend
spec:
replicas: 1
selector:
matchLabels:
app: backend
template:
metadata:
labels:
app: backend
spec:
containers:
## The container to launch
- image: backend
name: backend
imagePullPolicy: Never
---
apiVersion: v1
kind: Service
metadata:
name: backend
spec:
ports:
- port: 12345
protocol: TCP
selector:
app: backend