Module

Kubernetes.Api.APIExtensionsV1Beta1

Package
purescript-kubernetes
Repository
hoodunit/purescript-kubernetes

#AllowedFlexVolume Source

newtype AllowedFlexVolume

AllowedFlexVolume represents a single Flexvolume that is allowed to be used.

Fields:

  • driver: Driver is the name of the Flexvolume driver.

Constructors

Instances

#AllowedHostPath Source

newtype AllowedHostPath

defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.

Fields:

  • pathPrefix: is the path prefix that the host volume must match. It does not support *. Trailing slashes are trimmed when validating the path prefix with a host path.

    Examples: /foo would allow /foo, /foo/ and /foo/bar /foo would not allow /food or /etc/foo

Constructors

Instances

#DaemonSet Source

newtype DaemonSet

DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set.

Fields:

Constructors

Instances

#DaemonSetCondition Source

newtype DaemonSetCondition

DaemonSetCondition describes the state of a DaemonSet at a certain point.

Fields:

  • _type: Type of DaemonSet condition.
  • lastTransitionTime: Last time the condition transitioned from one status to another.
  • message: A human readable message indicating details about the transition.
  • reason: The reason for the condition's last transition.
  • status: Status of the condition, one of True, False, Unknown.

Constructors

Instances

#DaemonSetList Source

newtype DaemonSetList

DaemonSetList is a collection of daemon sets.

Fields:

Constructors

Instances

#DaemonSetSpec Source

newtype DaemonSetSpec

DaemonSetSpec is the specification of a daemon set.

Fields:

  • minReadySeconds: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
  • revisionHistoryLimit: The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
  • selector: A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
  • template: An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
  • templateGeneration: DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.
  • updateStrategy: An update strategy to replace existing DaemonSet pods with new pods.

Constructors

Instances

#DaemonSetStatus Source

newtype DaemonSetStatus

DaemonSetStatus represents the current status of a daemon set.

Fields:

  • collisionCount: Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
  • conditions: Represents the latest available observations of a DaemonSet's current state.
  • currentNumberScheduled: The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
  • desiredNumberScheduled: The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
  • numberAvailable: The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)
  • numberMisscheduled: The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
  • numberReady: The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.
  • numberUnavailable: The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)
  • observedGeneration: The most recent generation observed by the daemon set controller.
  • updatedNumberScheduled: The total number of nodes that are running updated daemon pod

Constructors

Instances

#DaemonSetUpdateStrategy Source

newtype DaemonSetUpdateStrategy

Fields:

  • _type: Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is OnDelete.
  • rollingUpdate: Rolling update config params. Present only if type = "RollingUpdate".

Constructors

Instances

#Deployment Source

newtype Deployment

DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.

Fields:

  • metadata: Standard object metadata.
  • spec: Specification of the desired behavior of the Deployment.
  • status: Most recently observed status of the Deployment.

Constructors

Instances

#DeploymentCondition Source

newtype DeploymentCondition

DeploymentCondition describes the state of a deployment at a certain point.

Fields:

  • _type: Type of deployment condition.
  • lastTransitionTime: Last time the condition transitioned from one status to another.
  • lastUpdateTime: The last time this condition was updated.
  • message: A human readable message indicating details about the transition.
  • reason: The reason for the condition's last transition.
  • status: Status of the condition, one of True, False, Unknown.

Constructors

Instances

#DeploymentList Source

newtype DeploymentList

DeploymentList is a list of Deployments.

Fields:

  • items: Items is the list of Deployments.
  • metadata: Standard list metadata.

Constructors

Instances

#DeploymentRollback Source

newtype DeploymentRollback

DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.

Fields:

  • name: Required: This must match the Name of a deployment.
  • rollbackTo: The config of this deployment rollback.
  • updatedAnnotations: The annotations to be updated to a deployment

Constructors

Instances

#DeploymentSpec Source

newtype DeploymentSpec

DeploymentSpec is the specification of the desired behavior of the Deployment.

Fields:

  • minReadySeconds: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
  • paused: Indicates that the deployment is paused and will not be processed by the deployment controller.
  • progressDeadlineSeconds: The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.
  • replicas: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
  • revisionHistoryLimit: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.
  • rollbackTo: DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
  • selector: Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
  • strategy: The deployment strategy to use to replace existing pods with new ones.
  • template: Template describes the pods that will be created.

