Skip to content

Commit

Permalink
docs: FIx merge conflict (#17404)
Browse files Browse the repository at this point in the history
* no-op commit due to failed cherry-picking

* docs: connect-service-upstreams annotation fixes (#17312)

* corrections

* fixes

* Update website/content/docs/k8s/annotations-and-labels.mdx

Co-authored-by: Jared Kirschner <[email protected]>

* Update website/content/docs/k8s/annotations-and-labels.mdx

Co-authored-by: Jared Kirschner <[email protected]>

* Update website/content/docs/k8s/annotations-and-labels.mdx

Co-authored-by: Jared Kirschner <[email protected]>

* Update website/content/docs/k8s/annotations-and-labels.mdx

Co-authored-by: Jared Kirschner <[email protected]>

* Update website/content/docs/k8s/annotations-and-labels.mdx

Co-authored-by: Jared Kirschner <[email protected]>

* Update website/content/docs/k8s/annotations-and-labels.mdx

Co-authored-by: trujillo-adam <[email protected]>

* Update website/content/docs/k8s/annotations-and-labels.mdx

Co-authored-by: Jared Kirschner <[email protected]>

* Update website/content/docs/k8s/annotations-and-labels.mdx

Co-authored-by: Jared Kirschner <[email protected]>

* Switching order of labeled/unlabeled

---------

Co-authored-by: Jared Kirschner <[email protected]>
Co-authored-by: trujillo-adam <[email protected]>

* Git Head fixes

---------

Co-authored-by: temp <[email protected]>
Co-authored-by: Jared Kirschner <[email protected]>
Co-authored-by: trujillo-adam <[email protected]>
  • Loading branch information
4 people authored May 18, 2023
1 parent c8611b8 commit 0a2d651
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions website/content/docs/k8s/annotations-and-labels.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,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,
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.

<<<<<<< HEAD
- Unlabeled:
Use the unlabeled annotation format to specify a service name, Consul Enterprise namespaces and partitions, and
datacenters. To use [cluster peering](/docs/connect/cluster-peering/k8s) with upstreams, use the following
labeled format.
- Service name: Place the service name at the beginning of the annotation to specify the upstream service. You can
also append the datacenter where the service is deployed (optional).
=======
- **Labeled** (requires Consul on Kubernetes v0.45.0+):
- **Labeled** (requires Consul on Kubernetes v0.45.0+):

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.

Expand Down Expand Up @@ -133,7 +125,6 @@ The following Kubernetes resource annotations could be used on a pod to control

- Service name: Place the service name at the beginning of the annotation to specify the upstream service. You also have the option to append the WAN federated datacenter where the service is deployed.

>>>>>>> 8dce0ba504 (docs: connect-service-upstreams annotation fixes (#17312))
```yaml
annotations:
"consul.hashicorp.com/connect-service-upstreams":"[service-name]:[port]:[optional datacenter]"
Expand Down

0 comments on commit 0a2d651

Please sign in to comment.