File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
content/en/docs/tasks/extend-kubernetes Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,22 @@ by providing the following flags to the kube-apiserver:
37
37
1 . Create an egress configuration file such as ` admin/konnectivity/egress-selector-configuration.yaml ` .
38
38
1 . Set the ` --egress-selector-config-file ` flag of the API Server to the path of
39
39
your API Server egress configuration file.
40
+ 1 . If you use UDS connection, add volumes config to the kube-apiserver:
41
+ ``` yaml
42
+ spec :
43
+ containers :
44
+ volumeMounts :
45
+ - name : konnectivity-uds
46
+ mountPath : /etc/kubernetes/konnectivity-server
47
+ readOnly : false
48
+ volumes :
49
+ - name : konnectivity-uds
50
+ hostPath :
51
+ path : /etc/kubernetes/konnectivity-server
52
+ type : DirectoryOrCreate
53
+ ` ` `
40
54
41
- Generate or obtain a certificate and kubeconfig for konnectivity-server.
55
+ Generate or obtain a certificate and kubeconfig for konnectivity-server.
42
56
For example, you can use the OpenSSL command line tool to issue a X.509 certificate,
43
57
using the cluster CA certificate ` /etc/kubernetes/pki/ca.crt` from a control-plane host.
44
58
You can’t perform that action at this time.
0 commit comments