kopf icon indicating copy to clipboard operation
kopf copied to clipboard

A Python framework to write Kubernetes operators in just few lines of code.

Results 71 kopf issues
Sort by recently updated
recently updated
newest added

Add some way to valudate and mutate the resources immediately when they are created, i.e. before the Kubernetes API (kubectl) call finishes. ```python import kopf @kopf.on.validate('zalando.org', 'v1', 'kopfexamples') def check_body(spec,...

enhancement

I am trying to run the turtorial https://kopf.readthedocs.io/en/latest/walkthrough/resources/ And when I `kubectl apply -f crd.yaml` then it goes wrong as ``` The CustomResourceDefinition "ephemeralvolumeclaims.zalando.org" is invalid: spec.versions: Invalid value: []apiextensions.CustomResourceDefinitionVersion{apiextensions.CustomResourceDefinitionVersion{Name:"v1",...

bug

## Question I want to monitor metrics coming from a Service object my handler has created. On certain logic - like a metric crossing a certain threshold, I want to...

question

Previously timeouts were configured only for watching requests, this patch make them configured directly in session constructor.

## Question I have a CRD with a selector field that defines a set of pods on which my operator should configure something. Additionally, it is possible to have two...

question

## Long story short I've tried to qualify 0.25 based on existing tests built with KopfRunner context. These tests worked well with all versions from 0.21 to 0.24. However, using...

bug

## Expected Behavior The pod should respond immediately ## Actual Behavior - When operator pod is long standing, and if we send and create request for custom resource it just...

bug

Thank you for the great library. It's a pleasure to work with. ## Problem I have a custom resource with an array of objects somewhere in the spec. Say, like...

enhancement

Hi folks, for example, kubectl autoscale deployment xxx --cpu-percent=50 --min=1 --max=10 but autoscale only supports k8s-built-in api resources like replicaset, deployment and statefulset. I need my controller to periodly poll...

question

## Question Somehow related to discussion from #280 I wan't to pass some configuration to an operator with quite complex nested structure, eg. JSON, YAML etc. Currently I haven't found...

enhancement
question