sip/docs/api/sipcluster.md
Sean Eagan 44ee037f5b Remove VM assumption from API
This removes references to "vm", "vino", and "vbmh" in the API and
replaces them with "bmh" since at least the existing functionality of
SIP is applicable to any BMH, not just those backed by vino/VMs.
If/when we add functionality specific to VM nodes, the API for those
features should be named/documented accordingly.

This also updates BMH scheduling to support arbitrary label selectors [0].

[0]: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#resources-that-support-set-based-requirements

Closes: #8
Closes: #9
Change-Id: I105fe3dc854c032c755997c47c24997a03cd65e6
2021-03-15 15:40:49 -05:00

9.4 KiB
Raw Blame History

SIPCluster API reference

Packages:

airship.airshipit.org/v1

Package v1 contains API Schema definitions for the airship v1 API group

Resource Types:

    BMCOpts

    (Appears on: JumpHostService)

    BMCOpts contains options for BMC communication.

    Field Description
    proxy
    bool

    BMHRole (string alias)

    BMHRole defines the states the provisioner will report the tenant has having.

    JumpHostService

    (Appears on: SIPClusterServices)

    JumpHostService is an infrastructure service type that represents the sub-cluster jump-host service.

    Field Description
    SIPClusterService
    SIPClusterService

    (Members of SIPClusterService are embedded into this type.)

    bmc
    BMCOpts
    sshAuthorizedKeys
    []string
    nodeSSHPrivateKeys
    string

    NodeSSHPrivateKeys holds the name of a Secret in the same namespace as the SIPCluster CR, whose key values each represent an ssh private key that can be used to access the cluster nodes. They are mounted into the jumphost with the secret keys serving as file names relative to a common directory, and then configured as identity files in the SSH config file of the default user.

    NodeCount

    (Appears on: NodeSet)

    NodeCount

    Field Description
    active
    int

    INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run “make” to regenerate code after modifying this file

    standby
    int

    NodeSet

    (Appears on: SIPClusterSpec)

    NodeSet are the the list of Nodes objects workers, or ControlPlane that define expectations for the Tenant Clusters Includes artifacts to associate with each defined namespace Such as : - Roles for the Nodes - Flavor for theh Nodes image - Scheduling expectations - Scale of the group of Nodes

    Field Description
    labelSelector
    Kubernetes meta/v1.LabelSelector

    LabelSelector is the BMH label selector to use.

    spreadTopology
    SpreadTopology

    PlaceHolder until we define the real expected Implementation Scheduling define constraints that allow the SIP Scheduler to identify the required BMHs to allow CAPI to build a cluster

    count
    NodeCount

    Count defines the scale expectations for the Nodes

    SIPCluster

    SIPCluster is the Schema for the sipclusters API

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    SIPClusterSpec


    nodes
    map[./pkg/api/v1.BMHRole]./pkg/api/v1.NodeSet

    Nodes defines the set of nodes to schedule for each BMH role.

    services
    SIPClusterServices

    Services defines the services that are deployed when a SIPCluster is provisioned.

    status
    SIPClusterStatus

    SIPClusterService

    (Appears on: JumpHostService, SIPClusterServices)

    Field Description
    image
    string
    nodeLabels
    map[string]string
    nodePort
    int
    nodeInterfaceId
    string
    clusterIP
    string

    SIPClusterServices

    (Appears on: SIPClusterSpec)

    SIPClusterServices defines the services that are deployed when a SIPCluster is provisioned.

    Field Description
    loadBalancer
    []SIPClusterService

    LoadBalancer defines the sub-cluster load balancer services.

    auth
    []SIPClusterService

    Auth defines the sub-cluster authentication services.

    jumpHost
    []JumpHostService

    JumpHost defines the sub-cluster jump host services.

    SIPClusterSpec

    (Appears on: SIPCluster)

    SIPClusterSpec defines the desired state of a SIPCluster

    Field Description
    nodes
    map[./pkg/api/v1.BMHRole]./pkg/api/v1.NodeSet

    Nodes defines the set of nodes to schedule for each BMH role.

    services
    SIPClusterServices

    Services defines the services that are deployed when a SIPCluster is provisioned.

    SIPClusterStatus

    (Appears on: SIPCluster)

    SIPClusterStatus defines the observed state of SIPCluster

    Field Description
    conditions
    []Kubernetes meta/v1.Condition

    SpreadTopology (string alias)

    (Appears on: NodeSet)

    This page was automatically generated with gen-crd-api-reference-docs