Questions tagged [kubebuilder]

Kubebuilder is a toolkit for building Kubernetes controllers in Go. Use this tag for questions about building custom Kubernetes controllers or operators using the Kubebuilder framework.

Kubebuilder is a toolkit for building Kubernetes controllers in . It provides several of the required parts of a controller, including a core event loop that can monitor changes to Kubernetes resources, freeing you to write only the object-reconciliation code.

In addition to the material in The Kubebuilder Book it will be helpful to understand core concepts, especially The Kubernetes API and the API reference documentation.

Questions about building custom controllers or operators using Kubebuilder should have the tag. These questions will also frequently be related to and . An operator frequently builds as well.

79 questions
0
votes
2 answers

Reduce permissions of kubernetes operator

I am new to the Kubernetes world but some time ago I developed a Kubernetes operator using OperatorSDK and Golang. I was using cluster-admin role for running the operator pod but now I want to reduce the resources the operator can work with. It…
aliench0
  • 109
  • 1
  • 8
0
votes
2 answers

Automatically creating resources/objects with creation of namespace in Kubernetes

I am trying to find a way? If I create a new namespace then I want it to create a RBAC rule for that serviceaccount automatically. I know one way is to create an operator so, that there is an event that is traced by reconciler / api server and it…
0
votes
0 answers

Kubernetes custom controller pod OOMKilled watching configmaps

I am creating a k8s custom controller. Basically when a custom resource is created, some additional resources will be created. These include a configmap, deployment, and service. The project was created with kubebuilder. If the controller.go…
Tony
  • 3
  • 1
0
votes
2 answers

How to use kubebuilder's client.List method?

I'm working on a custom controller for a custom resource using kubebuilder (version 1.0.8). I have a scenario where I need to get a list of all the instances of my custom resource so I can sync up with an external database. All the examples I've…
Chris Tavares
  • 29,165
  • 4
  • 46
  • 63
1 2 3 4 5
6