Skip to content

Commit 798deab

Browse files
authored
docs: updated the talos docs based on PR 512 (#515)
Signed-off-by: Bala Harish <[email protected]>
1 parent 09eec4d commit 798deab

File tree

1 file changed

+23
-29
lines changed
  • docs/versioned_docs/version-4.1.x/Solutioning/openebs-on-kubernetes-platforms

1 file changed

+23
-29
lines changed

docs/versioned_docs/version-4.1.x/Solutioning/openebs-on-kubernetes-platforms/talos.md

Lines changed: 23 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ All the below configurations can be configured either during initial cluster cre
1818

1919
### Pod Security
2020

21-
By default, Talos Linux applies a baseline pod security profile across namespaces except for the kube-system namespace. This default setting restricts Replicated PV Mayastors’s ability to manage and access system resources. You need to add the exemptions for Replicated PV Mayastor namespace. See the [Talos Documentation](https://www.talos.dev/v1.6/kubernetes-guides/configuration/pod-security/) for detailed instructions on Pod Security.
21+
By default, Talos Linux applies a baseline pod security profile across namespaces except for the kube-system namespace. This default setting restricts Replicated PV Mayastors’s ability to manage and access system resources. You need to add the exemptions for Replicated PV Mayastor namespace. See the [Talos Documentation](https://www.talos.dev/latest/kubernetes-guides/configuration/pod-security/) for detailed instructions on Pod Security.
2222

2323
**Create a file cp.yaml**
2424

2525
```
26-
- op: add
27-
path: /cluster/apiServer/admissionControl
28-
value:
29-
- name: PodSecurity
30-
configuration:
31-
apiVersion: pod-security.admission.config.k8s.io/v1beta1
32-
kind: PodSecurityConfiguration
33-
exemptions:
34-
namespaces:
35-
- mayastor
26+
cluster:
27+
apiServer:
28+
admissionControl:
29+
- name: PodSecurity
30+
configuration:
31+
apiVersion: pod-security.admission.config.k8s.io/v1beta1
32+
kind: PodSecurityConfiguration
33+
exemptions:
34+
namespaces:
35+
- openebs
3636
```
3737

3838
## Talos Worker Node Changes
@@ -52,26 +52,20 @@ Provide additional data path mounts to be accessible to the Kubernetes Kubelet c
5252
**Create a file wp.yaml**
5353

5454
```
55-
- op: add
56-
path: /machine/sysctls
57-
value:
55+
machine:
56+
sysctls:
5857
vm.nr_hugepages: "1024"
59-
60-
- op: add
61-
path: /machine/nodeLabels
62-
value:
58+
nodeLabels:
6359
openebs.io/engine: "mayastor"
64-
65-
- op: add
66-
path: /machine/kubelet/extraMounts
67-
value:
68-
- destination: /var/local
69-
type: bind
70-
source: /var/local
71-
options:
72-
- bind
73-
- rshared
74-
- rw
60+
kubelet:
61+
extraMounts:
62+
- destination: /var/local
63+
type: bind
64+
source: /var/local
65+
options:
66+
- bind
67+
- rshared
68+
- rw
7569
```
7670

7771
**Examples**

0 commit comments

Comments
 (0)