Constructors

Instances

#DeploymentStatus Source

newtype DeploymentStatus

DeploymentStatus is the most recently observed status of the Deployment.

Fields:

  • availableReplicas: Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
  • collisionCount: Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
  • conditions: Represents the latest available observations of a deployment's current state.
  • observedGeneration: The generation observed by the deployment controller.
  • readyReplicas: Total number of ready pods targeted by this deployment.
  • replicas: Total number of non-terminated pods targeted by this deployment (their labels match the selector).
  • unavailableReplicas: Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
  • updatedReplicas: Total number of non-terminated pods targeted by this deployment that have the desired template spec.

Constructors

Instances

#DeploymentStrategy Source

newtype DeploymentStrategy

DeploymentStrategy describes how to replace existing pods with new ones.

Fields:

  • _type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
  • rollingUpdate: Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.

Constructors

Instances

#FSGroupStrategyOptions Source

newtype FSGroupStrategyOptions

FSGroupStrategyOptions defines the strategy type and options used to create the strategy.

Fields:

  • ranges: Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.
  • rule: Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.

Constructors

Instances

#HTTPIngressPath Source

newtype HTTPIngressPath

HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.

Fields:

  • backend: Backend defines the referenced service endpoint to which the traffic will be forwarded to.
  • path: Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.

Constructors

Instances

#HTTPIngressRuleValue Source

newtype HTTPIngressRuleValue

HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.

Fields:

  • paths: A collection of paths that map requests to backends.

Constructors

Instances

#HostPortRange Source

newtype HostPortRange

Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.

Fields:

  • max: max is the end of the range, inclusive.
  • min: min is the start of the range, inclusive.

Constructors

Instances

#IDRange Source

newtype IDRange

ID Range provides a min/max of an allowed range of IDs.

Fields:

  • max: Max is the end of the range, inclusive.
  • min: Min is the start of the range, inclusive.

Constructors

Instances

#IPBlock Source

newtype IPBlock

DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

Fields:

  • cidr: CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
  • except: Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range

Constructors

Instances

#Ingress Source

newtype Ingress

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

Fields:

Constructors

Instances

#IngressBackend Source

newtype IngressBackend

IngressBackend describes all endpoints for a given service and port.

Fields:

  • serviceName: Specifies the name of the referenced service.
  • servicePort: Specifies the port of the referenced service.

Constructors

Instances

#IngressList Source

newtype IngressList

IngressList is a collection of Ingress.

Fields:

Constructors

Instances

#IngressRule Source

newtype IngressRule

IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.

Fields:

  • host: Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress.
    1. The : delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.
  • http

Constructors

Instances

#IngressSpec Source

newtype IngressSpec

IngressSpec describes the Ingress the user wishes to exist.

Fields:

  • backend: A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.
  • rules: A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
  • tls: TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.

Constructors

Instances

#IngressStatus Source

newtype IngressStatus

IngressStatus describe the current state of the Ingress.

Fields:

  • loadBalancer: LoadBalancer contains the current status of the load-balancer.

Constructors

Instances

#IngressTLS Source

newtype IngressTLS

IngressTLS describes the transport layer security associated with an Ingress.

Fields:

  • hosts: Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
  • secretName: SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.

Constructors

Instances

#NetworkPolicy Source

newtype NetworkPolicy

DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods

Fields:

Constructors

Instances

#NetworkPolicyEgressRule Source

newtype NetworkPolicyEgressRule

DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8

Fields:

  • ports: List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.
  • to: List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.

Constructors

Instances

#NetworkPolicyIngressRule Source

newtype NetworkPolicyIngressRule

DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.

Fields:

  • from: List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list.
  • ports: List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.

Constructors

Instances

#NetworkPolicyList Source

newtype NetworkPolicyList

DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects.

Fields:

Constructors

Instances

#NetworkPolicyPeer Source

newtype NetworkPolicyPeer

DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.

Fields:

  • ipBlock: IPBlock defines policy on a particular IPBlock
  • namespaceSelector: Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.
  • podSelector: This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.

Constructors

Instances

#NetworkPolicyPort Source

newtype NetworkPolicyPort

DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.

Fields:

  • port: If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.
  • protocol: Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.

Constructors

Instances

#NetworkPolicySpec Source

newtype NetworkPolicySpec

DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.

Fields:

  • egress: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8
  • ingress: List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default).
  • podSelector: Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.
  • policyTypes: List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8

