You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: setup/install-stackstate/kubernetes_openshift/required_permissions.md
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,25 @@ subjects:
93
93
{% endtab %}
94
94
{% endtabs %}
95
95
96
+
## Pod Security Standards
97
+
98
+
If your Kubernetes cluster has [Pod Security Standards enabled](https://kubernetes.io/docs/concepts/security/pod-security-standards/), you need to configure appropriate security policies for the `suse-observability` namespace. SUSE Observability requires the baseline Pod Security Standard to function properly.
99
+
100
+
### Configure Pod Security Standards
101
+
102
+
Apply the baseline Pod Security Standard to the `suse-observability` namespace:
If Pod Security Standards are enabled in your cluster, you must ensure that the Elasticsearch prerequisites are properly configured before deploying SUSE Observability.
112
+
Since the baseline Pod Security Standard does not allow privileged containers, you need to follow [the instructions](required_permissions.md#Elasticsearch) to configure the required `vm.max_map_count` kernel parameter at the host level.
113
+
{% endhint %}
114
+
96
115
## Elasticsearch
97
116
98
117
SUSE Observability uses Elasticsearch to store its indices. There are some additional requirements for the nodes that Elasticsearch runs on.
@@ -141,6 +160,7 @@ apiVersion: apps/v1
141
160
kind: DaemonSet
142
161
metadata:
143
162
name: set-vm-max-map-count
163
+
namespace: kube-system
144
164
labels:
145
165
k8s-app: set-vm-max-map-count
146
166
spec:
@@ -180,7 +200,8 @@ spec:
180
200
# See also this Kubernetes issue https://github.com/kubernetes/kubernetes/issues/36601
181
201
containers:
182
202
- name: pause
183
-
image: google/pause
203
+
image: busybox
204
+
command: ["sleep", "infinity"]
184
205
resources:
185
206
limits:
186
207
cpu: 50m
@@ -204,4 +225,3 @@ elasticsearch:
204
225
205
226
* [Install SUSE Observability on Kubernetes](kubernetes_install.md)
206
227
* [Install SUSE Observability on OpenShift](openshift_install.md)
0 commit comments