Skip to content

Latest commit

 

History

History
656 lines (656 loc) · 10.4 KB

api_doc.md

File metadata and controls

656 lines (656 loc) · 10.4 KB

Packages:

elasticserving.paddlepaddle.org/v1

Package v1 contains PaddleService

Resource Types:

    Autoscaler (string alias)

    (Appears on: ServiceSpec)

    Autoscaler defines the autoscaler class

    AutoscalerMetric (string alias)

    (Appears on: ServiceSpec)

    AutoscalerMetric defines the metric for the autoscaler

    EndpointSpec

    (Appears on: PaddleServiceSpec)

    EndpointSpec defines the running containers

    Field Description
    containerImage
    string
    tag
    string
    port
    int32
    arg
    string
    (Optional)

    PaddleService

    PaddleService is the Schema for the paddles API

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


    runtimeVersion
    string

    Version of the service

    resources
    Kubernetes core/v1.ResourceRequirements

    Defaults to requests and limits of 1CPU, 2Gb MEM.

    default
    EndpointSpec

    DefaultTag defines default PaddleService endpoints

    canary
    EndpointSpec
    (Optional)

    CanaryTag defines an alternative PaddleService endpoints

    canaryTrafficPercent
    int
    (Optional)

    CanaryTrafficPercent defines the percentage of traffic going to canary PaddleService endpoints

    service
    ServiceSpec
    (Optional)
    workingDir
    string
    (Optional)

    Container’s working directory. If not specified, the container runtime’s default will be used, which might be configured in the container image. Cannot be updated.

    volumeMounts
    []Kubernetes core/v1.VolumeMount
    (Optional)

    Pod volumes to mount into the container’s filesystem. Cannot be updated.

    volumes
    []Kubernetes core/v1.Volume
    (Optional)

    List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes

    status
    PaddleServiceStatus

    PaddleServiceSpec

    (Appears on: PaddleService)

    PaddleServiceSpec defines the desired state of PaddleService

    Field Description
    runtimeVersion
    string

    Version of the service

    resources
    Kubernetes core/v1.ResourceRequirements

    Defaults to requests and limits of 1CPU, 2Gb MEM.

    default
    EndpointSpec

    DefaultTag defines default PaddleService endpoints

    canary
    EndpointSpec
    (Optional)

    CanaryTag defines an alternative PaddleService endpoints

    canaryTrafficPercent
    int
    (Optional)

    CanaryTrafficPercent defines the percentage of traffic going to canary PaddleService endpoints

    service
    ServiceSpec
    (Optional)
    workingDir
    string
    (Optional)

    Container’s working directory. If not specified, the container runtime’s default will be used, which might be configured in the container image. Cannot be updated.

    volumeMounts
    []Kubernetes core/v1.VolumeMount
    (Optional)

    Pod volumes to mount into the container’s filesystem. Cannot be updated.

    volumes
    []Kubernetes core/v1.Volume
    (Optional)

    List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes

    PaddleServiceStatus

    (Appears on: PaddleService)

    PaddleServiceStatus defines the observed state of PaddleService

    Field Description
    Status
    knative.dev/pkg/apis/duck/v1.Status

    (Members of Status are embedded into this type.)

    url
    string

    URL of the PaddleService

    default
    StatusConfigurationSpec

    Statuses for the default endpoints of the PaddleService

    canary
    StatusConfigurationSpec

    Statuses for the canary endpoints of the PaddleService

    address
    knative.dev/pkg/apis/duck/v1.Addressable

    Addressable URL for eventing

    replicas
    int32
    (Optional)

    ServiceSpec

    (Appears on: PaddleServiceSpec)

    ServiceSpec defines the configuration for Knative Service.

    Field Description
    autoscaler
    Autoscaler
    (Optional)
    metric
    AutoscalerMetric
    (Optional)
    window
    string
    (Optional)
    panicWindow
    string
    (Optional)
    panicThreshold
    string
    (Optional)
    minScale
    int
    (Optional)
    maxScale
    int
    (Optional)
    target
    int
    (Optional)
    targetUtilization
    string
    (Optional)

    StatusConfigurationSpec

    (Appears on: PaddleServiceStatus)

    StatusConfigurationSpec describes the state of the configuration receiving traffic.

    Field Description
    name
    string

    Latest revision name that is in ready state


    Generated with gen-crd-api-reference-docs on git commit 97fc986.