1
1
---
2
- title : Setup Konnectivity Service
2
+ title : Set up Konnectivity service
3
3
content_template : templates/task
4
- weight : 110
4
+ weight : 70
5
5
---
6
6
7
+ {{% capture overview %}}
8
+
7
9
The Konnectivity service provides TCP level proxy for the Master → Cluster
8
10
communication.
9
11
10
- You can set it up with the following steps.
12
+ {{% /capture %}}
13
+
14
+ {{% capture prerequisites %}}
15
+
16
+ {{< include "task-tutorial-prereqs.md" >}}
17
+
18
+ {{% /capture %}}
19
+
20
+ {{% capture steps %}}
21
+
22
+ ## Configure the Konnectivity service
11
23
12
24
First, you need to configure the API Server to use the Konnectivity service
13
25
to direct its network traffic to cluster nodes:
26
+
14
27
1 . Set the ` --egress-selector-config-file ` flag of the API Server, it is the
15
28
path to the API Server egress configuration file.
16
- 2 . At the path, create a configuration file. For example,
29
+ 1 . At the path, create a configuration file. For example,
17
30
18
31
{{< codenew file="admin/konnectivity/egress-selector-configuration.yaml" >}}
19
32
20
- Next, you need to deploy the Konnectivity service server and agents.
33
+ Next, you need to deploy the Konnectivity server and agents.
21
34
[ kubernetes-sigs/apiserver-network-proxy] ( https://github.com/kubernetes-sigs/apiserver-network-proxy )
22
35
is a reference implementation.
23
36
24
- Deploy the Konnectivity server on your master node. The provided yaml assuming
25
- Kubernetes components are deployed as {{< glossary_tooltip text="static pod "
26
- term_id="static-pod" >}} in your cluster. If not , you can deploy it as a
27
- Daemonset to be reliable .
37
+ Deploy the Konnectivity server on your master node. The provided yaml assumes
38
+ that the Kubernetes components are deployed as a {{< glossary_tooltip text="static Pod "
39
+ term_id="static-pod" >}} in your cluster. If not, you can deploy the Konnectivity
40
+ server as a DaemonSet .
28
41
29
42
{{< codenew file="admin/konnectivity/konnectivity-server.yaml" >}}
30
43
@@ -35,3 +48,5 @@ Then deploy the Konnectivity agents in your cluster:
35
48
Last, if RBAC is enabled in your cluster, create the relevant RBAC rules:
36
49
37
50
{{< codenew file="admin/konnectivity/konnectivity-rbac.yaml" >}}
51
+
52
+ {{% /capture %}}
0 commit comments