felipeweb / kubernetes-crd-example

Example application demonstrating the use of Kubernetes Custom Resource Definitions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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-client/master/kubernetes/crd.yaml
$ kubectl apply -f https://raw.githubusercontent.com/martin-helmich/kubernetes-crd-client/master/kubernetes/project.yaml

About

Example application demonstrating the use of Kubernetes Custom Resource Definitions

License:MIT License


Languages

Language:Go 100.0%