Constructors

Instances

#PodSecurityPolicy Source

newtype PodSecurityPolicy

Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.

Fields:

Constructors

Instances

#PodSecurityPolicyList Source

newtype PodSecurityPolicyList

Pod Security Policy List is a list of PodSecurityPolicy objects.

Fields:

Constructors

Instances

#PodSecurityPolicySpec Source

newtype PodSecurityPolicySpec

Pod Security Policy Spec defines the policy enforced.

Fields:

  • allowPrivilegeEscalation: AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.
  • allowedCapabilities: AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.
  • allowedFlexVolumes: AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "Volumes" field.
  • allowedHostPaths: is a white list of allowed host paths. Empty indicates that all host paths may be used.
  • defaultAddCapabilities: DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both DefaultAddCapabilities and RequiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the AllowedCapabilities list.
  • defaultAllowPrivilegeEscalation: DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.
  • fsGroup: FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.
  • hostIPC: hostIPC determines if the policy allows the use of HostIPC in the pod spec.
  • hostNetwork: hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
  • hostPID: hostPID determines if the policy allows the use of HostPID in the pod spec.
  • hostPorts: hostPorts determines which host port ranges are allowed to be exposed.
  • privileged: privileged determines if a pod can request to be run as privileged.
  • readOnlyRootFilesystem: ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.
  • requiredDropCapabilities: RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.
  • runAsUser: runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
  • seLinux: seLinux is the strategy that will dictate the allowable labels that may be set.
  • supplementalGroups: SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
  • volumes: volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.

Constructors

Instances

#ReplicaSet Source

newtype ReplicaSet

DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.

Fields:

Constructors

Instances

#ReplicaSetCondition Source

newtype ReplicaSetCondition

ReplicaSetCondition describes the state of a replica set at a certain point.

Fields:

  • _type: Type of replica set condition.
  • lastTransitionTime: The last time the condition transitioned from one status to another.
  • message: A human readable message indicating details about the transition.
  • reason: The reason for the condition's last transition.
  • status: Status of the condition, one of True, False, Unknown.

Constructors

Instances

#ReplicaSetSpec Source

newtype ReplicaSetSpec

ReplicaSetSpec is the specification of a ReplicaSet.

Fields:

Constructors

Instances

#ReplicaSetStatus Source

newtype ReplicaSetStatus

ReplicaSetStatus represents the current status of a ReplicaSet.

Fields:

  • availableReplicas: The number of available replicas (ready for at least minReadySeconds) for this replica set.
  • conditions: Represents the latest available observations of a replica set's current state.
  • fullyLabeledReplicas: The number of pods that have labels matching the labels of the pod template of the replicaset.
  • observedGeneration: ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
  • readyReplicas: The number of ready replicas for this replica set.
  • replicas: Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller

Constructors

Instances

#RollbackConfig Source

newtype RollbackConfig

DEPRECATED.

Fields:

  • revision: The revision to rollback to. If set to 0, rollback to the last revision.

Constructors

Instances

#RollingUpdateDaemonSet Source

newtype RollingUpdateDaemonSet

Spec to control the desired behavior of daemon set rolling update.

Fields:

  • maxUnavailable: The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.

Constructors

Instances

#RollingUpdateDeployment Source

newtype RollingUpdateDeployment

Spec to control the desired behavior of rolling update.

Fields:

  • maxSurge: The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.
  • maxUnavailable: The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.

Constructors

Instances

#RunAsUserStrategyOptions Source

newtype RunAsUserStrategyOptions

Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.

Fields:

  • ranges: Ranges are the allowed ranges of uids that may be used.
  • rule: Rule is the strategy that will dictate the allowable RunAsUser values that may be set.

Constructors

Instances

#SELinuxStrategyOptions Source

newtype SELinuxStrategyOptions

SELinux Strategy Options defines the strategy type and any options used to create the strategy.

Fields:

Constructors

Instances

#Scale Source

newtype Scale

represents a scaling request for a resource.

Fields:

Constructors

Instances

#ScaleSpec Source

newtype ScaleSpec

describes the attributes of a scale subresource

Fields:

  • replicas: desired number of instances for the scaled object.

Constructors

Instances

#ScaleStatus Source

newtype ScaleStatus

represents the current status of a scale subresource.

Fields:

Constructors

Instances

#SupplementalGroupsStrategyOptions Source

