Cluster v1alpha1

apiVersion: tilt.dev/v1alpha1

import "github.com/tilt-dev/tilt/pkg/apis/core/v1alpha1"

Cluster

Cluster defines any runtime for running containers, in the broadest sense of the word “runtime”.


ClusterSpec

ClusterSpec defines how to find the cluster we’re running containers on.

Tilt currently supports connecting to an existing Kubernetes cluster or an existing Docker Daemon (for Docker Compose).


  • connection (ClusterConnection)

    Connection spec for an existing cluster.

    Connection spec for an existing cluster.

    • connection.docker (DockerClusterConnection)

      Defines connection to a Docker daemon.

      **

    • connection.docker.host (string)

      The docker host to use.

      If not specified, will read the DOCKER_HOST env or use the default docker host.

    • connection.kubernetes (KubernetesClusterConnection)

      Defines connection to a Kubernetes cluster.

      **

    • connection.kubernetes.context (string)

      The name of the kubeconfig context to use.

      If not specified, will use the default context in the kubeconfig.

    • connection.kubernetes.namespace (string)

      The default namespace to use.

      If not specified, will use the namespace in the kubeconfig.

ClusterStatus

ClusterStatus defines the observed state of Cluster


  • arch (string)

    The preferred chip architecture of the cluster.

    On Kubernetes, this will correspond to the kubernetes.io/arch annotation on a node.

    On Docker, this will be the Architecture of the Docker daemon.

    Note that many clusters support multiple chipsets. This field doesn’t intend that this is the only architecture a cluster supports, only that it’s one of the architectures.

  • connectedAt (MicroTime)

    ConnectedAt indicates the time at which the cluster connection was established.

    Consumers can use this to detect when the underlying config has changed and refresh their client/connection accordingly.

    MicroTime is version of Time with microsecond level precision.

  • error (string)

    An unrecoverable error connecting to the cluster.

ClusterList

ClusterList


  • apiVersion: tilt.dev/v1alpha1

  • kind: ClusterList

  • metadata (ListMeta)

  • items ([]Cluster), required