Giter Site home page Giter Site logo

csi-translation-lib's Introduction

Purpose

This repository contains functions to be consumed by various Kubernetes and out-of-tree CSI components like external provisioner to facilitate migration of code from Kubernetes In-tree plugin code to CSI plugin repositories.

Consumers of this repository can make use of functions like TranslateToCSI and TranslateToInTree functions to translate PV sources.

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this repository at:

Code of Conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

Contibution Guidelines

See CONTRIBUTING.md for more information.

csi-translation-lib's People

Contributors

andrewsykim avatar andyzhangx avatar apelisse avatar benluddy avatar bentheelder avatar bertinatto avatar cblecker avatar dashpole avatar davidz627 avatar ddebroy avatar dims avatar divyenpatel avatar humblec avatar ialidzhikov avatar jefftree avatar jiahuif avatar jpbetz avatar jsafrane avatar justaugustus avatar k8s-publishing-bot avatar kassarl avatar liggitt avatar madhavjivrajani avatar pacoxu avatar pohly avatar serathius avatar skitt avatar sttts avatar thockin avatar tossmilestone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csi-translation-lib's Issues

Unknown allowedTopologies cause an error

Unknown allowedTopology labels cause translation to fail: https://github.com/kubernetes/csi-translation-lib/blob/master/plugins/in_tree_volume.go#L329

However, on GKE other labels are sometimes used in PV node affinity, such as kubernetes.io/hostname or kubernetes.io/os. It's not common (100s of clusters as of July 2021), but seems enough that it should be dealt with.

The suggestion is to just pass unknown topologies through. If they are used in the storageclass labels they will cause failures, but that is the current gce-pd behavior anyway.

This reasoning probably holds for other clouds as well, although I haven't tested it myself.

/assign @mattcary

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.