kazan
kazan copied to clipboard
Kubernetes API client for Elixir
Most notable of these are `networking.k8s.io/v1` implementation of `Ingress`. But I'm pretty sure there are a large number of other deprecated resources in the set provided by kazan alongside other...
As mentioned in https://github.com/obmarg/kazan/pull/72 we have a wrapper around `Kazan.run/2` for instrumentation. It would be useful if the module that `Kazan.run/1` and `Kazan.run/2` delegates to could be changed by configuration....
#65 added support for decoding & encoding custom resources - when a `Kazan.Request` is built with a custom resource as it's `response_model` we'll succesfully decode that custom resource. Watch request...
#56 added custom resource support to kazan. However, CRUD requests on custom resources require a user to manually build a `Kazan.Request` type. It'd be good to provide some utility functions...
I am looking for some ideas on handling errors in a user-friendly manner. My main requirement is to distinguish transient errors (which may be recoverable) and hard errors (which require...
The [`StatusError`](https://github.com/kubernetes/apimachinery/blob/master/pkg/api/errors/errors.go#L39) that is returned when a call from kubernetes doesn't succeed would be useful. Currently its just being decoded https://github.com/obmarg/kazan/blob/master/lib/kazan/client/imp.ex#L160
An excerpt from `Kazan.Apis.Apps.V1beta1.ControllerRevision`: > DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1beta2/ControllerRevision. See the release notes for more information. ControllerRevision In this sample, it'd be ideal...
Naming objects you create with kazan is not ideal right now - names live inside ObjectMeta, so you need to do something like: ``` alias Kazan.Apis.Core.V1, as: Core %Core.Namespace{ metadata:...
I need to write some details on how to contribute to the project.
I suggest the following changes to the integration test: 1. Create a namespace and run tests that create objects against that namespace - this allows for the namespace to be...