{"id":26410928,"url":"https://github.com/osinfra-io/istio-test","last_synced_at":"2025-06-28T06:34:30.651Z","repository":{"id":240376747,"uuid":"801272629","full_name":"osinfra-io/istio-test","owner":"osinfra-io","description":"An example Istio test application that shows information about the Google Kubernetes Engine (GKE) cluster.","archived":false,"fork":false,"pushed_at":"2025-02-25T09:31:18.000Z","size":274,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-09T08:09:42.612Z","etag":null,"topics":["golang","google-cloud-platform","infrastructure-as-code","kubernetes","osinfra","platform-team","terraform"],"latest_commit_sha":null,"homepage":"https://www.osinfra.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osinfra-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"osinfra-io"}},"created_at":"2024-05-15T23:09:17.000Z","updated_at":"2025-02-28T00:16:34.000Z","dependencies_parsed_at":"2024-05-18T12:34:44.454Z","dependency_job_id":"54088147-9fd8-4aee-9b63-f9990cfba2c6","html_url":"https://github.com/osinfra-io/istio-test","commit_stats":null,"previous_names":["osinfra-io/gke-info-go","osinfra-io/istio-test"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fistio-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fistio-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fistio-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fistio-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osinfra-io","download_url":"https://codeload.github.com/osinfra-io/istio-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244102807,"owners_count":20398386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["golang","google-cloud-platform","infrastructure-as-code","kubernetes","osinfra","platform-team","terraform"],"created_at":"2025-03-17T20:19:54.788Z","updated_at":"2025-03-17T20:19:55.488Z","avatar_url":"https://github.com/osinfra-io.png","language":"Go","funding_links":["https://github.com/sponsors/osinfra-io"],"categories":[],"sub_categories":[],"readme":"# \u003cimg align=\"left\" width=\"45\" height=\"45\" alt=\"Istio Test Logo\" src=\"https://github.com/user-attachments/assets/ce1fe535-f4f3-451f-bbd9-45fde04c000c\"\u003eIstio Test\n\nAn example Istio test application that shows information about the Google Kubernetes Engine (GKE) cluster.\n\n## Usage\n\n```yaml\n---\napiVersion: v1\nkind: Namespace\n\nmetadata:\n  name: istio-test\n\n---\napiVersion: apps/v1\nkind: Deployment\n\nmetadata:\n  name: istio-test\n  namespace: istio-test\n\nspec:\n  replicas: 1\n  selector:\n    matchLabels:\n      app: istio-test\n\n  template:\n    metadata:\n      labels:\n        app: istio-test\n\n    spec:\n      containers:\n        - image: ghcr.io/osinfra-io/istio-test:latest\n          imagePullPolicy: Always\n          name: istio-test\n\n          ports:\n            - containerPort: 8080\n\n          resources:\n            limits:\n              cpu: \"50m\"\n              memory: \"128Mi\"\n            requests:\n              cpu: \"25m\"\n              memory: \"64Mi\"\n\n---\napiVersion: v1\nkind: Service\n\nmetadata:\n  name: istio-test\n  namespace: istio-test\n\n  labels:\n    app: istio-test\n\nspec:\n  ports:\n    - name: http\n      port: 8080\n      targetPort: 8080\n\n  selector:\n    app: istio-test\n\n```\n\nAfter deploying, you can get the information about the GKE cluster by running the following command:\n\n```bash\nkubectl port-forward --namespace istio-test $(kubectl get pod --namespace istio-test --selector=\"app=istio-test\" --output jsonpath='{.items[0].metadata.name}') 8080:8080\n```\n\nCurl the endpoint:\n\n```bash\ncurl http://localhost:8080/istio-test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosinfra-io%2Fistio-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosinfra-io%2Fistio-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosinfra-io%2Fistio-test/lists"}