Documentation
¶
Index ¶
Constants ¶
View Source
const (
// BackendHTTPPort is the backend, i.e. `targetPort` that we setup for HTTP/1 services.
BackendHTTPPort = 8012
// BackendHTTP2Port is the backend, i.e. `targetPort` that we setup for HTTP/2 services.
BackendHTTP2Port = 8013
// QueueAdminPort specifies the port number for
// health check and lifecycle hooks for queue-proxy.
QueueAdminPort = 8022
// AutoscalingQueueMetricsPort specifies the port number for metrics emitted
// by queue-proxy for autoscaler.
AutoscalingQueueMetricsPort = 9090
// UserQueueMetricsPort specifies the port number for metrics emitted
// by queue-proxy for end user.
UserQueueMetricsPort = 9091
// ActivatorServiceName is the name of the activator Kubernetes service.
ActivatorServiceName = "activator-service"
// SKSLabelKey is the label key that SKS Controller attaches to the
// underlying resources it controls.
SKSLabelKey = networking.GroupName + "/serverlessservice"
// ServiceTypeKey is the label key attached to a service specifying the type of service.
// e.g. Public, Private.
ServiceTypeKey = networking.GroupName + "/serviceType"
)
The ports we setup on our services.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceType ¶
type ServiceType string
ServiceType is the enumeration type for the Kubernetes services that we have in our system, classified by usage purpose.
const (
// ServiceTypePrivate is the label value for internal only services
// for user applications.
ServiceTypePrivate ServiceType = "Private"
// ServiceTypePublic is the label value for externally reachable
// services for user applications.
ServiceTypePublic ServiceType = "Public"
)
Click to show internal directories.
Click to hide internal directories.