generated from cobaltcore-dev/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Release: Bump bundles to 0.0.39, core to 0.0.26, postgres 0.5.13 #590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
081184c
Remove filter packed virtqueue (#565)
PhilippMatthes 03031a8
Bump cortex chart appVersions to sha-081184cd [skip ci]
github-actions[bot] 3ee76b6
Add basic committed resource functionality with reservations (#566)
mblos c509b50
Bump cortex chart appVersions to sha-3ee76b67 [skip ci]
github-actions[bot] 8f6dfef
Remove duplicate namePrefix from cortex values (#571) [skpi ci]
SoWieMarkus 546bf5e
Bump cortex chart appVersions to sha-8f6dfef5 [skip ci]
github-actions[bot] 02cfa32
Remove visualizer components and related files (#570)
SoWieMarkus 52e8d85
Bump cortex chart appVersions to sha-02cfa32d [skip ci]
github-actions[bot] 3e9c27e
Renovate: Update github.com/cobaltcore-dev/openstack-hypervisor-opera…
renovate[bot] 339dc95
Bump cortex chart appVersions to sha-3e9c27ef [skip ci]
github-actions[bot] 7d1b869
Renovate: Update docker/setup-qemu-action action to v4 (#580)
renovate[bot] 8c1f61d
Bump cortex chart appVersions to sha-7d1b8692 [skip ci]
github-actions[bot] 8278d9a
Renovate: Update docker/setup-buildx-action action to v4 (#579)
renovate[bot] b33635e
Bump cortex chart appVersions to sha-8278d9a7 [skip ci]
github-actions[bot] 7151a84
Renovate: Update docker/login-action action to v4 (#577)
renovate[bot] 50bf73f
Bump cortex chart appVersions to sha-7151a847 [skip ci]
github-actions[bot] 9de0594
Renovate: Update docker/build-push-action action to v7 (#576)
renovate[bot] b209b55
Bump cortex chart appVersions to sha-9de0594b [skip ci]
github-actions[bot] 70974a4
Renovate: Update External dependencies (#575)
renovate[bot] 94c919c
Bump cortex chart appVersions to sha-70974a43 [skip ci]
github-actions[bot] 7086080
Renovate: Update github.com/sapcc/go-bits digest to 034b497 (#574)
renovate[bot] a95bd2f
Bump cortex chart appVersions to sha-7086080f [skip ci]
github-actions[bot] 26ef0b1
Renovate: Update docker/metadata-action action to v6 (#578)
renovate[bot] 4e9d48f
Bump cortex chart appVersions to sha-26ef0b1d [skip ci]
github-actions[bot] 781dec1
Configure code rabbit (#582)
SoWieMarkus eceedce
Bump cortex chart appVersions to sha-781dec12 [skip ci]
github-actions[bot] 1aec52b
Upgrade to latest hypervisor crd (#581)
PhilippMatthes ed610ea
Bump cortex chart appVersions to sha-1aec52b7 [skip ci]
github-actions[bot] 60fef16
Add AGENTS.md (#561)
PhilippMatthes cc15c60
Support server groups in workload spawner (#560)
PhilippMatthes bcb664f
Bump cortex chart appVersions to sha-cc15c604 [skip ci]
github-actions[bot] 6db36b8
fix: Bump and fix postgresql base image (#586)
umswmayj f98b132
Bump cortex-postgres chart appVersions to sha-6db36b81 [skip ci]
github-actions[bot] 9b9b835
Bump cortex chart appVersions to sha-6db36b81 [skip ci]
github-actions[bot] 6f843fe
fix: Bump postgres chart (#588)
umswmayj 354b3d8
Restore descheduler alerting (#587)
PhilippMatthes 19ec6e6
Bump cortex chart appVersions to sha-354b3d8b [skip ci]
github-actions[bot] 47117be
fix: Bump cortex-x (new postgres version) (#591)
umswmayj 6b9fa29
Bump cortex chart appVersions to sha-47117be2 [skip ci]
github-actions[bot] c02bd8a
fix: Bump cortex
umswmayj 63434bc
Bump cortex chart appVersions to sha-c02bd8af [skip ci]
github-actions[bot] 13aca98
Bump CortexNovaSchedulingDown alert to critical (#589)
PhilippMatthes ca7b0ea
Use hv1 effective capacity for weighing + filtering (#583)
PhilippMatthes c71d9d4
Provide hypervisor overcommit controller (#584)
PhilippMatthes 3c025df
Refactor kvm resource capacity kpi to use effective capacity (#585)
SoWieMarkus 5bd6777
Bump cortex chart appVersions to sha-3c025dfa [skip ci]
github-actions[bot] cd9a8be
Fix hypervisor crd url
PhilippMatthes 9b5fa57
Fix incorrect scoping in hypervisor overcommit controller
PhilippMatthes 03638cf
Bump cortex chart appVersions to sha-9b5fa574 [skip ci]
github-actions[bot] 1669faa
fix: commitment change API integration test (#592)
mblos c2bc683
Bump cortex chart appVersions to sha-1669faac [skip ci]
github-actions[bot] 9daeb24
Add filter_correct_az to "hot" pipelines
PhilippMatthes b3401a2
Bump cortex chart appVersions to sha-9daeb244 [skip ci]
github-actions[bot] 1401e19
feat: Add fallback to capacity filter and external customer filter (#…
umswmayj a43b058
Bump cortex chart appVersions to sha-1401e19e [skip ci]
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| reviews: | ||
| high_level_summary: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| <!-- | ||
| # SPDX-FileCopyrightText: Copyright SAP SE or an SAP affiliate company and cobaltcore-dev contributors | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| --> | ||
|
|
||
| # Instructions for Agents | ||
|
|
||
| ## Context | ||
|
|
||
| You are developing code in the open-source project github.com/cobaltcore-dev/cortex. | ||
|
|
||
| Cortex is a modular and extensible service for initial placement and scheduling in cloud-native environments covering workloads such as compute, storage, network, and other scheduling domains. | ||
|
|
||
| It improves resource utilization and operational performance by making smart placement decisions based on the current state of the environment and defined constraints and objectives. | ||
|
|
||
| Cortex is written in Golang and is designed for production-scale deployments using algorithmic approaches to balance decision quality, execution efficiency, and maintaining a low resource footprint. | ||
|
|
||
| ## Best Practices | ||
|
|
||
| All code files must contain this license header: | ||
| ```go | ||
| // Copyright SAP SE | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
| ``` | ||
|
|
||
| General: | ||
| - Keep it concise and always focus on good code quality. We go to production | ||
| - We are on modern Golang, so you no longer need `interface{}` and use `any` instead | ||
| - Similarly, you no longer have to capture loop variables in closures, as this is now the default behavior in Go | ||
| - Don’t document trivial steps you do and avoid unnecessary empty lines between code segments | ||
| - When adding imports, keep in mind that the autoformatter will remove them if you don't use them | ||
| - `fmt.Errorf` should not be used when there are no parameters. Use `errors.New` | ||
| - Errors should always be lowercase like `errors.New("this is an error")` to conform to linting rules | ||
| - You can use `maps.Copy` instead of iteratively copying a map | ||
| - You can use `strings.Contains` to check if some string is in another | ||
| - You can use `slices.Contains` to check if an element is part of a slice | ||
| - And definitely use `testlib.Ptr` for test cases that require pointer values | ||
|
|
||
| Testing: | ||
| - Ideally test files should be short and contain only the necessary cases | ||
| - Avoid creating testing libraries, keep helper functions in the same file as the tests that use them | ||
| - Use golang native testing whenever possible, avoid using Ginkgo or testify | ||
| - Don't test for the existence of interface methods | ||
| - If applicable, use struct based test cases, but limit yourself to the most relevant cases | ||
|
|
||
| Helm charts: | ||
| - Note the `# from: file://../../library/cortex-postgres` comment in `Chart.yaml` files, this is required and should point to the local chart path | ||
|
|
||
| ## Repository Structure | ||
|
|
||
| Code: | ||
| - `cmd/main.go` is the entry point for the manager, which starts the controllers and webhooks | ||
| - `api/v1alpha1` is where the CRD specs of cortex lives | ||
| - `api/external` contains messages sent to cortex via http from external openstack services | ||
| - `internal/scheduling` contains the logic for scheduling in different cloud domains | ||
| - `internal/knowledge` has all the logic for feature extraction and raw data downloads from sources like prometheus and openstack | ||
| - `pkg` is the code that is very non-cortex-specific and can be used across other projects as well | ||
|
|
||
| Deployment: | ||
| - `helm/library` contains a generic cortex setup, i.e. the manager and its dependencies | ||
| - `helm/dev` contains charts that can deploy cortex dependencies that a typical production cluster already has, such as a fine-tuned kube-prometheus-stack for monitoring | ||
| - `helm/bundles` here are the charts that stylize the library chart into a deployment for a specific domain, for example a bundle for deploying cortex with openstack nova | ||
| - In the `helm` folders there are also helpers for syncing helm dependencies which are used by the tiltfile for local development and our ci pipelines to replace oci dependencies with local paths | ||
|
|
||
| Tooling: | ||
| - `tools` contains miscallaneous tools for development, which should typically **not** be used by agents | ||
|
|
||
| Documentation: | ||
| - `docs` contains documentation for cortex, which should be written in markdown | ||
|
|
||
| ## Tooling | ||
|
|
||
| Before finishing your task, you should always ensure local tests and lints are passing: | ||
| - `make` regenerates CRDs and deepcopy methods, runs tests, and performs lints | ||
| - Avoid running `make` when you don't want to apply your crd changes just yet | ||
| - `make lint` runs golangci-lint, `make lint-fix` runs golangci-lint with `--fix` | ||
| - `make test` runs all the unit tests with `go test ./...` | ||
| - If you are struggling with the Makefile, you can use `make help` to get a list of all available commands and their descriptions | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| * arno.uhlig@sap.com julius.clausnitzer@sap.com malte.viering@sap.com marcel.bloecher@sap.com markus.wieland@sap.com p.matthes@sap.com | ||
| * arno.uhlig@sap.com julius.clausnitzer@sap.com malte.viering@sap.com marcel.gute@sap.com markus.wieland@sap.com p.matthes@sap.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.