feat: add pz server
Some checks failed
checks / k8s (push) Successful in 9s
checks / tflint (push) Successful in 14s
checks / pre-commit (push) Successful in 1m56s
OpenTofu deployments / adguard (push) Successful in 38s
OpenTofu deployments / authentik (push) Failing after 13m29s
Kaniko deployments / nextcloud (push) Failing after 14m37s
Some checks failed
checks / k8s (push) Successful in 9s
checks / tflint (push) Successful in 14s
checks / pre-commit (push) Successful in 1m56s
OpenTofu deployments / adguard (push) Successful in 38s
OpenTofu deployments / authentik (push) Failing after 13m29s
Kaniko deployments / nextcloud (push) Failing after 14m37s
This commit is contained in:
parent
e935f66db2
commit
1994de8fcb
6 changed files with 122 additions and 9 deletions
19
k8s/playground/nfstest/pod.yaml
Normal file
19
k8s/playground/nfstest/pod.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
kind: Pod
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: pod-using-nfs
|
||||
namespace: apps-fuku
|
||||
spec:
|
||||
containers:
|
||||
- name: app
|
||||
image: alpine
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /var/nfs
|
||||
command: ["/bin/sh"]
|
||||
args: ["-c", "sleep 500000"]
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: myapp-nfs
|
||||
14
k8s/playground/nfstest/pvc.yaml
Normal file
14
k8s/playground/nfstest/pvc.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: myapp-nfs
|
||||
namespace: apps-fuku
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: ""
|
||||
volumeName: nas1
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
15
k8s/playground/nfstest/pvwithnfs.yaml
Normal file
15
k8s/playground/nfstest/pvwithnfs.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: nas1
|
||||
namespace: apps-fuku
|
||||
spec:
|
||||
capacity:
|
||||
storage: 5Gi
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
nfs:
|
||||
server: zeruel.fuku
|
||||
path: /mnt/pool1/nas1
|
||||
Loading…
Add table
Add a link
Reference in a new issue