Skip to content

add hami quota design#512

Open
lengrongfu wants to merge 648 commits intoProject-HAMi:masterfrom
lengrongfu:docs/quota-design
Open

add hami quota design#512
lengrongfu wants to merge 648 commits intoProject-HAMi:masterfrom
lengrongfu:docs/quota-design

Conversation

@lengrongfu
Copy link
Member

What type of PR is this?
/kind design

What this PR does / why we need it:

当前先用中文写,后续再改为英文。

Which issue(s) this PR fixes:
Fixes # #302

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

dependabot bot and others added 30 commits March 14, 2024 09:21
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](fsnotify/fsnotify@v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.22.0.
- [Commits](golang/net@v0.17.0...v0.22.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
…odes.

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
Signed-off-by: coderth <coderth@outlook.com>
Signed-off-by: coderth <coderth@outlook.com>
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v1...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.10.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v1.10.0...v3.1.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…ontainer

fix: when container nou user device resource index out of range
fix: init controller-runtime log.SetLogger()
…try-name

fix devices registry name error for Cambricon and Hygon this two type
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
…multicontainer-userdevice

fix: when multi container use device allocate fail
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: coderth <coderth@outlook.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
add use can specify use or not use device id feature
dependabot bot and others added 28 commits August 27, 2024 14:25
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.12 to 1.1.14.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](opencontainers/runc@v1.1.12...v1.1.14)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.6.1 to 6.7.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v6.6.1...v6.7.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Signed-off-by: limengxuan <391013634@qq.com>
Signed-off-by: limengxuan <391013634@qq.com>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
* fix golang-lint

Signed-off-by: limengxuan <391013634@qq.com>

* update CodeQL CI

Signed-off-by: limengxuan <391013634@qq.com>

* update ci and remove unused binary in order to support codeQL

Signed-off-by: limengxuan <391013634@qq.com>

---------

Signed-off-by: limengxuan <391013634@qq.com>
Signed-off-by: limengxuan <391013634@qq.com>
Signed-off-by: limengxuan <391013634@qq.com>
Signed-off-by: zoyopei <zoyopei@gmail.com>
Signed-off-by: limengxuan <391013634@qq.com>
Signed-off-by: zoyopei <zoyopei@gmail.com>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
@codecov
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

❌ Patch coverage is 17.43003% with 649 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/device/ascend/device.go 2.75% 141 Missing ⚠️
pkg/device/cambricon/device.go 10.21% 121 Missing and 2 partials ⚠️
pkg/monitor/nvidia/cudevshr.go 0.00% 116 Missing ⚠️
pkg/monitor/nvidia/v0/spec.go 0.00% 55 Missing ⚠️
pkg/monitor/nvidia/v1/spec.go 0.00% 55 Missing ⚠️
pkg/device/nvidia/device.go 51.31% 35 Missing and 2 partials ⚠️
pkg/device/hygon/device.go 16.27% 34 Missing and 2 partials ⚠️
pkg/device/iluvatar/device.go 15.15% 28 Missing ⚠️
pkg/device/devices.go 20.83% 18 Missing and 1 partial ⚠️
pkg/scheduler/event.go 47.82% 10 Missing and 2 partials ⚠️
... and 4 more
Flag Coverage Δ
unittests 26.99% <17.43%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
pkg/k8sutil/pod.go 73.33% <ø> (ø)
pkg/oci/runtime_exec.go 100.00% <ø> (ø)
pkg/oci/runtime_mock.go 100.00% <ø> (ø)
pkg/oci/spec.go 0.00% <ø> (ø)
pkg/oci/spec_mock.go 0.00% <ø> (ø)
pkg/scheduler/pods.go 87.80% <100.00%> (ø)
pkg/scheduler/policy/constant.go 100.00% <100.00%> (ø)
pkg/scheduler/policy/node_policy.go 100.00% <ø> (ø)
pkg/scheduler/routes/route.go 0.00% <ø> (ø)
pkg/scheduler/scheduler.go 29.24% <ø> (ø)
... and 20 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.