Skip to content

Commit 0a861fc

Browse files
committed
Copy tasks/administer-cluster/enabling-service-topology.md from en/ directory.
1 parent 1d99209 commit 0a861fc

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
reviewers:
3+
- andrewsykim
4+
- johnbelamaric
5+
- imroc
6+
title: Enabling Service Topology
7+
content_type: task
8+
---
9+
10+
<!-- overview -->
11+
This page provides an overview of enabling Service Topology in Kubernetes.
12+
13+
14+
15+
## {{% heading "prerequisites" %}}
16+
17+
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
18+
19+
20+
<!-- steps -->
21+
22+
## Introduction
23+
24+
_Service Topology_ enables a service to route traffic based upon the Node
25+
topology of the cluster. For example, a service can specify that traffic be
26+
preferentially routed to endpoints that are on the same Node as the client, or
27+
in the same availability zone.
28+
29+
## Prerequisites
30+
31+
The following prerequisites are needed in order to enable topology aware service
32+
routing:
33+
34+
* Kubernetes 1.17 or later
35+
* {{< glossary_tooltip text="Kube-proxy" term_id="kube-proxy" >}} running in iptables mode or IPVS mode
36+
* Enable [Endpoint Slices](/docs/concepts/services-networking/endpoint-slices/)
37+
38+
## Enable Service Topology
39+
40+
{{< feature-state for_k8s_version="v1.17" state="alpha" >}}
41+
42+
To enable service topology, enable the `ServiceTopology` and `EndpointSlice` feature gate for all Kubernetes components:
43+
44+
```
45+
--feature-gates="ServiceTopology=true,EndpointSlice=true"
46+
```
47+
48+
49+
## {{% heading "whatsnext" %}}
50+
51+
52+
* Read about the [Service Topology](/docs/concepts/services-networking/service-topology) concept
53+
* Read about [Endpoint Slices](/docs/concepts/services-networking/endpoint-slices)
54+
* Read [Connecting Applications with Services](/docs/concepts/services-networking/connect-applications-service/)
55+
56+

0 commit comments

Comments
 (0)