update
This commit is contained in:
33
dmz/redlib/templates/deployment.yaml
Normal file
33
dmz/redlib/templates/deployment.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: redlib
|
||||
name: redlib
|
||||
labels:
|
||||
app: redlib
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: redlib
|
||||
replicas: 3
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: redlib
|
||||
spec:
|
||||
containers:
|
||||
- name: redlib
|
||||
image: registry.durp.info/redlib/redlib:latest
|
||||
imagePullPolicy: Always
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
env:
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
Reference in New Issue
Block a user