mirror of
https://github.com/nicholasr-itsulu/FediFetcher.git
synced 2026-05-30 23:41:26 +00:00
Update k8s-cronjob.md
Add an PVC example.
This commit is contained in:
parent
1bf5615e69
commit
3729f0a0df
1 changed files with 15 additions and 0 deletions
|
|
@ -12,6 +12,21 @@ kubectl create secret generic fedifetcher \
|
|||
--from-literal=token="<token>"
|
||||
```
|
||||
|
||||
Define a PVC, for example:
|
||||
|
||||
```yaml
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: fedifetcher-pvc
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
```
|
||||
|
||||
Now define the cronjob, and don't forget to define your PVCs:
|
||||
|
||||
```yaml
|
||||
|
|
|
|||
Loading…
Reference in a new issue