{"id":16921942,"url":"https://github.com/irvifa/kubernetes-batch-api-example","last_synced_at":"2026-04-27T11:31:01.565Z","repository":{"id":85577004,"uuid":"256136956","full_name":"irvifa/kubernetes-batch-api-example","owner":"irvifa","description":"Example of Kubernetes Batch API usage.","archived":false,"fork":false,"pushed_at":"2023-05-22T23:23:18.000Z","size":12,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-30T01:38:09.490Z","etag":null,"topics":["kubernetes","kubernetes-cli"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irvifa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-04-16T07:08:01.000Z","updated_at":"2023-04-27T04:32:43.000Z","dependencies_parsed_at":"2023-07-01T23:30:16.895Z","dependency_job_id":null,"html_url":"https://github.com/irvifa/kubernetes-batch-api-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/irvifa/kubernetes-batch-api-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irvifa%2Fkubernetes-batch-api-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irvifa%2Fkubernetes-batch-api-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irvifa%2Fkubernetes-batch-api-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irvifa%2Fkubernetes-batch-api-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irvifa","download_url":"https://codeload.github.com/irvifa/kubernetes-batch-api-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irvifa%2Fkubernetes-batch-api-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["kubernetes","kubernetes-cli"],"created_at":"2024-10-13T19:53:33.307Z","updated_at":"2026-04-27T11:31:01.559Z","avatar_url":"https://github.com/irvifa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubernetes-batch-api-example\n\n## Build\n\n```aidl\ndocker build -t \u003cdockerimage-name\u003e \\\n  --build-arg SLACK_WEBHOOK_URL_ARG=${SLACK_WEBHOOK_URL} \\\n  --build-arg CLUSTER_NAMESPACE_ARG=${CLUSTER_NAMESPACE}\n```\n\nAfter building the image you can run this in your local, however\nit's not recommended to include your secret like the webhook into\nyour `Dockerimage` directly. \n\n## Deployment\n\n- Build\n```\ndocker build -t \u003cdockerimage-name\u003e\n```\n- Push `Dockerimage`\n- Create a `Secret`\n```\nkubectl -n \u003cNAMESPACE\u003e create secret generic app-secret --from-literal=slackwebhook='\u003cSLACK_WEBHOOK\u003e'\n```\n- Change the fields of `$namespace`, `$clusterNamespace`, and `$imageName`.\n- You can use `kubectl apply -f k8s --recursive`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firvifa%2Fkubernetes-batch-api-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firvifa%2Fkubernetes-batch-api-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firvifa%2Fkubernetes-batch-api-example/lists"}