Skip to content

NewRedo/toaster-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Toaster-Controller

This project aims to demonstrate how a simple custom controller can be implemented.

Getting Started

This project contains a devcontainer definition. To get started, use either the VS Code Dev Containers extension, or the devcontainer CLI which is installable using npm with the @devcontainers/cli package.

The container includes the Operator Framework SDK and its dependencies; Go, Kubectl and Docker CLI.

It is likely that the docker socket is not writeable after the container is built. To fix this, run a shell outside the devcontainer as follows:

docker exec <name of container> chgrp root:docker /var/run/docker.sock
docker exec <name of container> chmod g+w /var/run/docker.sock

Instructions

Start the lessons, or look at the branch 3-controller for a finished project.

About

Example Kubernetes Controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published