{"id":20840300,"url":"https://github.com/kong/kubernetes-testing-framework","last_synced_at":"2026-04-03T15:05:41.441Z","repository":{"id":37083754,"uuid":"337460310","full_name":"Kong/kubernetes-testing-framework","owner":"Kong","description":"Golang Integration Testing Framework For Kubernetes APIs and Controllers.","archived":false,"fork":false,"pushed_at":"2026-03-19T10:45:50.000Z","size":2580,"stargazers_count":43,"open_issues_count":51,"forks_count":11,"subscribers_count":10,"default_branch":"main","last_synced_at":"2026-03-29T13:29:22.794Z","etag":null,"topics":["docker","golang","gotest","kong","kubernetes","team-k8s"],"latest_commit_sha":null,"homepage":"https://konghq.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kong.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-02-09T16:06:43.000Z","updated_at":"2026-03-19T08:57:37.000Z","dependencies_parsed_at":"2026-03-11T09:03:54.208Z","dependency_job_id":null,"html_url":"https://github.com/Kong/kubernetes-testing-framework","commit_stats":null,"previous_names":[],"tags_count":104,"template":false,"template_full_name":null,"purl":"pkg:github/Kong/kubernetes-testing-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kong%2Fkubernetes-testing-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kong%2Fkubernetes-testing-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kong%2Fkubernetes-testing-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kong%2Fkubernetes-testing-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kong","download_url":"https://codeload.github.com/Kong/kubernetes-testing-framework/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kong%2Fkubernetes-testing-framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31359122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T14:24:47.623Z","status":"ssl_error","status_checked_at":"2026-04-03T14:24:32.380Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","golang","gotest","kong","kubernetes","team-k8s"],"created_at":"2024-11-18T01:15:53.273Z","updated_at":"2026-04-03T15:05:41.372Z","avatar_url":"https://github.com/Kong.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ktf-banner](https://user-images.githubusercontent.com/5332524/120493758-39a54380-c389-11eb-8adb-ae4a30884851.png)\n\n[![tests](https://github.com/Kong/kubernetes-testing-framework/actions/workflows/tests.yaml/badge.svg)](https://github.com/Kong/kubernetes-testing-framework/actions/workflows/tests.yaml)\n[![codecov](https://codecov.io/gh/Kong/kubernetes-testing-framework/branch/main/graph/badge.svg?token=ZJN2GM1CFS)](https://codecov.io/gh/Kong/kubernetes-testing-framework)\n[![Go Report Card](https://goreportcard.com/badge/github.com/kong/kubernetes-testing-framework)](https://goreportcard.com/report/github.com/kong/kubernetes-testing-framework)\n[![GoDoc](https://godoc.org/github.com/kong/kubernetes-testing-framework?status.svg)](https://godoc.org/github.com/kong/kubernetes-testing-framework)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/kong/kubernetes-testing-framework/blob/main/LICENSE)\n\n# Kong Kubernetes Testing Framework (KTF)\n\nTesting framework used by the [Kong Kubernetes Team][team].\n\nOriginally this testing framework was developed for the [Kong Kubernetes Ingress Controller (KIC)][kic] but is now used across multiple Kubernetes projects.\n\nThis testing framework supports the following use cases:\n\n- **provide Kubernetes testing environments pre-deployed with addons for manual and automated testing via CLI or Golang**\n- **provide unit testing utilities for Golang tests which focus on Kubernetes**\n- **provide integration testing utilities for Golang tests which test Kubernetes controllers and other applications**\n\n[team]:https://github.com/orgs/Kong/teams/team-k8s\n[kic]:https://github.com/kong/kubernetes-ingress-controller\n\n# Requirements\n\n* [Go][go] `v1.19.x+`\n* Linux (Mac/Windows not currently supported)\n\n[go]:https://go.dev\n\n# Usage\n\nThis framework can be used via command-line interface or as a Golang library.\n\n## Command Line Tool\n\nThis project provides a command-line tool named `ktf` which can be used to build Kubernetes testing environments.\n\n### Install\n\nIf you have [Golang](https://go.dev) installed locally you can install with `go`:\n\n```shell\n$ go install github.com/kong/kubernetes-testing-framework/cmd/ktf@latest\n```\n\nOtherwise you can use the shell script to install the latest release for your operating system:\n\n```shell\n$ curl --proto '=https' -sSf https://kong.github.io/kubernetes-testing-framework/install.sh | sh\n```\n\nIf neither of these options suits you then you can install manually by navigating to the [RELEASES][releases] page and downloading the binary for your platform directly.\n\n[releases]:https://github.com/Kong/kubernetes-testing-framework/releases\n\n### Provisioning Kubernetes Testing Environments\n\nYou can deploy a testing environment with the following command:\n\n```shell\n$ ktf environments create --generate-name\n```\n\nTesting environments can be deleted with this command:\n\n```shell\n$ ktf environments delete --name \u003cNAME\u003e\n```\n\n#### Examples\n\nCommonly this tool is used to deploy a Kubernetes environment with addons such as the [Kong Gateway](https://github.com/kong/kong).\n\nYou can deploy a cluster with the Kong Gateway already deployed and accessible via `LoadBalancer` services by running the following:\n\n```shell\n$ ktf environments create --name kong-gateway-testing --addon metallb --addon kong\n```\n\nOnce the cluster is up configure your `kubectl` to use it:\n\n```shell\n$ kubectl cluster-info --context kind-kong-gateway-testing\n```\n\nYou can see the IP addresses where you can reach the Gateway and the Admin API with:\n\n```shell\n$ kubectl -n kong-system get services\n```\n\n# Contributing\n\nSee [CONTRIBUTING.md](/CONTRIBUTING.md).\n\n# Community\n\nIf you have any questions about this tool and want to get in touch with the maintainers, check in on [#kong in Kubernetes Slack][slack].\n\n[slack]:https://kubernetes.slack.com/messages/kong\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkong%2Fkubernetes-testing-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkong%2Fkubernetes-testing-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkong%2Fkubernetes-testing-framework/lists"}