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

refactor(suites): simplify kubernetes suite #1680

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

nightah
Copy link
Member

@nightah nightah commented Feb 1, 2021

This PR achieves the following goals:

  • Utilise upstream version of kind instead of a patched version which allows binding to networks other than the default "kind"
  • Utilises the registry cache which is setup one level above the kind cluster

The former point was required to successfully run our integration tests in a Kubernetes environment, however this is now possible without running a patched version of kind.

The second point is because DockerHub has introduced rate limiting for container downloads. If there are a large number of CI jobs nodes may occasionally be rejected due to the Kubernetes suite not pulling down from the registry cache.

This PR achieves the following goals:
* Utilise upstream version of kind instead of a patched version which allows binding to networks other than the default "kind"
* Utilises the registry cache which is setup one level above the kind cluster

The former point was required to successfully run our integration tests in a Kubernetes environment, however this is now possible without running a patched version of kind.

The second point is because DockerHub has introduced rate limiting for container downloads. If there are a large number of CI jobs nodes may occasionally be rejected due to the Kubernetes suite not pulling down from the registry cache.
@authelia
Copy link

authelia bot commented Feb 1, 2021

Artifacts

These changes are published for testing on Buildkite and DockerHub.

Docker Container

  • docker pull authelia/authelia:fix-k8s-suite-registrycache

@codecov
Copy link

codecov bot commented Feb 1, 2021

Codecov Report

Merging #1680 (558a110) into master (968fffb) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1680   +/-   ##
=======================================
  Coverage   70.16%   70.16%           
=======================================
  Files         149      149           
  Lines        4130     4130           
  Branches      172      172           
=======================================
  Hits         2898     2898           
  Misses       1001     1001           
  Partials      231      231           
Flag Coverage Δ
backend 71.72% <ø> (ø)
frontend 64.43% <ø> (ø)

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

Copy link
Member

@james-d-elliott james-d-elliott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@james-d-elliott james-d-elliott merged commit d17c7e7 into master Feb 1, 2021
@james-d-elliott james-d-elliott deleted the fix-k8s-suite-registrycache branch February 1, 2021 22:53
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.

None yet

2 participants