UNSOLVED

sundar.rajan

updated

5 years ago

0

1104

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 

  • 876

    0

    Posted 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.

  • 853

    0

    Posted June 3rd, 2021 23:00

    customer is using harbour local registry 

    https://goharbor.io/

    i guess offline install is the only option for them 

     

  • Thar_J

    42 Posts

    758

    0

    Posted 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

     
  • 703

    0

    Posted 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

     

  • Thar_J

    42 Posts

    655

    0

    Posted 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