Skip to content

Commit e950dde

Browse files
OBSDOCS-323 Add Disclaimer
1 parent 0fe4ec0 commit e950dde

File tree

4 files changed

+48
-1
lines changed

4 files changed

+48
-1
lines changed

logging/cluster-logging-loki.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ include::modules/loki-deployment-sizing.adoc[leveloffset=+1]
1414

1515
include::modules/cluster-logging-loki-deploy.adoc[leveloffset=+1]
1616

17+
include::modules/logging-creating-new-group-cluster-admin-user-role.adoc[leveloffset=+1]
18+
1719
include::modules/logging-loki-gui-install.adoc[leveloffset=+1]
1820

1921
include::modules/logging-loki-cli-install.adoc[leveloffset=+1]

modules/cluster-logging-loki-deploy.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ endif::[]
142142
.. Under Console plugin, click *Disabled*.
143143
.. Select *Enable* and then *Save*. This change restarts the `openshift-console` pods.
144144
.. After the pods restart, you will receive a notification that a web console update is available, prompting you to refresh.
145-
.. After refreshing the web console, click *Observe* from the left main menu. A new option for *Logs* is available.
145+
.. After refreshing the web console, click *Observe* from the left main menu. A new option for *Logs* is available.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// Module included in the following assemblies:
2+
3+
// cluster-logging-loki.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="logging-creating-new-group-cluster-admin-user-role_{context}"]
7+
= Creating a new group for the cluster-admin user role
8+
9+
include::snippets/logging-clusteradmin-access-logs-snip.adoc[]
10+
11+
Use the following procedure to create a new group for users with `cluster-admin` permissions.
12+
13+
.Procedure
14+
15+
. Enter the following command to create a new group:
16+
+
17+
[source,terminal]
18+
----
19+
$ oc adm groups new cluster-admin
20+
----
21+
. Enter the following command to add the desired user to the `cluster-admin` group:
22+
+
23+
[source,terminal]
24+
----
25+
$ oc adm groups add-users cluster-admin <username>
26+
----
27+
. Enter the following command to add `cluster-admin` user role to the group:
28+
+
29+
[source,terminal]
30+
----
31+
$ oc adm policy add-cluster-role-to-group cluster-admin cluster-admin
32+
----
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Text snippet included in the following assemblies:
2+
//
3+
//
4+
// Text snippet included in the following modules:
5+
//
6+
// * modules/logging-creating-new-group-cluster-admin-user-role.adoc
7+
//
8+
:_mod-docs-content-type: SNIPPET
9+
10+
[IMPORTANT]
11+
====
12+
Querying application logs for multiple namespaces as a `cluster-admin` user, where the sum total of characters of all of the namespaces in the cluster is greater than 5120, results in the error `Parse error: input size too long (XXXX > 5120)`. For better control over access to logs in LokiStack, make the `cluster-admin` user a member of the `cluster-admin` group. If the `cluster-admin` group does not exist, create it and add the desired users to it.
13+
====

0 commit comments

Comments
 (0)