Skip to content

Commit

Permalink
feat: Increase number of nfs threads
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Paskal <[email protected]>
  • Loading branch information
maksim-paskal committed Jan 15, 2025
1 parent c440def commit a3ac949
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion scripts/chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: hcloud-k8s-ctl
version: 0.0.2
version: 0.0.3
dependencies:
- name: nfs-subdir-external-provisioner
version: "4.0.16"
Expand Down
10 changes: 3 additions & 7 deletions scripts/chart/templates/nfs-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,10 @@ spec:
{{ end }}
containers:
- name: nfs-server
# git clone [email protected]:sjiveson/nfs-server-alpine.git
# cd nfs-server-alpine
# remove --no-nfs-version 2 in nfsd.sh
# docker build . --platform=linux/amd64,linux/arm64 --pull --push -t paskalmaksim/nfs-server-alpine:$(date '+%Y%m%d')$(git rev-parse --short HEAD)
image: paskalmaksim/nfs-server-alpine:20231106ca320f7
image: {{ printf "%s:%s" .Values.deployments.nfs.server.image.repository .Values.deployments.nfs.server.image.tag }}
imagePullPolicy: {{ .Values.deployments.nfs.server.image.pullPolicy }}
env:
- name: SHARED_DIRECTORY
value: "/exports"
{{ toYaml .Values.deployments.nfs.server.env | indent 8 }}
volumeMounts:
- mountPath: /exports
name: nfs-data
Expand Down
7 changes: 7 additions & 0 deletions scripts/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ deployments:
nodeSelector: {}
tolerations: []
affinity: {}
image:
repository: paskalmaksim/nfs-server-alpine
tag: 20250115653a8da
pullPolicy: IfNotPresent
env:
- name: SHARED_DIRECTORY
value: "/exports"
nfs-subdir-external-provisioner:
enabled: false
registry:
Expand Down

0 comments on commit a3ac949

Please sign in to comment.