/smb-volume-k8s-release

Primary LanguageGoApache License 2.0Apache-2.0

Build Status

smb-volume-k8s-release

This is a repository in development, pre alpha, not feature complete. This contains kapp applications that package:

  • an smb broker
  • a smb csi driver

Deploying to Cloud Foundry

Prerequisites

Installing smb-csi-driver

cd smb-csi-driver
make kapp

Installing smbbroker

cd smb-broker
make kapp
cf create-service-broker smbbroker foo foo http://smb-broker.cf-smb
cf enable-service-access smb

Installing the log forwarder for cf

cd log-forwarder
make kapp

Push pora and bind and smb volume

cd /tmp
cf push pora -o cfpersi/pora --no-start
cf create-service smb Existing mysmb -c '{"share": "//persi.file.core.windows.net/testshare", "username": "persi", "password": "<password>" }'
cf bind-service pora mysmb
cf start pora
curl https://pora.<system-domain>/write

Testing broker

cd smb-broker
make test

Testing csi driver

cd smb-csi-driver
make fly