kubernetes-crd-example

command module
v0.0.0-...-ec8b611 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2021 License: MIT Imports: 14 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
clientset

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL