asm.alauda.io group

GatewayDeploy is the Schema for the gatewaydeploys API

v1alpha1 version
spec object

GatewayDeploySpec defines the desired state of GatewayDeploy

accessLogging object

Access-log configuration.

enabled boolean required
global object required

Global configuration.

autoscaleEnabled boolean

Whether auto-scaling is enabled.

externalLoadBalancerIPAddress string

External Load Balancer IP address

podStrategy string required

Anti-affinity strategy.

private boolean

Visibility to other projects

k8s object required

Kubernetes configuration.

hpaSpec object

HPA configuration.

maxReplicas integer

Maximum number of replicas.

minReplicas integer

Minimum number of replicas.

nodeSelector object

Node Selector, key of the map is node's label key, value of the map is a type of []string that means In operation will be used for node selection.

nodes []string

Deploy Nodes.

podAnnotations object

Pod's annotations.

replicas integer

Replicas.

resources object

Resource limits.

limits object

Maximum resource limits.

cpu string

CPU.

memory string

Memory.

requests object

Minimum resource requirements.

cpu string

CPU.

memory string

Memory.

service object

Port details.

annotations object

Service's annotations.

ports object

Port details.

http object

HTTP port.

count integer

Number.

data []object
items []object
externalLoadBalancerPort integer

External Load Balancer Port

nodePort integer

Node port.

port integer

Service port.

protocol string

Type of protocal.

targetPort integer

Container port.

name string

Name.

http-https object

http/https port.

count integer

Number.

data []object
items []object
externalLoadBalancerPort integer

External Load Balancer Port

nodePort integer

Node port.

port integer

Service port.

protocol string

Type of protocal.

targetPort integer

Container port.

name string

Name.

https object

HTTPS port.

count integer

Number.

data []object
items []object
externalLoadBalancerPort integer

External Load Balancer Port

nodePort integer

Node port.

port integer

Service port.

protocol string

Type of protocal.

targetPort integer

Container port.

name string

Name.

tcp object

TCP port.

count integer

Number.

data []object
items []object
externalLoadBalancerPort integer

External Load Balancer Port

nodePort integer

Node port.

port integer

Service port.

protocol string

Type of protocal.

targetPort integer

Container port.

name string

Name.

type string

Type of service.

tolerations []object
effect string

Scheduling policy.

key string

Key of taint.

operator string

Tolerant matching strategy.

value string

Value of taint.

revision string required

Gateway Revision。

type string required

Type of gateway.

status object

GatewayDeployStatus defines the observed state of GatewayDeploy

availableReplicas integer

Number of replicas available.

message string

A human readable message indicating details about why the gateway is in this phase.

phase string

Status of the gateway workloads and service.

pods []object
hostIP string

Node ip.

phase string

Status of container.

podIP string

Pod ip.

proxy object

Istio Proxy status

conditions []object

Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions" // other fields }

lastTransitionTime string required

lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.

message string required

message is a human readable message indicating details about the transition. This may be an empty string.

observedGeneration integer

observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.

reason string required

reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.

status string required

status of the condition, one of True, False, Unknown.

type string required

type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)

reason string
revision object
current string required
target string required
state string
replicas integer

Expected number of replicas.

service object

Service status

loadBalancer object

LoadBalancer status

ingress []object

LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.

hostname string

Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)

ip string

IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)

ports []object
error string

Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. --- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)

port integer required

Port is the port number of the service port of which status is recorded here

protocol string required

Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"

ports []object

ServicePort contains information on service's port.

appProtocol string

The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.

name string

The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.

nodePort integer

The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport

port integer required

The port that will be exposed by this service.

protocol string

The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.

targetPort

Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service