Skip to content

Commit c99a342

Browse files
author
Santhosh Kumar Vuda
committed
README fixes
1 parent 96b17a7 commit c99a342

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,19 @@ The following are the list of objects supported at present:
7373

7474
- Logging Analytics Service must be enabled in the given OCI region before trying out the following Solution. Refer [Logging Analytics Quick Start](https://docs.oracle.com/en-us/iaas/logging-analytics/doc/quick-start.html) for details.
7575
- Create a Logging Analytics LogGroup(s) if not have done already. Refer [Create Log Group](https://docs.oracle.com/en-us/iaas/logging-analytics/doc/create-logging-analytics-resources.html#GUID-D1758CFB-861F-420D-B12F-34D1CC5E3E0E).
76-
76+
- Enable access to the log group(s) to uploads logs from Kubernetes environment:
77+
- For InstancePrincipal based AuthZ (recommended for OKE and Kubernetes clusters running on OCI):
78+
- Create a dynamic group including relevant OCI Instances. Refer [this](https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingdynamicgroups.htm) for details about managing dynamic groups.
79+
- Add an IAM policy like,
80+
```
81+
Allow dynamic-group <dynamic_group_name> to {LOG_ANALYTICS_LOG_GROUP_UPLOAD_LOGS} in compartment <Logging Analytics LogGroup's compartment_name>
82+
```
83+
- For Config file based (user principal) AuthZ:
84+
- Add an IAM policy like,
85+
```
86+
Allow group <user_group_name> to {LOG_ANALYTICS_LOG_GROUP_UPLOAD_LOGS} in compartment <Logging Analytics LogGroup's compartment_name>
87+
```
88+
7789
### Docker Image
7890
7991
We are in the process of building a docker image based off Oracle Linux 8 including Fluentd, OCI Logging Analytics Output Plugin and all the required dependencies.
@@ -146,7 +158,7 @@ daemonset.apps/oci-la-fluentd-daemonset created
146158
Use the following command to restart DaemonSet after applying any modifications to configmap or secrets to reflect the changes into the Fluentd.
147159
148160
```
149-
kubectl rollout restart daemonset oci-la-fluentd-daemonset -n=kubectl
161+
kubectl rollout restart daemonset oci-la-fluentd-daemonset -n=kube-system
150162
```
151163
152164
#### To enable Kubernetes Objects collection
@@ -185,7 +197,7 @@ deployment.apps/oci-la-fluentd-deployment created
185197
Use the following command to restart Deployment after applying any modifications to configmap or secrets to reflect the changes into the Fluentd.
186198
187199
```
188-
kubectl rollout restart deployment oci-la-fluentd-deployment -n=kubectl
200+
kubectl rollout restart deployment oci-la-fluentd-deployment -n=kube-system
189201
```
190202
191203
### Deploying Kuberenetes resources using Helm

0 commit comments

Comments
 (0)