• Stars
    star
    147
  • Rank 251,347 (Top 5 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

crd-code-generation

Example repository for the blog post Kubernetes Deep Dive: Code Generation for CustomResources.

Installation

export GOPATH=~/go
go get github.com/openshift-evangelists/crd-code-generation

Getting Started

First register the custom resource definition:

kubectl apply -f artifacts/databases-crd.yaml

Then add an example of the Database kind:

kubectl apply -f artifacts/my-database.yaml

Finally build and run the example:

cd ~/go/src/github.com/openshift-evangelists/crd-code-generation/cmd/example/
go build
./example -kubeconfig ~/.kube/config

More Repositories

1

kbe

Kubernetes By Example
HTML
430
star
2

oc-cluster-wrapper

oc cluster up bash wrapper
Shell
146
star
3

workshopper

Workshop content rendering tool
JavaScript
64
star
4

vagrant-origin

[DEPRECATED] Use https://github.com/minishift/minishift
Shell
61
star
5

wordpress-quickstart

Quickstart for deploying WordPress to OpenShift 3.
Shell
32
star
6

openshift-cookbook

Cookbook of recipes for using OpenShift.
HTML
32
star
7

openshifter

Tool for deploying OpenShift clusters and workshops
JavaScript
25
star
8

openshift-workshops

[DEPRECATED] Use workshopper https://github.com/openshift-evangelists/workshopper
CSS
17
star
9

Wild-West-Frontend

JavaScript
14
star
10

Wild-West-Backend

Java
8
star
11

action-hooks

Example of how to integrate action hooks into OpenShift 3 applications.
Shell
6
star
12

openshift-presentations

shared presentations for OpenShift
CSS
6
star
13

ocd

ocd
Shell
5
star
14

oc-wrapper

Script to manage login to different clusters and context switching.
Shell
4
star
15

summit17-cicd-lab

Shell
3
star
16

php-quickstart

Quickstart for deploying generic PHP applications to OpenShift 3.
3
star
17

labs-training-workshop

Python
2
star
18

ctfd-quickstart

Quickstart for deploying CTFd (capture the flag) software.
Shell
2
star
19

workshop-base-image

Base image for running standalone workshop, with interactive terminal.
HTML
2
star
20

Wild-West-Spawner

Python
2
star
21

sphinx-quickstart

Quickstart for deploying static web sites generated using Sphinx to OpenShift 3.
Shell
2
star
22

openstack-au-hackathon-2017

OpenStack AU Hackathon 2017 - Resources for OpenShift
1
star
23

terminals-workshopper

Multi user interactive terminal session manager with workshopper integration.
Python
1
star
24

service-broker-summit-demo

Open Service Broker demo for Red Hat Summit 2018
Ruby
1
star
25

pseudo-vps-quickstart

Quickstart for creating a pseudo VPS for developing on OpenShift.
Shell
1
star