How to use an external NFS Server with Codacy

sudo apt update
sudo apt install nfs-kernel-server
sudo mkdir /var/nfs/data -p
sudo chown nobody:nogroup /var/nfs/data/
/var/nfs/data  CLIENT_IP(rw,sync,no_subtree_check,no_root_squash)
sudo systemctl restart nfs-kernel-server
nfsserverprovisioner:
enabled: false
cache:
name: listener-cache
path: /data
nfs:
server: NFS_SERVER_IP
path: /var/nfs/data/
helm upgrade --install codacy codacy-stable/codacy \              
--namespace codacy \
--version $VERSION \
--values values-production.yaml
# --values values-microk8s.yaml
kubectl describe pod -n codacy codacy-listener-######
Volumes:
listener-cache:
Type: NFS (an NFS mount that lasts the lifetime of a pod)
Server: NFS_SERVER_IP
Path: /var/nfs/data/
ReadOnly: false

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store