在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:JuliaComputing/Kuber.jl开源软件地址:https://github.com/JuliaComputing/Kuber.jl开源编程语言:Julia 100.0%开源软件介绍:KuberA Julia Kubernetes Client. An easy to use API to access Kubernetes clusters from Julia. The Most of the low level APIs fit into a common usage pattern. Kuber.jl makes it possible to use all of them with only a few intuitive verb based APIs. Verbs act on entities. Entities can be identified by names or selector patterns, or otherwise can apply to all entities of that class. Verbs can take additional parameters, e.g. when creating or updating entities. API and Entity naming convention follows the standard Kubernetes API and Model naming conventions. Here are a few helpful resources: Entities:Any Kubernetes entity supported. APIs identify an entity by symbol named as per Kubernetes naming convention.
Methods/Verbs:Kubernetes APIs are mapped to these easy to use verbs, familiar to Julia users.
All verbs have the signature: verb(ctx::KuberContext, T::Symbol, args...; kwargs...) Kubernetes also provides efficient change notifications on resources via "watches". Certain entities have the special watch(ctx::KuberContext, T::Symbol, outstream::Channel, args...; kwargs...) In addition, verbs like watch(ctx, verb, args...; kwargs...) do stream
for event in stream
# process event
end
end E.g.: watch(ctx, list, :Pod; resourceVersion=19451) do stream
for event in stream
@info("got event", event)
end
end Helper methods:A Kubernetes context can be manipulated with:
Other convenience methods:
References:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论