Kubernetes Custom Resource Definition (CRD) Example
This repository contains the example files for my blog article on defining and accessing Kubernetes Custom Resources with the Kubernetes client-go package.
Setup
Building the example:
$ go get github.com/martin-helmich/kubernetes-crd-example
Setting up a custom resource definition (CRD) with an example object:
$ kubectl apply -f https://raw.githubusercontent.com/martin-helmich/kubernetes-crd-example/master/kubernetes/crd.yaml
$ kubectl apply -f https://raw.githubusercontent.com/martin-helmich/kubernetes-crd-example/master/kubernetes/project.yaml