admission-control:编写Kubernetes准入控制器的有用的微框架:magnifying_glass_tilted_right::admission_tickets:-源码

上传者: 42160278 | 上传时间: 2021-04-30 12:03:17 | 文件大小: 66KB | 文件类型: ZIP
入学控制 :detective: :detective: :detective: 用于为Kubernetes集群构建和部署动态的微框架。 它减少了检查,验证和/或拒绝对象进入集群所需的样板,使您可以专注于编写要实施的特定业务逻辑。 可以用作和的目标-处理程序可以向提交的资源返回简单的允许/拒绝响应或补丁(突变)。 提供一个可扩展的AdmissionHandler类型,该类型接受一个自定义的接纳函数(称为AdmitFunc ),使您可以轻松添加新的验证或突变Webhook端点。 提供示例Deployment , Service和ValidatingWebhookConfiguration定义供您构建,并提供作为其他指导。 故障排除 贡献 执照 使用框架 内置的AdmitFuncs 准入控制提供了许多有用的内置AdmitFunc ,包括: EnforcePodAnnotations确保允许的EnforcePodAnnotat

文件下载

资源详情

[{"title":"( 35 个子文件 66KB ) admission-control:编写Kubernetes准入控制器的有用的微框架:magnifying_glass_tilted_right::admission_tickets:-源码","children":[{"title":"admission-control-master","children":[{"title":".circleci","children":[{"title":"config.yml <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"Dockerfile <span style='color:#111;'> 477B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 269B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 16.92KB </span>","children":null,"spread":false},{"title":"server_test.go <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"admit_funcs_test.go <span style='color:#111;'> 24.35KB </span>","children":null,"spread":false},{"title":"admit_funcs.go <span style='color:#111;'> 10.49KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"release-drafter.yml <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"ISSUE_TEMPLATE","children":[{"title":"bug-report.md <span style='color:#111;'> 506B </span>","children":null,"spread":false},{"title":"feature-request.md <span style='color:#111;'> 497B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"CloudRun.Dockerfile <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"admissiond","children":[{"title":"main.go <span style='color:#111;'> 4.88KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.07KB </span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'> 447B </span>","children":null,"spread":false},{"title":"demo-certs","children":[{"title":"not-for-prod.crt <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"not-for-prod.key <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"csr-example.json <span style='color:#111;'> 226B </span>","children":null,"spread":false},{"title":"server-key.pem <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"server.crt <span style='color:#111;'> 956B </span>","children":null,"spread":false},{"title":"server.csr <span style='color:#111;'> 558B </span>","children":null,"spread":false}],"spread":true},{"title":"handler_test.go <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 48.12KB </span>","children":null,"spread":false},{"title":"samples","children":[{"title":"hello-app.yaml <span style='color:#111;'> 371B </span>","children":null,"spread":false},{"title":"deny-ingress","children":[{"title":"ingress.yaml <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"webhook-config.yaml <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false}],"spread":false},{"title":"signing-request.yaml <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"admission-control-service.yaml <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"deny-public-lbs","children":[{"title":"public-lb.yaml <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"webhook-config.yaml <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"private-lb-gke.yaml <span style='color:#111;'> 277B </span>","children":null,"spread":false}],"spread":false},{"title":"enforce-pod-annotations","children":[{"title":"webhook-config.yaml <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"unannotated-deployment.yaml <span style='color:#111;'> 591B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"server.go <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"handler.go <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"request_logger.go <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明