{"id":39228346,"url":"https://github.com/becloudready/k8s-interview-action","last_synced_at":"2026-01-17T23:38:03.734Z","repository":{"id":284949145,"uuid":"954870656","full_name":"becloudready/k8s-interview-action","owner":"becloudready","description":"Kubernetes Interview Challenge Action","archived":false,"fork":false,"pushed_at":"2025-04-10T14:15:52.000Z","size":24,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T14:56:11.737Z","etag":null,"topics":["interview","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/becloudready.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-25T18:38:59.000Z","updated_at":"2025-04-10T14:15:29.000Z","dependencies_parsed_at":"2025-03-28T15:37:30.385Z","dependency_job_id":null,"html_url":"https://github.com/becloudready/k8s-interview-action","commit_stats":null,"previous_names":["becloudready/k8s-interview-action"],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/becloudready/k8s-interview-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becloudready%2Fk8s-interview-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becloudready%2Fk8s-interview-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becloudready%2Fk8s-interview-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becloudready%2Fk8s-interview-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/becloudready","download_url":"https://codeload.github.com/becloudready/k8s-interview-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becloudready%2Fk8s-interview-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28522310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T22:11:28.393Z","status":"ssl_error","status_checked_at":"2026-01-17T22:11:27.841Z","response_time":85,"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":["interview","kubernetes"],"created_at":"2026-01-17T23:38:03.645Z","updated_at":"2026-01-17T23:38:03.717Z","avatar_url":"https://github.com/becloudready.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Interview Troubleshooting Action\n\nThis GitHub Action simulates DNS and ConfigMap issues in a Kubernetes environment and helps troubleshoot them. It allows you to simulate common Kubernetes issues like misconfigured DNS and incorrect ConfigMap references to aid in debugging and testing Kubernetes deployments.\n\n## Features\n\n- Simulates DNS misconfigurations using a custom DNS policy and invalid nameservers.\n- Simulates a ConfigMap error by referencing a non-existent key in the deployment.\n- Provides a Python script to troubleshoot and detect the simulated issues.\n- Can be triggered manually through GitHub Actions' `workflow_dispatch`.\n\n## Prerequisites\n\n- A valid Kubernetes `kubeconfig` file to authenticate with your cluster. The `kubeconfig` should be stored as a GitHub secret.\n\n## Setup\n\n### Step 1: Store `kubeconfig` as a GitHub Secret\n\n1. Go to your GitHub repository.\n2. Navigate to **Settings** \u003e **Secrets** \u003e **New repository secret**.\n3. Name the secret `KUBECONFIG` and paste the content of your `kubeconfig` file.\n\n### Step 2: Define the Workflow in Your Repository\n\nIn your repository, create a GitHub Actions workflow to use the `k8s-interview-action`. Create the file `.github/workflows/k8s-interview.yml` with the following content:\n\n```yaml\nname: 'Kubernetes Interview Troubleshooting'\n\non:\n  workflow_dispatch:  # Only triggers when manually initiated from the GitHub UI\n\njobs:\n  run-interview-action:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Use Kubernetes Troubleshooting Action\n        uses: becloudready/k8s-interview-action@v10\n        with:\n          kubeconfig: ${{ secrets.KUBECONFIG }}\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbecloudready%2Fk8s-interview-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbecloudready%2Fk8s-interview-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbecloudready%2Fk8s-interview-action/lists"}