Code Monkey home page Code Monkey logo

lustre-csi-driver's Issues

Bad default imagePullPolicy setting

In the files deploy/kubernetes/lustre-csi-driver.yaml and deploy/kubernetes/lustre-csi-driver-kind.yaml, imagePullPolicy is being set to "Always". I do not think that this is a good default.

I would suggest that is is best to not set this at all, and accept the default policies from the kubernetes environment. We, for instance, are going to want to us "IfNotPresent" rather than "Always".

I would suggest that we omit the imagePullPolicy field from your manifests. Kubenetes' default behavior for selecting a policy when one is not specified seems pretty sane to me:

https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting

and when we use labels that are note "latest", we at least would get the behaviour of "IfNotPresent". If you want to use "latest" and live on the bleeding edge, you can have "Always" selected for you automatically.

Usage documentation bugs

There are a couple bugs in the Usage example:

  1. The claimRef in the PV references a PVC in the lustre-csi-system namespace, but it should be default. Without this change, the example does not work.
  2. The PV and PVC have an access mode of ReadWriteOnce, but should be ReadWriteMany as Lustre supports this mode and is the common way to use Lustre

Need a lustre-csi-driver release

The readme references what is in this repo as v0.0.1 but there are no branches/tags with that designation and no container in ghcr.io with that designation.

I suggest doing a release (see here), which might also require updating the GitHub action to build and push the release.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.