8000 GitHub - JonWoodlief/mutatingwebhook
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

JonWoodlief/mutatingwebhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Service Account Webhook Demo

This project is a demonstration of how to force pods with a certain service account onto certain nodes.

Build Docker image

docker build -t jonwoodlief/webhook:latest .

prep cluster

generate webhooktest namespace using webhooktest-ns.yaml. label a node with the special label from main.go

generate tls certs

run ./ssl.sh and copy/paste the CA_BUNDLE outputted into webhook.yaml where it says TODO

deploy all resources to k8s

deploy all resources to kubernetes, verify it works by making sure that the nginx pods are always scheduled onto a worker with the assigne 5473 d labels

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0