Copyright | (c) Ian Duncan 2021 |
---|---|
License | BSD-3 |
Maintainer | Ian Duncan |
Stability | experimental |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- newtype Cluster = Cluster {
- clusterName :: Maybe Text
- data Node = Node {}
- newtype Namespace = Namespace {}
- data Pod = Pod {}
- data Container = Container {}
- data ReplicaSet = ReplicaSet {}
- data Deployment = Deployment {}
- data StatefulSet = StatefulSet {}
- data DaemonSet = DaemonSet {}
- data Job = Job {}
- data CronJob = CronJob {
- cronJobUid :: Maybe Text
- cronJobName :: Maybe Text
Documentation
A Kubernetes Cluster.
Cluster | |
|
Instances
ToResource Cluster Source # | |
Defined in OpenTelemetry.Resource.Kubernetes toResource :: Cluster -> Resource (ResourceSchema Cluster) Source # | |
type ResourceSchema Cluster Source # | |
Defined in OpenTelemetry.Resource.Kubernetes |
A Kubernetes Node.
Instances
ToResource Node Source # | |
Defined in OpenTelemetry.Resource.Kubernetes toResource :: Node -> Resource (ResourceSchema Node) Source # | |
type ResourceSchema Node Source # | |
Defined in OpenTelemetry.Resource.Kubernetes |
Namespaces provide a scope for names. Names of objects need to be unique within a namespace, but not across namespaces.
Namespace | |
|
Instances
ToResource Namespace Source # | |
Defined in OpenTelemetry.Resource.Kubernetes | |
type ResourceSchema Namespace Source # | |
Defined in OpenTelemetry.Resource.Kubernetes |
The smallest and simplest Kubernetes object. A Pod represents a set of running containers on your cluster.
Instances
ToResource Pod Source # | |
Defined in OpenTelemetry.Resource.Kubernetes toResource :: Pod -> Resource (ResourceSchema Pod) Source # | |
type ResourceSchema Pod Source # | |
Defined in OpenTelemetry.Resource.Kubernetes |
A container in a PodTemplate.
Container | |
|
Instances
ToResource Container Source # | |
Defined in OpenTelemetry.Resource.Kubernetes | |
type ResourceSchema Container Source # | |
Defined in OpenTelemetry.Resource.Kubernetes |
data ReplicaSet Source #
A ReplicaSet’s purpose is to maintain a stable set of replica Pods running at any given time.
Instances
ToResource ReplicaSet Source # | |
Defined in OpenTelemetry.Resource.Kubernetes type ResourceSchema ReplicaSet :: Maybe Symbol Source # | |
type ResourceSchema ReplicaSet Source # | |
Defined in OpenTelemetry.Resource.Kubernetes |
data Deployment Source #
An API object that manages a replicated application, typically by running Pods with no local state. Each replica is represented by a Pod, and the Pods are distributed among the nodes of a cluster.
Deployment | |
|
Instances
ToResource Deployment Source # | |
Defined in OpenTelemetry.Resource.Kubernetes type ResourceSchema Deployment :: Maybe Symbol Source # | |
type ResourceSchema Deployment Source # | |
Defined in OpenTelemetry.Resource.Kubernetes |
data StatefulSet Source #
Manages the deployment and scaling of a set of Pods, and provides guarantees about the ordering and uniqueness of these Pods.
StatefulSet | |
|
Instances
ToResource StatefulSet Source # | |
Defined in OpenTelemetry.Resource.Kubernetes type ResourceSchema StatefulSet :: Maybe Symbol Source # | |
type ResourceSchema StatefulSet Source # | |
Defined in OpenTelemetry.Resource.Kubernetes |
A DaemonSet ensures that all (or some) Nodes run a copy of a Pod.
DaemonSet | |
|
Instances
ToResource DaemonSet Source # | |
Defined in OpenTelemetry.Resource.Kubernetes | |
type ResourceSchema DaemonSet Source # | |
Defined in OpenTelemetry.Resource.Kubernetes |
A Job creates one or more Pods and ensures that a specified number of them successfully terminate.
Instances
ToResource Job Source # | |
Defined in OpenTelemetry.Resource.Kubernetes toResource :: Job -> Resource (ResourceSchema Job) Source # | |
type ResourceSchema Job Source # | |
Defined in OpenTelemetry.Resource.Kubernetes |
A CronJob creates Jobs on a repeating schedule.
CronJob | |
|
Instances
ToResource CronJob Source # | |
Defined in OpenTelemetry.Resource.Kubernetes toResource :: CronJob -> Resource (ResourceSchema CronJob) Source # | |
type ResourceSchema CronJob Source # | |
Defined in OpenTelemetry.Resource.Kubernetes |