Document using skaffold for dev
This commit is contained in:
Родитель
2ec51ee0ef
Коммит
b5b72d1baf
|
@ -142,3 +142,7 @@ Please attach log file `/var/log/smb-driver.log` and file an issue
|
|||
[Flexvolume doc](https://github.com/kubernetes/community/blob/master/contributors/devel/flexvolume.md)
|
||||
|
||||
[Persistent Storage Using FlexVolume Plug-ins](https://docs.openshift.org/latest/install_config/persistent_storage/persistent_storage_flex_volume.html)
|
||||
|
||||
### Developer Tip for working on Helm Chart + Docker FlexVol-Installer
|
||||
|
||||
Skaffold can make it easier iteratively debug the helm chart / docker installer. See `./skaffold.yaml` for details.
|
|
@ -12,7 +12,7 @@ on each node in your K8S cluster.
|
|||
|
||||
## Configure the smbVolume for your SMB server/share and deploy:
|
||||
|
||||
1. Configure all settings in `values.yaml` marked *MUST CONFIGURE*:
|
||||
1. Edit `values.yaml` and configure lines marked *MUST CONFIGURE*:
|
||||
- Set `smbVolume.server`, `smbVolume.share` to access //smbVolume.server/smbVolume.share
|
||||
- Create an `smbcreds` secret on your k8s cluster with your SMB login credentials:
|
||||
```
|
||||
|
@ -40,4 +40,6 @@ until everything is working how you want.
|
|||
4. Debug interactively on the testPod if necessary:
|
||||
```
|
||||
kubectl exec -it $(kubectl get pod -l "role=testpod" -o name) -- bash
|
||||
```
|
||||
```
|
||||
|
||||
That's it! Happy helming!
|
|
@ -1,4 +1,13 @@
|
|||
# Config file for the Skaffold build/dev tool: https://skaffold.dev/
|
||||
#
|
||||
# Skaffold is particularly helpful for iterative development
|
||||
# of the smb-flexvol-installer / helm chart combination.
|
||||
#
|
||||
# Changes to the helm chart or docker installer can be deployed using:
|
||||
# `skaffold run`
|
||||
#
|
||||
# Continuous "dev cycle" deploys can be run using:
|
||||
# `skaffold dev`
|
||||
|
||||
apiVersion: skaffold/v2beta1
|
||||
kind: Config
|
||||
|
|
Загрузка…
Ссылка в новой задаче