Skip to content
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

Rebase to upstream whereabouts #10

Open
wants to merge 371 commits into
base: master
Choose a base branch
from

Conversation

xagent003
Copy link

No description provided.

nicklesimba and others added 29 commits July 11, 2022 15:43
Moved IP Reconciler code into IP Control Loop
…for-bugs

Propose issue templates for bugs
Signed-off-by: Miguel Duarte Barroso <[email protected]>
…roposals

ci automation, docs: maiqueb cares about docs
We had forgotten to request more memory when we added the controller,
which furthermore now also runs the `ip-reconciler` cron.

Signed-off-by: Miguel Duarte Barroso <[email protected]>
controller: request more memory to prevent runtime OOM kills
* DualStack Proposal

Signed-off-by: Ayush Patel <[email protected]>

* Update dualstack proposal document

- Updated attribute and struct name as per discussion
- Minor formatting in proposal document

* Added a section for discussion and decisions in dualstack proposal

* Added explaination for backward compatibility in dualstack proposal

Signed-off-by: Ayush Patel <[email protected]>
This way, we stop relying on 3rd party repos, and have the cni
installation script available within the repo.

Signed-off-by: Miguel Duarte Barroso <[email protected]>
This commit removes the controller-runtime dependency from the
production code.

Removing the dependency from the unit-tests will happen on a follow-up
commit.

Signed-off-by: Miguel Duarte Barroso <[email protected]>
These unit tests make no sense - they're generated code, which is known
to work.

Signed-off-by: Miguel Duarte Barroso <[email protected]>
We will now rely on the fake kubernetes clients to hold the state of the
pools / pods / etc, instead of the testing `controller-runtime` objects.

Thus, we need to perform dependency injection to inject the "correct"
K8s client to the CNI cmd ADD / DEL / CHECK functions.

Signed-off-by: Miguel Duarte Barroso <[email protected]>
Some tests that didn't make sense anymore were deleted, while some
were ported to the `config` pkg unit tests.

Signed-off-by: Miguel Duarte Barroso <[email protected]>
* Install controller-gen in project-local bin directory

Replace the global installation of [email protected] with
project-local installation in bin directory

Signed-off-by: Ayush Patel <[email protected]>

* Install staticcheck before running test

Added script to install staticcheck in project-local bin directory
before running tests. Also updated the tests to use project-local
staticcheck installed in bin directory.

Signed-off-by: Ayush Patel <[email protected]>

* Updated crd generation script

Signed-off-by: Ayush Patel <[email protected]>

Signed-off-by: Ayush Patel <[email protected]>
build, ci: remove the install-kubebuilder-tools script
Signed-off-by: Antonin Bas <[email protected]>
Introduce new type 'RangeConfiguration' for encapsulating the fields
related to the range from which whereabouts will choose a free IP to be
assigned to any pod.

Add a new field 'IPRanges' to the struct 'IPAMConfig' which is a array
of 'RangeConfiguration'. Whereabouts will assign one free IP from evey
range in 'IPRanges' to the pod.

Signed-off-by: Ayush Patel <[email protected]>
mlguerrero12 and others added 30 commits July 25, 2024 13:22
README.md NodeSliceFastIPAM typo fix
Adds a script that can be used with the the local kind cluster to test
the impact of changes to whereabouts from a scale perspective

Signed-off-by: Benjamin Pickard <[email protected]>
Signed-off-by: Benjamin Pickard <[email protected]>
Creates functions to generate the kubeconfig and whereabouts conf
use these functions to check if the serviveAccount changes to regen the
kubeconfig if it expires

Change WHEREABOUTS_FLATFILE to WHEREABOUTS_CONF_FILE for clarity

Signed-off-by: Benjamin Pickard <[email protected]>
Add missing crds and options in the chart
during the reconcilation loop we check to see if we have any orphaned
Ips, and during this we currently have a 1.5 second sleep. I ran some
tests and found a decent perf improvement by dropping this by half, but
removing it completely caused issues

Signed-off-by: Benjamin Pickard <[email protected]>
Bumps [morphy2k/revive-action](https://github.com/morphy2k/revive-action) from 2.5.7 to 2.5.10.
- [Release notes](https://github.com/morphy2k/revive-action/releases)
- [Commits](morphy2k/revive-action@v2.5.7...v2.5.10)

---
updated-dependencies:
- dependency-name: morphy2k/revive-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps openshift/release from golang-1.21 to golang-1.22.

---
updated-dependencies:
- dependency-name: openshift/release
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 44 to 45.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](tj-actions/changed-files@v44...v45)

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

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [morphy2k/revive-action](https://github.com/morphy2k/revive-action) from 2.5.10 to 2.5.11.
- [Release notes](https://github.com/morphy2k/revive-action/releases)
- [Commits](morphy2k/revive-action@v2.5.10...v2.5.11)

---
updated-dependencies:
- dependency-name: morphy2k/revive-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps golang from 1.21 to 1.23.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [morphy2k/revive-action](https://github.com/morphy2k/revive-action) from 2.5.11 to 2.6.0.
- [Release notes](https://github.com/morphy2k/revive-action/releases)
- [Commits](morphy2k/revive-action@v2.5.11...v2.6.0)

---
updated-dependencies:
- dependency-name: morphy2k/revive-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Align with version used in Dockerfile

Signed-off-by: Marcelo Guerrero <[email protected]>
Bumps [morphy2k/revive-action](https://github.com/morphy2k/revive-action) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/morphy2k/revive-action/releases)
- [Commits](morphy2k/revive-action@v2.6.0...v2.7.0)

---
updated-dependencies:
- dependency-name: morphy2k/revive-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
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.