Navigation :
Getting Started
What is Gloo Gateway?
Setup
Guides
Operations
Reference
-
Open Source Attribution
-
API Reference
-- address.proto
-- advanced_http.proto
-- als.proto
-- annotations.proto
-- any.proto
-- api.proto
-- artifact.proto
-- aws.proto
-- aws_ec2.proto
-- azure.proto
-- base.proto
-- caching.proto
-- circuit_breaker.proto
-- cluster.proto
-- connection.proto
-- connection_limit.proto
-- consul.proto
-- core.proto
-- cors.proto
-- deprecation.proto
-- descriptor.proto
-- discovery.proto
-- dlp.proto
-- duration.proto
-- dynamic_forward_proxy.proto
-- empty.proto
-- endpoint.proto
-- envoy.glooe.solo.io.project
-- envoy_glooe_solo_io.project
-- ext.proto
-- extauth.proto
-- extensions.proto
-- external_options.proto
-- extproc.proto
-- failover.proto
-- failover.proto
-- fault.proto
-- field_mask.proto
-- gateway.proto
-- gateway.solo.io.project
-- gateway_solo_io.project
-- gcp.proto
-- gloo.solo.io.project
-- gloo_solo_io.project
-- gloo_validation.proto
-- glooe.solo.io.project
-- glooe_solo_io.project
-- graphql.proto
-- graphql.proto
-- grpc.proto
-- grpc_json.proto
-- grpc_web.proto
-- hcm.proto
-- header_validation.proto
-- headers.proto
-- healthcheck.proto
-- http.proto
-- http_gateway.proto
-- http_uri.proto
-- ingress.proto
-- instance.proto
-- jwt.proto
-- kubernetes.proto
-- lbhash.proto
-- load_balancer.proto
-- local_ratelimit.proto
-- matchable_http_gateway.proto
-- matchable_tcp_gateway.proto
-- matchers.proto
-- metadata.proto
-- metrics.proto
-- options.proto
-- parameters.proto
-- percent.proto
-- pipe.proto
-- placement.proto
-- protocol.proto
-- protocol_upgrade.proto
-- proxy.proto
-- proxy_endpoint.proto
-- proxy_protocol.proto
-- proxy_protocol.proto
-- query_options.proto
-- ratelimit.proto
-- ratelimit.proto
-- ratelimit.proto
-- rbac.proto
-- ref.proto
-- rest.proto
-- retries.proto
-- route.proto
-- route_table.proto
-- router.proto
-- secret.proto
-- selectors.proto
-- semantic_version.proto
-- service.proto
-- service_spec.proto
-- settings.proto
-- shadowing.proto
-- snap.proto
-- socket_option.proto
-- solo-discovery-service.proto
-- solo-kit.proto
-- source_context.proto
-- ssl.proto
-- ssl.proto
-- stages.proto
-- stateful_session.proto
-- statefulsession.proto
-- statefulsession.proto
-- static.proto
-- stats.proto
-- status.proto
-- status.proto
-- struct.proto
-- subset.proto
-- subset_spec.proto
-- tap.proto
-- tap.proto
-- tcp.proto
-- timestamp.proto
-- trace.proto
-- tracing.proto
-- transformation.proto
-- type.proto
-- upstream.proto
-- version.proto
-- virtual_service.proto
-- waf.proto
-- wasm.proto
-- wrappers.proto
-
Command Line Reference
-
Changelog
-
Helm Chart Values
-
Security Updates
- Security Posture
- Gloo Gateway Port Reference
- Release Support
-
Cheatsheets
Contribution Guide
Get help and support
failover.proto
Package: fed.solo.io
Types:
FailoverSchemeSpec
FailoverSpec is the core portion of the API for enabling failover between Gloo Upstreams in gloo-fed.
This API is heavily inspired by the Failover API present in the Gloo Upstream which can be found in
api/gloo/v1/upstream
.
The source Upstream below is the initial primary target of traffic. The type of endpoints vary by the type
of Upstream specified. Each target specified is then configured as a failover endpoint in the case that
the prmiary Upstream becomes unhealthy. The priority of the failover endpoints is inferred from the
order in which the Upstreams are specified. source = [0], targets = [1-n].
Example:
primary:
cluster: primary
name: primary
namespace: primary
failover_groups:
priority_group:
cluster: A
upstreams:
name: one
namespace: one
cluster: B
upstreams:
name: two
namespace: two
priority_group:
cluster: C
upstreams:
name: one
namespace: one
cluster: D
upstreams:
name: two
namespace: two
"primary": .core.skv2.solo.io.ClusterObjectRef
"failoverGroups": [] fed.solo.io.FailoverSchemeSpec.FailoverEndpoints
FailoverEndpoints
"priorityGroup": [] fed.solo.io.FailoverSchemeSpec.FailoverEndpoints.LocalityLbTargets
LocalityLbTargets
"cluster": string
"upstreams": [] core.skv2.solo.io.ObjectRef
"localityWeight": .google.protobuf.UInt32Value
FailoverSchemeStatus
"state": .fed.solo.io.FailoverSchemeStatus.State
"message": string
"observedGeneration": int
"processingTime": .google.protobuf.Timestamp
"namespacedStatuses": map<string, .fed.solo.io.FailoverSchemeStatus.Status>
Field
Type
Description
state
.fed.solo.io.FailoverSchemeStatus.State
The current state of the resource. Deprecated: use namespacedStatuses instead.
message
string
A human readable message about the current state of the object. Deprecated: use namespacedStatuses instead.
observedGeneration
int
The most recently observed generation of the resource. This value corresponds to the metadata.generation
of a kubernetes resource. Deprecated: use namespacedStatuses instead.
processingTime
.google.protobuf.Timestamp
The time at which this status was recorded. Deprecated: use namespacedStatuses instead.
namespacedStatuses
map<string, .fed.solo.io.FailoverSchemeStatus.Status>
Map of gloo fed controller namespace to FailoverScheme status.
Status
"state": .fed.solo.io.FailoverSchemeStatus.State
"message": string
"observedGeneration": int
"processingTime": .google.protobuf.Timestamp
Field
Type
Description
state
.fed.solo.io.FailoverSchemeStatus.State
The current state of the resource.
message
string
A human readable message about the current state of the object.
observedGeneration
int
The most recently observed generation of the resource. This value corresponds to the metadata.generation
of a kubernetes resource.
processingTime
.google.protobuf.Timestamp
The time at which this status was recorded.
State
The State of a reconciled object
Name
Description
PENDING
Waiting to be processed.
PROCESSING
Currently processing.
INVALID
Invalid parameters supplied, will not continue.
FAILED
Failed during processing.
ACCEPTED
Finished processing successfully.