040/

directory
v0.0.0-...-de00234 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0

README

Episode 40 : Kubebuilder

  • Hosted by @krisnova
  • Recording date: 2018-06-22

Episode 40 - Kubebuilder

Table of Contents

  • 00:00:14 - Welcome to TGIK!
  • 00:02:56 - Week in Review
  • 00:10:50 - Kubebuilder
  • 00:13:48 - Installing Kubebuilder
  • 00:19:40 - Running Kubebuilder
  • 00:24:45 - Creating our first API
  • 00:26:10 - Our first kubebuilder init
  • 00:34:30 - Looking at the files Kubebuilder just created (IDE time)
  • 00:37:35 - Why do Kubernetes projects have these hack directories?
  • 00:43:56 - Adding a Schema and Business Logic
  • 00:54:56 - Integration Tests and Pushing to Kubernetes
  • 01:09:09 - Watching our status
  • 01:15:00 - Generating our documentation

Timestamps will be filled out a working day after the broadcast as we have to wait for YouTube to render the stream. Timestamps will also be published to the YouTube video description.

Show Notes

Welcome to TGIK!

This week Kris will be looking at Kubebuilder, a framework for building Kubernetes APIs using custom resource definitions (CRDs).

The Week in Review

Kubebuilder

Part of SIG Cluster lifecycle / Cluster API.

Starting with main.go.

Installing Kubebuilder

Do not use go get, grab the tarball for your system.

  • There's a book with getting started documentation. We're following the quickstart section.
  • You'll end up with it in /usr/local/kubebuilder/bin
  • Using GOOS and GOARCH (@krisnova mentions a video from Rob Pike on this, anyone have a link?)

Documentation Used in this Episode

Directories

Path Synopsis
live
pkg
pkg/apis/birds
Package api is the internal version of the API.
Package api is the internal version of the API.
pkg/apis/birds/v1beta1
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/heptio/tgik/episodes/040/live/pkg/apis/birds +k8s:defaulter-gen=TypeMeta +groupName=birds.fabulous.af
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/heptio/tgik/episodes/040/live/pkg/apis/birds +k8s:defaulter-gen=TypeMeta +groupName=birds.fabulous.af
pkg/client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
pkg/client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
pkg/client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
pkg/client/clientset/versioned/typed/birds/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
pkg/client/clientset/versioned/typed/birds/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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