newtype SupplementalGroupsStrategyOptions

SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.

Fields:

  • ranges: Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.
  • rule: Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.

Constructors

Instances

#CustomResourceDefinition Source

newtype CustomResourceDefinition

CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.

Fields:

Constructors

Instances

#CustomResourceDefinitionCondition Source

newtype CustomResourceDefinitionCondition

CustomResourceDefinitionCondition contains details for the current condition of this pod.

Fields:

  • _type: Type is the type of the condition.
  • lastTransitionTime: Last time the condition transitioned from one status to another.
  • message: Human-readable message indicating details about last transition.
  • reason: Unique, one-word, CamelCase reason for the condition's last transition.
  • status: Status is the status of the condition. Can be True, False, Unknown.

Constructors

Instances

#CustomResourceDefinitionList Source

newtype CustomResourceDefinitionList

CustomResourceDefinitionList is a list of CustomResourceDefinition objects.

Fields:

Constructors

Instances

#CustomResourceDefinitionNames Source

newtype CustomResourceDefinitionNames

CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition

Fields:

  • kind: Kind is the serialized kind of the resource. It is normally CamelCase and singular.
  • listKind: ListKind is the serialized kind of the list for this resource. Defaults to <kind>List.
  • plural: Plural is the plural name of the resource to serve. It must match the name of the CustomResourceDefinition-registration too: plural.group and it must be all lowercase.
  • shortNames: ShortNames are short names for the resource. It must be all lowercase.
  • singular: Singular is the singular name of the resource. It must be all lowercase Defaults to lowercased <kind>

Constructors

Instances

#CustomResourceDefinitionSpec Source

newtype CustomResourceDefinitionSpec

CustomResourceDefinitionSpec describes how a user wants their resource to appear

Fields:

  • group: Group is the group this resource belongs in
  • names: Names are the names used to describe this custom resource
  • scope: Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced
  • validation: Validation describes the validation methods for CustomResources
  • version: Version is the version this resource belongs in

Constructors

Instances

#CustomResourceDefinitionStatus Source

newtype CustomResourceDefinitionStatus

CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition

Fields:

  • acceptedNames: AcceptedNames are the names that are actually being used to serve discovery They may be different than the names in spec.
  • conditions: Conditions indicate state for particular aspects of a CustomResourceDefinition

Constructors

Instances

#CustomResourceValidation Source

newtype CustomResourceValidation

CustomResourceValidation is a list of validation methods for CustomResources.

Fields:

  • openAPIV3Schema: OpenAPIV3Schema is the OpenAPI v3 schema to be validated against.

Constructors

Instances

#ExternalDocumentation Source

newtype ExternalDocumentation

ExternalDocumentation allows referencing an external resource for extended documentation.

Fields:

  • description
  • url

Constructors

Instances

#JSON Source

newtype JSON

JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.

Fields:

  • _Raw

Constructors

Instances

#JSONSchemaProps Source

newtype JSONSchemaProps

JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).

Fields:

  • _default
  • _ref
  • _schema
  • _type
  • additionalItems
  • additionalProperties
  • allOf
  • anyOf
  • definitions
  • dependencies
  • description
  • enum
  • example
  • exclusiveMaximum
  • exclusiveMinimum
  • externalDocs
  • format
  • id
  • items
  • maxItems
  • maxLength
  • maxProperties
  • maximum
  • minItems
  • minLength
  • minProperties
  • minimum
  • multipleOf
  • not
  • oneOf
  • pattern
  • patternProperties
  • properties
  • required
  • title
  • uniqueItems

Constructors

Instances

#JSONSchemaPropsOrArray Source

newtype JSONSchemaPropsOrArray

JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.

Fields:

  • _JSONSchemas
  • _Schema

Constructors

Instances

#JSONSchemaPropsOrBool Source

newtype JSONSchemaPropsOrBool

JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.

Fields:

  • _Allows
  • _Schema

Constructors

Instances

#JSONSchemaPropsOrStringArray Source

#getAPIResources Source

getAPIResources :: forall e. Config -> Aff (http :: HTTP | e) (Either Status APIResourceList)

get available resources

