Giter Site home page Giter Site logo

apis's People

Contributors

guoqinwill avatar hecarimv avatar hliangzhao avatar huone1 avatar hwdef avatar jinzhejz avatar lilyandlily avatar lowang-bh avatar merryzhou avatar robertchristensen avatar shinytang6 avatar thor-wl avatar volcano-sh-bot avatar waiterq avatar wangyang0616 avatar william-wang avatar wpeng102 avatar xiaoanyunfei avatar zhoumingcheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apis's Issues

Create v1.3.0 and v1.4.0 tag for volcano api

Is your feature request related to a problem? Please describe.
I am drafting a PR to add volcano support for kubernets client, unfortunately, there were no official tag, like v1.3.0 and v1.4.0 in here.

Describe the solution you'd like
Create v1.3.0 and v1.4.0 tag in volcano github repo.

Describe alternatives you've considered
We could use v1.X.0-k8sXXX as alternative but it's a little bit wired, and looks like unofficial.

Additional context
This is a part of volcano-sh/volcano#1704 .

add label key `volcano.sh/task-index`

Is your feature request related to a problem? Please describe.
current, volcano task pod has label:

volcano.sh/job-name
volcano.sh/task-spec=worker

but missed task-index

task-index is important:

  • get task-index from pod object label, instead of parsing pod name
  • add a service by selector job-name task-spec task-index if someone need a k8s Service for a target task Pod
  • mount env from labels as a TASK_INDEX; the env plugin provide env key VC_TASK_INDEX which user cannot custom the name.

Describe the solution you'd like

add a volcano.sh/task-index to pod label

Describe alternatives you've considered

I want to know the reason why task-index not set to pod annotation

Additional context

the kubeflow training-operator project provider those labels in the task pod:

training.kubeflow.org/job-name
training.kubeflow.org/replica-type=chief
training.kubeflow.org/replica-index=0

client can not get allocated filed of queue

Describe the bug
The queue has a filed allocated in CRD
image

but allocated is not defined in QueueStatus, So the field cannot be obtained through the client。
image

Expected behavior
Get allocated filed through client.

seperate the api and client

Describe the solution you'd like
move the client to another repo, and make the apis repo to be a pure api defination which does not depends k8s version.
users can generate the client themselves or use our client repo directly.

Move ClientSet and utilities to another repo

Is your feature request related to a problem? Please describe.
I don't want to add unused dependencies such as client-go and etc when I use controller-runtime to develop operators.

Describe the solution you'd like
I think it would be a good idea to move pkg/clientset and pkg/apis/helpers to another repo such as volcano/client-go like what istio/client-go did.

Additional context
There is no need to add replace statement in go.mod

Command and CommandList missing method DeepCopyObject

# volcano.sh/apis/pkg/apis/bus/v1alpha1
../../../pkg/mod/volcano.sh/[email protected]/pkg/apis/bus/v1alpha1/register.go:46:3: cannot use &Command{} (value of type *Command) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to scheme.AddKnownTypes: *Command does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
../../../pkg/mod/volcano.sh/[email protected]/pkg/apis/bus/v1alpha1/register.go:47:3: cannot use &CommandList{} (value of type *CommandList) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to scheme.AddKnownTypes: *CommandList does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)

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.