28 lines
514 B
YAML
28 lines
514 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: ioteer-dragino
|
||
|
name: ioteer-dragino
|
||
|
namespace: ioteer
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: ioteer-dragino
|
||
|
strategy: {}
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: ioteer-dragino
|
||
|
spec:
|
||
|
containers:
|
||
|
- image: tobru/ioteer:latest
|
||
|
name: ioteer
|
||
|
envFrom:
|
||
|
- secretRef:
|
||
|
name: ioteer-dragino
|
||
|
ports:
|
||
|
- containerPort: 8080
|
||
|
protocol: TCP
|