-
Notifications
You must be signed in to change notification settings - Fork 591
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
[feat] Support endpoint slices #1608
Commits on Jul 29, 2021
-
feat: add --use-endpoint-slices option to root cli command
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 29, 2021 Configuration menu - View commit details
-
Copy full SHA for 791fbe9 - Browse repository at this point
Copy the full SHA 791fbe9View commit details -
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 29, 2021 Configuration menu - View commit details
-
Copy full SHA for e6742fa - Browse repository at this point
Copy the full SHA e6742faView commit details
Commits on Jul 30, 2021
-
feat: added functions for endpointslice and updated interfaces
This is required when the CLI input is set to --use-endpoint-slices. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 3f7f5af - Browse repository at this point
Copy the full SHA 3f7f5afView commit details -
feat: added check to ensure compatibility with k8s version
This check ensures that the version of k8s is compatible when using the --use-endpoint-slices feature. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 504f09c - Browse repository at this point
Copy the full SHA 504f09cView commit details -
feat: pass useEndpointSlices cli value
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 8dc375d - Browse repository at this point
Copy the full SHA 8dc375dView commit details -
feat: refactored parser function
This refactor allows the parser to select between 'legacy' endpoints and newer endpointslices and handles them appropriately. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 25e4fef - Browse repository at this point
Copy the full SHA 25e4fefView commit details -
feat: add unit tests for parser functions
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 768689a - Browse repository at this point
Copy the full SHA 768689aView commit details -
chore: slight refactor of parser methods
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 30, 2021 Configuration menu - View commit details
-
Copy full SHA for c4ad2d9 - Browse repository at this point
Copy the full SHA c4ad2d9View commit details -
chore: clean up coverage (Kong#1611)
This patch reduces the packages we want coverage for to pkg/ and internal/ (where all our code lives now minus scripts and some build tools) and turns on unit tests during the integration test runs to capture more coverage data.
Configuration menu - View commit details
-
Copy full SHA for f56d00e - Browse repository at this point
Copy the full SHA f56d00eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6042cfd - Browse repository at this point
Copy the full SHA 6042cfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f579349 - Browse repository at this point
Copy the full SHA f579349View commit details -
Merge pull request Kong#1620 from Kong/stop-status-updates-on-404
[fix] stop status updates on 404
Configuration menu - View commit details
-
Copy full SHA for e135f44 - Browse repository at this point
Copy the full SHA e135f44View commit details -
feat: added new unit test for checking k8s version
This will ensure the validation of kubernetes version for using endpoint slices returns appropriately. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 55f02b6 - Browse repository at this point
Copy the full SHA 55f02b6View commit details -
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 6b1e54b - Browse repository at this point
Copy the full SHA 6b1e54bView commit details -
chore: refactor validation logic for k8s
This moves the validation logic into its own function for code coverage. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 2c02657 - Browse repository at this point
Copy the full SHA 2c02657View commit details -
feat: add integration test for using endpoint slices
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 591994b - Browse repository at this point
Copy the full SHA 591994bView commit details -
chore: seperate latest k8s release tests (Kong#1621)
In another upcoming change we're switching testing of older kubernetes releases onto GKE (from KIND) so that they're running against conformant production quality cluster configurations. This patch moves the tests which must remain in kind (for now) into their own job as a blocker for releases.
Configuration menu - View commit details
-
Copy full SHA for b4b8165 - Browse repository at this point
Copy the full SHA b4b8165View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2164709 - Browse repository at this point
Copy the full SHA 2164709View commit details -
fix: bulk test now periodically cleans up
This was needed to support running against standard GKE clusters which have a tiny default upper bound on the number of Ingress resources that can be present. For the same reason this patch also reduces the overall number of Ingresses tested.
Configuration menu - View commit details
-
Copy full SHA for 6b4ba21 - Browse repository at this point
Copy the full SHA 6b4ba21View commit details -
fix: ingress tests use their own namespaces
This is a step in the direction of making the integration test suite capable of running in parallel.
Configuration menu - View commit details
-
Copy full SHA for 3a685e5 - Browse repository at this point
Copy the full SHA 3a685e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cd0cfb - Browse repository at this point
Copy the full SHA 4cd0cfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dbf48c - Browse repository at this point
Copy the full SHA 3dbf48cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4499d2d - Browse repository at this point
Copy the full SHA 4499d2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20faaad - Browse repository at this point
Copy the full SHA 20faaadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a71a3f - Browse repository at this point
Copy the full SHA 8a71a3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b6a548 - Browse repository at this point
Copy the full SHA 3b6a548View commit details -
Configuration menu - View commit details
-
Copy full SHA for be502c5 - Browse repository at this point
Copy the full SHA be502c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for af1b078 - Browse repository at this point
Copy the full SHA af1b078View commit details
Commits on Jul 31, 2021
-
feat: added additional pre-checks
Pre-check script would pass and fail in the middle of the integration test due to missing helm and kubectl binaries. Added checkes for both and re-organized the print statement so that it does not run too far to the right in the user terminal. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 55bf923 - Browse repository at this point
Copy the full SHA 55bf923View commit details -
feat: added endpoint slice to controller
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for eeb938c - Browse repository at this point
Copy the full SHA eeb938cView commit details -
feat: added endpoint slices to integration tests
Rather than create an entirely separate test for endpoint slices, piggyback on the 2 integration test for PG vs dbless and use endpoint slices for dbless and endpoints for PG. This keeps the codebase simpler while still providing code coverage for endpoints vs. endpoint slices. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 9eeda33 - Browse repository at this point
Copy the full SHA 9eeda33View commit details -
bug: refactor kubernetes version check logic
Previous assumption about the version API was incorrect. Had to create a new clientset to consume the server version to ensure that a consumer is not trying to use endpoint slices against an invalid version. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 431241e - Browse repository at this point
Copy the full SHA 431241eView commit details -
chore: refactor methods for endpoint slices
This fixes a missing logic assumption that did not understand that an EndpointSlice object did not match the exact name of a Service resource like Endpoints do. Rather, we look at the labels of the EndpointSlice resource to match the name to ensure that it belongs to the service. Additionally, added some missing methods that were left out of prior commits. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for b8dbe66 - Browse repository at this point
Copy the full SHA b8dbe66View commit details -
feat: added fake objects and testing for endpoint slices
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for ab0e2b7 - Browse repository at this point
Copy the full SHA ab0e2b7View commit details -
feat: add --use-endpoint-slices option to root cli command
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 010a3c0 - Browse repository at this point
Copy the full SHA 010a3c0View commit details -
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 623de02 - Browse repository at this point
Copy the full SHA 623de02View commit details -
feat: added functions for endpointslice and updated interfaces
This is required when the CLI input is set to --use-endpoint-slices. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 2aa2c18 - Browse repository at this point
Copy the full SHA 2aa2c18View commit details -
feat: added check to ensure compatibility with k8s version
This check ensures that the version of k8s is compatible when using the --use-endpoint-slices feature. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for f246c4e - Browse repository at this point
Copy the full SHA f246c4eView commit details -
feat: pass useEndpointSlices cli value
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 120b8dc - Browse repository at this point
Copy the full SHA 120b8dcView commit details -
feat: refactored parser function
This refactor allows the parser to select between 'legacy' endpoints and newer endpointslices and handles them appropriately. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 553946c - Browse repository at this point
Copy the full SHA 553946cView commit details -
feat: add unit tests for parser functions
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 49f8144 - Browse repository at this point
Copy the full SHA 49f8144View commit details -
chore: slight refactor of parser methods
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 6e72f04 - Browse repository at this point
Copy the full SHA 6e72f04View commit details -
feat: added new unit test for checking k8s version
This will ensure the validation of kubernetes version for using endpoint slices returns appropriately. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for b1da370 - Browse repository at this point
Copy the full SHA b1da370View commit details -
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 7c78075 - Browse repository at this point
Copy the full SHA 7c78075View commit details -
chore: refactor validation logic for k8s
This moves the validation logic into its own function for code coverage. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 61615bd - Browse repository at this point
Copy the full SHA 61615bdView commit details -
feat: add integration test for using endpoint slices
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for f6fde03 - Browse repository at this point
Copy the full SHA f6fde03View commit details -
feat: added additional pre-checks
Pre-check script would pass and fail in the middle of the integration test due to missing helm and kubectl binaries. Added checkes for both and re-organized the print statement so that it does not run too far to the right in the user terminal. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for c276d25 - Browse repository at this point
Copy the full SHA c276d25View commit details -
feat: added endpoint slice to controller
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 647df76 - Browse repository at this point
Copy the full SHA 647df76View commit details -
feat: added endpoint slices to integration tests
Rather than create an entirely separate test for endpoint slices, piggyback on the 2 integration test for PG vs dbless and use endpoint slices for dbless and endpoints for PG. This keeps the codebase simpler while still providing code coverage for endpoints vs. endpoint slices. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 2db42ae - Browse repository at this point
Copy the full SHA 2db42aeView commit details -
bug: refactor kubernetes version check logic
Previous assumption about the version API was incorrect. Had to create a new clientset to consume the server version to ensure that a consumer is not trying to use endpoint slices against an invalid version. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for e69a569 - Browse repository at this point
Copy the full SHA e69a569View commit details -
chore: refactor methods for endpoint slices
This fixes a missing logic assumption that did not understand that an EndpointSlice object did not match the exact name of a Service resource like Endpoints do. Rather, we look at the labels of the EndpointSlice resource to match the name to ensure that it belongs to the service. Additionally, added some missing methods that were left out of prior commits. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 3a982ae - Browse repository at this point
Copy the full SHA 3a982aeView commit details -
feat: added fake objects and testing for endpoint slices
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 1665a0e - Browse repository at this point
Copy the full SHA 1665a0eView commit details -
feat: start either endpoint or endpoint slice controller
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 7e8a899 - Browse repository at this point
Copy the full SHA 7e8a899View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6089a90 - Browse repository at this point
Copy the full SHA 6089a90View commit details -
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 092d019 - Browse repository at this point
Copy the full SHA 092d019View commit details -
Configuration menu - View commit details
-
Copy full SHA for 374f958 - Browse repository at this point
Copy the full SHA 374f958View commit details -
chore: refactor store and tests to support passing integration tests
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 034039c - Browse repository at this point
Copy the full SHA 034039cView commit details -
chore: refactor kubernetes validation logic
Removed the hard-coded versioning logic and moved the logic into a constant. Use a float rather than nested integer checks. Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 8524a33 - Browse repository at this point
Copy the full SHA 8524a33View commit details -
chore: refactor parser to centralize logic for endoint address extrac…
…tion Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for bd8928f - Browse repository at this point
Copy the full SHA bd8928fView commit details -
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 6bb9606 - Browse repository at this point
Copy the full SHA 6bb9606View commit details -
chore: updated change log with fix
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for d12e8b7 - Browse repository at this point
Copy the full SHA d12e8b7View commit details -
fix: fixed typo and duplicate controller definition
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedJul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for ce98883 - Browse repository at this point
Copy the full SHA ce98883View commit details
Commits on Aug 1, 2021
-
fix: remove hard-coded label lookup for endpoint slices
Signed-off-by: Dustin Scott <sdustin@vmware.com>
Dustin Scott committedAug 1, 2021 Configuration menu - View commit details
-
Copy full SHA for f0f6e56 - Browse repository at this point
Copy the full SHA f0f6e56View commit details