Last modified March 9, 2022

Kong API Gateway

Kong is an API gateway that Giant Swarm provides as part of our Connectivity Pack.

Kong provides API microservice management features, as well as other API gateway functionality such as OIDC or caching.

See the Kong website for further details.

Testing

Our overall strategy with testing Kong is to primarily test the integration between Kong and our clusters, via integration and smoke tests, to assert that Kong operates correctly.

Where possible, we will also submit fixes or improvements to testing upstream, so that the entire community can benefit from our experience.

Test Plan

Our current automated test plan can be summarised as follows:

  • Deploy Kong to a CI test cluster, using real-world configuration values
  • Install all relevant plugins (i.e: those in use by our users)
  • Apply our test ingress and backend deployment
  • Test that we can access our backend deployment via Kong
  • Test plugins
    • (including but not limited to: basic auth, cache, cors, key-auth, and response-transformer)
  • Cleanup, tear down

Our aim is to constantly improve this test suite over time, as we discover more relevant integration tests to add.

See our test suite itself for specific details.