Skip to content

Instantly share code, notes, and snippets.

@DirectXMan12
Last active January 2, 2023 02:00
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save DirectXMan12/ad7b35327c2816125a45cdc11ff78476 to your computer and use it in GitHub Desktop.
Save DirectXMan12/ad7b35327c2816125a45cdc11ff78476 to your computer and use it in GitHub Desktop.
KubeCon US 2019 (San Diego) Zero-to-Operator Pre-Tutorial Work

Please complete the following steps before the tutorial to avoid conference wifi issues:

  1. Ensure you have the kubebuilder dependencies installed from https://book.kubebuilder.io/quick-start.html -- particularly:
    1. Go 1.13, or Go 1.12 and the GO111MODULE=on environment variable set.
    2. The latest kubebuilder (from https://go.kubebuilder.io/dl) and the specified version of kustomize.
  2. Pre-download the Go dependencies: make a new directory (e.g. ~/kubecon-workshop), and in that directory do the following:
    1. go mod init something (initialize a module to ensure go get runs in module mod)
    2. go get sigs.k8s.io/controller-tools/cmd/controller-gen sigs.k8s.io/controller-runtime (mark controller-gen and controller-runtime as dependencies)
    3. go mod download (double check that things are pre-download)
  3. Clone the example repo from https://github.com/directxman12/kubebuilder-workshops
  4. (optional) have a Kubernetes 1.16 cluster to play around with. We'll be providing resources for folks who don't, but you may find it easier to run a cluster ahead of time. If you don't have easy access, a KinD cluster is easy to set up on your personal computer: https://kind.sigs.k8s.io/docs/user/quick-start/

If you don't have access to any of these, we'll have resources available at the tutorial, so don't be discouraged :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment