Show / Hide Table of Contents

Namespace Pulumi.Kubernetes.Core.V1

Classes

Binding

Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.

ComponentStatus

ComponentStatus (and ComponentStatusList) holds the cluster validation info.

ComponentStatusList

Status of all the conditions for the component as a list of ComponentStatus objects.

ConfigMap

ConfigMap holds configuration data for pods to consume.

ConfigMapList

ConfigMapList is a resource containing a list of ConfigMap objects.

Endpoints

Endpoints is a collection of endpoints that implement the actual service. Example: Name: "mysvc", Subsets: [ { Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] }, { Addresses: [{"ip": "10.10.3.3"}], Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] }, ]

EndpointsList

EndpointsList is a list of endpoints.

Event

Event is a report of an event somewhere in the cluster.

EventList

EventList is a list of events.

LimitRange

LimitRange sets resource usage limits for each kind of resource in a Namespace.

LimitRangeList

LimitRangeList is a list of LimitRange items.

Namespace

Namespace provides a scope for Names. Use of multiple namespaces is optional.

NamespaceList

NamespaceList is a list of Namespaces.

Node

Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).

NodeList

NodeList is the whole list of all Nodes which have been registered with master.

PersistentVolume

PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes

PersistentVolumeClaim

PersistentVolumeClaim is a user's request for and claim to a persistent volume

PersistentVolumeClaimList

PersistentVolumeClaimList is a list of PersistentVolumeClaim items.

PersistentVolumeList

PersistentVolumeList is a list of PersistentVolume items.

Pod

Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Pod is scheduled ("PodScheduled"" '.status.condition' is true).
  2. The Pod is initialized ("Initialized" '.status.condition' is true).
  3. The Pod is ready ("Ready" '.status.condition' is true) and the '.status.phase' is set to "Running". Or (for Jobs): The Pod succeeded ('.status.phase' set to "Succeeded").

If the Pod has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

PodList

PodList is a list of Pods.

PodTemplate

PodTemplate describes a template for creating copies of a predefined pod.

PodTemplateList

PodTemplateList is a list of PodTemplates.

ReplicationController

ReplicationController represents the configuration of a replication controller.

ReplicationControllerList

ReplicationControllerList is a collection of replication controllers.

ResourceQuota

ResourceQuota sets aggregate quota restrictions enforced per namespace

ResourceQuotaList

ResourceQuotaList is a list of ResourceQuota items.

Secret

Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.

Note: While Pulumi automatically encrypts the 'data' and 'stringData' fields, this encryption only applies to Pulumi's context, including the state file, the Service, the CLI, etc. Kubernetes does not encrypt Secret resources by default, and the contents are visible to users with access to the Secret in Kubernetes using tools like 'kubectl'.

For more information on securing Kubernetes Secrets, see the following links: https://kubernetes.io/docs/concepts/configuration/secret/#security-properties https://kubernetes.io/docs/concepts/configuration/secret/#risks

SecretList

SecretList is a list of Secret.

Service

Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. Service object exists.
  2. Related Endpoint objects are created. Each time we get an update, wait 10 seconds for any stragglers.
  3. The endpoints objects target some number of living objects (unless the Service is an "empty headless" Service [1] or a Service with '.spec.type: ExternalName').
  4. External IP address is allocated (if Service has '.spec.type: LoadBalancer').

Known limitations: Services targeting ReplicaSets (and, by extension, Deployments, StatefulSets, etc.) with '.spec.replicas' set to 0 are not handled, and will time out. To work around this limitation, set 'pulumi.com/skipAwait: "true"' on '.metadata.annotations' for the Service. Work to handle this case is in progress [2].

[1] https://kubernetes.io/docs/concepts/services-networking/service/#headless-services [2] https://github.com/pulumi/pulumi-kubernetes/pull/703

If the Service has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

ServiceAccount

ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets

ServiceAccountList

ServiceAccountList is a list of ServiceAccount objects

ServiceList

ServiceList holds a list of services.

Back to top Copyright 2016-2020, Pulumi Corporation.