You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
564 B
YAML
28 lines
564 B
YAML
2 years ago
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: shynet-application
|
||
|
namespace: default
|
||
|
labels:
|
||
|
app: shynet-application
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: shynet-application
|
||
|
strategy:
|
||
|
type: Recreate
|
||
|
replicas: 1
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: shynet-application
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: shynet-application
|
||
|
image: milesmcc/shynet:v0.12.0
|
||
|
imagePullPolicy: IfNotPresent
|
||
|
command: ["./celeryworker.sh"]
|
||
|
envFrom:
|
||
|
- secretRef:
|
||
|
name: shynet-settings
|