{"id":38284593,"url":"https://github.com/matheusfm/kcd-sp-demo","last_synced_at":"2026-01-17T02:02:34.301Z","repository":{"id":224215261,"uuid":"759611499","full_name":"matheusfm/kcd-sp-demo","owner":"matheusfm","description":"🇧🇷 Demo da apresentação sobre policy enforcement no Kubernetes no KCD São Paulo 2024","archived":false,"fork":false,"pushed_at":"2024-03-04T19:11:42.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-22T00:21:47.945Z","etag":null,"topics":["demo","kcd","kubernetes","policy","validating-admission-policy"],"latest_commit_sha":null,"homepage":"https://community.cncf.io/events/details/cncf-kcd-brasil-presents-kcd-brasil-sao-paulo-2024/","language":"Makefile","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/matheusfm.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}},"created_at":"2024-02-19T01:43:34.000Z","updated_at":"2024-02-24T13:46:59.000Z","dependencies_parsed_at":"2024-02-24T15:51:31.376Z","dependency_job_id":null,"html_url":"https://github.com/matheusfm/kcd-sp-demo","commit_stats":null,"previous_names":["matheusfm/kcd-sp-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matheusfm/kcd-sp-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusfm%2Fkcd-sp-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusfm%2Fkcd-sp-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusfm%2Fkcd-sp-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusfm%2Fkcd-sp-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matheusfm","download_url":"https://codeload.github.com/matheusfm/kcd-sp-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusfm%2Fkcd-sp-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28492047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"online","status_checked_at":"2026-01-17T02:00:07.808Z","response_time":85,"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":["demo","kcd","kubernetes","policy","validating-admission-policy"],"created_at":"2026-01-17T02:02:34.131Z","updated_at":"2026-01-17T02:02:34.244Z","avatar_url":"https://github.com/matheusfm.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kcd-sp-demo 🇧🇷\n\nDemo da apresentação \n\"_Nova Era de Políticas no Kubernetes: Explorando Abordagens Nativas de Policy Enforcement_\" \nno [KCD São Paulo 2024](https://community.cncf.io/events/details/cncf-kcd-brasil-presents-kcd-brasil-sao-paulo-2024/).\n\n**Slides**: https://docs.google.com/presentation/d/1K0n0TPD-KvPq-87puMRLg-Ap_V-awjU02DgP5odxZNk/edit?usp=sharing \n\n## Executando os exemplos\n\n### Pré-requisitos\n- [Kind](https://kind.sigs.k8s.io/) (versão mais recente)\n- kubectl\n\nOs comandos usados nesta demo estão no arquivo [Makefile](Makefile). Acesse para mais detalhes.\n\n### Criando um cluster kind\n\nEste comando cria um cluster Kubernetes com Kind.\n\n```shell\nmake kind-create-cluster\n```\n\nA API `ValidatingAdmissionPolicy` é estável desde a versão 1.30 do Kubernetes. \nSe você estiver usando [a última versão do Kind](https://github.com/kubernetes-sigs/kind/releases/latest), \no cluster Kubernetes também será criado na última versão.\n\nExecute o comando abaixo para verificar se a API está disponível:\n```shell\nmake check-api\n```\n\n### Aplicando as políticas\n\nOs comandos abaixo aplicam as políticas de exemplo.\nAplique uma por vez.\n\n```shell\n# exemplo 1\nmake example-1\n# exemplo 2\nmake example-2\n# exemplo 3\nmake example-3\n```\n\n### Aplicando recursos de amostra\n\nPara testar cada política acima, aplique o Deployment e Pod de exemplo com os comandos abaixo:\n\n```shell\n# Deployment\nmake apply-deployment\n# Pod\nmake apply-pod\n```\n\nAltere os arquivos [`deployment.yaml`](deployment.yaml) e [`pod.yaml`](pod.yaml) para testar diferentes cenários.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheusfm%2Fkcd-sp-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatheusfm%2Fkcd-sp-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheusfm%2Fkcd-sp-demo/lists"}