mirror of https://github.com/hashicorp/consul
Update annotations-and-labels.mdx
parent
0ab44f06c7
commit
69c99fbccb
|
@ -81,7 +81,7 @@ The following Kubernetes resource annotations could be used on a pod to control
|
||||||
local port to listen for those connections. When transparent proxy is enabled,
|
local port to listen for those connections. When transparent proxy is enabled,
|
||||||
this annotation is optional. This annotation can be either _labeled_ or _unlabeled_. We recommend the labeled format because it has a more consistent syntax and can be used to reference cluster peers as upstreams.
|
this annotation is optional. This annotation can be either _labeled_ or _unlabeled_. We recommend the labeled format because it has a more consistent syntax and can be used to reference cluster peers as upstreams.
|
||||||
|
|
||||||
- **Labeled** (requires Consul on Kubernetes v0.45.0+):
|
- **Labeled**:
|
||||||
|
|
||||||
The labeled annotation format allows you to reference any service as an upstream. You can specify a Consul Enterprise namespace. You can also specify an admin partition in the same datacenter, a cluster peer, or a WAN-federated datacenter.
|
The labeled annotation format allows you to reference any service as an upstream. You can specify a Consul Enterprise namespace. You can also specify an admin partition in the same datacenter, a cluster peer, or a WAN-federated datacenter.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue