Start a Conversation

Unsolved

SR

29 Posts

980

June 3rd, 2021 02:00

Unity CSI driver for kubernetes using a local image registry

Is it possible to install the CSI driver for unity from a local image registry .

I checked the offline installation 

https://dell.github.io/storage-plugin-docs/docs/installation/offline/

the customer already downloaded the images to the local image repository 

can we just modify dell/csi-unity/master/helm/csi-unity/driver-image.yaml file 

# IT IS RECOMMENDED YOU DO NOT CHANGE THE IMAGES TO BE DOWNLOADED.
images:
  # "images.driver" defines the container images used for the driver container.
  driver: dellemc/csi-unity:v1.5.0

or customer has to follow the complete offline install procedure  ?

Any way to change the pointed from docker hub to local image registry just by modifying some files 

June 3rd, 2021 04:00

is it good enough if the customer is able to pull the images to the local docker registry  or on the master node 

and run thru the helm procedure.

June 3rd, 2021 23:00

customer is using harbour local registry 

https://goharbor.io/

i guess offline install is the only option for them 

 

42 Posts

June 7th, 2021 00:00

Hi @rajans 

If you really want the image from their local repository then override images->driver in myvalues.yaml 

Hope this would help you.

Regards

Thar_J

 

June 9th, 2021 03:00

did you mean ?

# The default pull policy is IfNotPresent which causes the Kubelet to skip pulling an image
# if it already exists. If you would like to always force a pull, use "Always"
imagePullPolicy: IfNotPresent

 

42 Posts

June 17th, 2021 03:00

Hi @rajans 

The imagepullpolicy decides whether to check image in local machine or not, if it is IfNotPresent, then at first will check in cluster node and then image repository. 

Kindly update your local image in the location:

helm/csi-unity/driver-image.yaml. 

Regards

Thar_J

 

No Events found!

Top