Modules
Kubernetes.Api.APIExtensions
Kubernetes.Api.APIExtensionsV1Beta1
Kubernetes.Api.APIExtensionsV1Beta1.CustomResourceDefinition
Kubernetes.Api.AdmissionRegistration
Kubernetes.Api.AdmissionRegistrationV1Alpha1
Kubernetes.Api.AdmissionRegistrationV1Alpha1.InitializerConfiguration
Kubernetes.Api.AdmissionRegistrationV1Beta1
Kubernetes.Api.AdmissionRegistrationV1Beta1.MutatingWebhookConfiguration
Kubernetes.Api.AdmissionRegistrationV1Beta1.ValidatingWebhookConfiguration
Kubernetes.Api.ApiRegistration
Kubernetes.Api.ApiRegistrationV1Beta1
Kubernetes.Api.ApiRegistrationV1Beta1.APIService
Kubernetes.Api.Apis
Kubernetes.Api.Apps
Kubernetes.Api.AppsV1
Kubernetes.Api.AppsV1.ControllerRevision
Kubernetes.Api.AppsV1.DaemonSet
Kubernetes.Api.AppsV1.Deployment
Kubernetes.Api.AppsV1.ReplicaSet
Kubernetes.Api.AppsV1.StatefulSet
Kubernetes.Api.AppsV1Beta1
Kubernetes.Api.AppsV1Beta1.ControllerRevision
Kubernetes.Api.AppsV1Beta1.Deployment
Kubernetes.Api.AppsV1Beta1.DeploymentRollback
Kubernetes.Api.AppsV1Beta1.Scale
Kubernetes.Api.AppsV1Beta1.StatefulSet
Kubernetes.Api.AppsV1Beta2
Kubernetes.Api.AppsV1Beta2.ControllerRevision
Kubernetes.Api.AppsV1Beta2.DaemonSet
Kubernetes.Api.AppsV1Beta2.Deployment
Kubernetes.Api.AppsV1Beta2.ReplicaSet
Kubernetes.Api.AppsV1Beta2.Scale
Kubernetes.Api.AppsV1Beta2.StatefulSet
Kubernetes.Api.Authentication
Kubernetes.Api.AuthenticationV1
Kubernetes.Api.AuthenticationV1.TokenReview
Kubernetes.Api.AuthenticationV1Beta1
Kubernetes.Api.AuthenticationV1Beta1.TokenReview
Kubernetes.Api.Authorization
Kubernetes.Api.AuthorizationV1
Kubernetes.Api.AuthorizationV1.LocalSubjectAccessReview
Kubernetes.Api.AuthorizationV1.SelfSubjectAccessReview
Kubernetes.Api.AuthorizationV1.SelfSubjectRulesReview
Kubernetes.Api.AuthorizationV1.SubjectAccessReview
Kubernetes.Api.AuthorizationV1Beta1
Kubernetes.Api.AuthorizationV1Beta1.LocalSubjectAccessReview
Kubernetes.Api.AuthorizationV1Beta1.SelfSubjectAccessReview
Kubernetes.Api.AuthorizationV1Beta1.SelfSubjectRulesReview
Kubernetes.Api.AuthorizationV1Beta1.SubjectAccessReview
Kubernetes.Api.Autoscaling
Kubernetes.Api.AutoscalingV1
Kubernetes.Api.AutoscalingV1.HorizontalPodAutoscaler
Kubernetes.Api.AutoscalingV1.Scale
Kubernetes.Api.AutoscalingV2Beta1
Kubernetes.Api.AutoscalingV2Beta1.HorizontalPodAutoscaler
Kubernetes.Api.Batch
Kubernetes.Api.BatchV1
Kubernetes.Api.BatchV1.Job
Kubernetes.Api.BatchV1Beta1
Kubernetes.Api.BatchV1Beta1.CronJob
Kubernetes.Api.BatchV2Alpha1
Kubernetes.Api.BatchV2Alpha1.CronJob
Kubernetes.Api.Certificates
Kubernetes.Api.CertificatesV1Beta1
Kubernetes.Api.CertificatesV1Beta1.CertificateSigningRequest
Kubernetes.Api.Core
Kubernetes.Api.CoreV1
Kubernetes.Api.CoreV1.Binding
Kubernetes.Api.CoreV1.ComponentStatus
Kubernetes.Api.CoreV1.ConfigMap
Kubernetes.Api.CoreV1.Endpoints
Kubernetes.Api.CoreV1.Event
Kubernetes.Api.CoreV1.LimitRange
Kubernetes.Api.CoreV1.Namespace
Kubernetes.Api.CoreV1.Node
Kubernetes.Api.CoreV1.PersistentVolume
Kubernetes.Api.CoreV1.PersistentVolumeClaim
Kubernetes.Api.CoreV1.Pod
Kubernetes.Api.CoreV1.PodTemplate
Kubernetes.Api.CoreV1.ReplicationController
Kubernetes.Api.CoreV1.ResourceQuota
Kubernetes.Api.CoreV1.Secret
Kubernetes.Api.CoreV1.Service
Kubernetes.Api.CoreV1.ServiceAccount
Kubernetes.Api.Events
Kubernetes.Api.Events.Event
Kubernetes.Api.Extensions
Kubernetes.Api.ExtensionsV1Beta1
Kubernetes.Api.ExtensionsV1Beta1.DaemonSet
Kubernetes.Api.ExtensionsV1Beta1.Deployment
Kubernetes.Api.ExtensionsV1Beta1.DeploymentRollback
Kubernetes.Api.ExtensionsV1Beta1.Ingress
Kubernetes.Api.ExtensionsV1Beta1.NetworkPolicy
Kubernetes.Api.ExtensionsV1Beta1.PodSecurityPolicy
Kubernetes.Api.ExtensionsV1Beta1.ReplicaSet
Kubernetes.Api.ExtensionsV1Beta1.Scale
Kubernetes.Api.Lens
Kubernetes.Api.Logs
Kubernetes.Api.MetaV1
Kubernetes.Api.Networking
Kubernetes.Api.NetworkingV1
Kubernetes.Api.NetworkingV1.NetworkPolicy
Kubernetes.Api.Policy
Kubernetes.Api.PolicyV1Beta1
Kubernetes.Api.PolicyV1Beta1.Eviction
Kubernetes.Api.PolicyV1Beta1.PodDisruptionBudget
Kubernetes.Api.Rbac
Kubernetes.Api.RbacV1
Kubernetes.Api.RbacV1.ClusterRole
Kubernetes.Api.RbacV1.ClusterRoleBinding
Kubernetes.Api.RbacV1.Role
Kubernetes.Api.RbacV1.RoleBinding
Kubernetes.Api.RbacV1Alpha1
Kubernetes.Api.RbacV1Alpha1.ClusterRole
Kubernetes.Api.RbacV1Alpha1.ClusterRoleBinding
Kubernetes.Api.RbacV1Alpha1.Role
Kubernetes.Api.RbacV1Alpha1.RoleBinding
Kubernetes.Api.RbacV1Beta1
Kubernetes.Api.RbacV1Beta1.ClusterRole
Kubernetes.Api.RbacV1Beta1.ClusterRoleBinding
Kubernetes.Api.RbacV1Beta1.Role
Kubernetes.Api.RbacV1Beta1.RoleBinding
Kubernetes.Api.Resource
Kubernetes.Api.Runtime
Kubernetes.Api.Scheduling
Kubernetes.Api.SchedulingV1Alpha1
Kubernetes.Api.SchedulingV1Alpha1.PriorityClass
Kubernetes.Api.Settings
Kubernetes.Api.SettingsV1Alpha1
Kubernetes.Api.SettingsV1Alpha1.PodPreset
Kubernetes.Api.Storage
Kubernetes.Api.StorageV1
Kubernetes.Api.StorageV1.StorageClass
Kubernetes.Api.StorageV1Alpha1
Kubernetes.Api.StorageV1Alpha1.VolumeAttachment
Kubernetes.Api.StorageV1Beta1
Kubernetes.Api.StorageV1Beta1.StorageClass
Kubernetes.Api.Util
Kubernetes.Api.Version
Kubernetes.Client
Kubernetes.Config
Kubernetes.Default
Kubernetes.Generation.AST
Kubernetes.Generation.Emitter
Kubernetes.Generation.GenerateApi
Kubernetes.Generation.GenerateDefinitions
Kubernetes.Generation.GenerateSchemaType
Kubernetes.Generation.Generation
Kubernetes.Generation.JsonSchema
Kubernetes.Generation.Main
Kubernetes.Generation.Names
Kubernetes.Generation.PathParsing
Kubernetes.Generation.Swagger
Kubernetes.Json
Kubernetes.QueryString
Kubernetes.Request
Kubernetes.RequestOptions
Kubernetes.SchemaExtensions