/kubecontorller-book-sample-snippet

技術書典7で頒布した「実践入門 Kubernetesカスタムコントローラへの道」の本文中に掲載したサンプルコード用のリポジトリです

Primary LanguageGoMIT LicenseMIT

kubecontorller-book-sample-snippet

インプレスR&D NextPublishing出版「実践入門 Kubernetesカスタムコントローラーへの道」の本文中に掲載したサンプルコード用のリポジトリです 底本となった技術書典7で頒布したコードとも互換があります。

https://nextpublishing.jp/book/11389.html

Update History

2019/12/10 Update go version, go.mod, go.sum for podlist, podinformer, workqueue

2019/12/09 Added CRD apiextensions.k8s.io/v1 yaml validation-crd/sample-crd-validation-ga.yaml, addprintcolumn-crd/sample-crd-printcolumn-ga.yaml, subresource-crd/sample-crd-status-ga.yaml, subresource-crd/sample-crd-scale-ga.yaml, defaulting-crd/

2019/10/02 Modified way to set kubeconfig path flag podlist.go

2019/10/02 Modified way to set kubeconfig path flag podinformer.go

2019/10/02 Modified way to set kubeconfig path flag enqueuePod.go

Before After
kubeconfig := flag.String("kubeconfig", "~/.kube/config", "kubeconfig config file") kubeconfig := flag.String("kubeconfig", defaultKubeConfigPath, "kubeconfig config file")

2019/10/03 Added comment to clientcmd.BuildConfigFromFlags podlist.go

Before After
// retrieve kubeconfig