Primer commit
This commit is contained in:
28
deployments/jobservice.yaml
Normal file
28
deployments/jobservice.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: harbor-jobservice
|
||||
namespace: harbor
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: harbor-jobservice
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: harbor-jobservice
|
||||
spec:
|
||||
containers:
|
||||
- name: jobservice
|
||||
image: goharbor/harbor-jobservice:v2.10.0
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: jobservice-data
|
||||
mountPath: /var/jobservice
|
||||
volumes:
|
||||
- name: jobservice-data
|
||||
persistentVolumeClaim:
|
||||
claimName: jobservice-pvc
|
||||
|
Reference in New Issue
Block a user