Skip to content

Commit d1e4063

Browse files
author
Chaitanya Kulkarni
authored
Merge pull request #4 from oracle-quickstart/feature/cukulkar/v1.0.3
Management Agent Helm charts
2 parents adf7a1a + 59629b3 commit d1e4063

40 files changed

+1119
-16
lines changed

.github/workflows/build.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: ManagementAgent QuickStart builds
2+
on:
3+
pull_request:
4+
types:
5+
- closed
6+
branches:
7+
- main
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@main
13+
- name: Set tag name
14+
run: echo "tag=${GITHUB_HEAD_REF##*/}" >> $GITHUB_ENV
15+
- name: Package ATP Monitoring
16+
run: |
17+
cd ./atp-monitoring && zip -r ../atp-monitoring.zip . && cd -
18+
- name: Package Helm charts
19+
run: |
20+
cd ./kubernetes-monitoring/mgmtagent_helm && zip -r ../../mgmtagent-helm.zip . && cd -
21+
- name: Create Release
22+
id: create_release
23+
uses: actions/create-release@v1
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
with:
27+
tag_name: ${{ env.tag }}
28+
release_name: Management Agent Quick Start Apps release ${{ env.tag }}
29+
- name: Upload ATP Monitoring Terraform package
30+
uses: actions/upload-release-asset@v1
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
with:
34+
upload_url: ${{ steps.create_release.outputs.upload_url }}
35+
asset_path: ./atp-monitoring.zip
36+
asset_name: atp-monitoring.zip
37+
asset_content_type: application/zip
38+
- name: Upload Helm chart package
39+
uses: actions/upload-release-asset@v1
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
with:
43+
upload_url: ${{ steps.create_release.outputs.upload_url }}
44+
asset_path: ./mgmtagent-helm.zip
45+
asset_name: mgmtagent-helm.zip
46+
asset_content_type: application/zip

README.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,16 @@
55

66
# **OCI Management Agent Quick Start**
77

8-
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle-quickstart/oci-management-agent/archive/refs/tags/v1.0.2.zip)
8+
Management Agent is a service that provides low latency interactive communication and data collection between Oracle Cloud Infrastructure and any other sources.
99

10+
This Github repository is a collection of various quick start applications offered by Management Agent. Each project under this repository has its own individual README.md which describes it in more detail.
1011

11-
## Introduction
12+
At a high level we have following quick start apps:
1213

13-
This stack automates the following:
14+
- [ATP Monitoring](./atp-monitoring/README.md):
1415

15-
* Creating Dynamic group and adding required policies for Management Agent
16-
* Spinning up new Compute Instance
17-
* Enabling Management Agent on the created instance
18-
* Deploying Logging Analytics Plugin on the Management Agent
19-
* Configuration for monitoring Unified DB Audit Logs of ATP Instance
16+
This terraform app for monitoring audit logs from an Autonomous Database for transaction processing (ATP),automates the configuration needed to start processing ATP audit logs for analysis in the OCI Logging Analytics.
2017

21-
## Using this stack
18+
- [Kubernetes Monitoring](./kubernetes-monitoring/mgmtagent_helm/README.md):
2219

23-
1. Click on above Deploy to Oracle Cloud button which will redirect you to OCI console and prompt a dialogue box with further steps on deploying this application.
24-
2. Configure the variables for the infrastructure resources that this stack will create when you run the apply job for this execution plan.
25-
3. This stack contains cloud-init scripts which runs after instance is created (which means terraform has completed). Due to this, it might take some time until you can see agent been registered with Logging Analaytics on UI.
26-
4. Note that this stack assumes that you have already on-boarded your tenancy to Logging Analytics. If you have not already done that please follow [these](https://docs.oracle.com/en-us/iaas/logging-analytics/doc/configure-your-service.html) steps to on-board your tenancy
27-
28-
Note: For more details on Management Agent please refer
29-
https://docs.oracle.com/en-us/iaas/management-agents/index.html
20+
Oracle Management Agent is now available to be deployed as a Docker Container. This helm chart application provides easy deployment way of Management Agent and offers out-of-box monitoring of Kubernetes Cluster.

atp-monitoring/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!--
2+
# Copyright (c) 2022, Oracle and/or its affiliates.
3+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4+
-->
5+
6+
# **OCI Management Agent Quick Start**
7+
8+
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle-quickstart/oci-management-agent/archive/refs/tags/v1.0.2.zip)
9+
10+
11+
## Introduction
12+
13+
This stack automates the following:
14+
15+
* Creating Dynamic group and adding required policies for Management Agent
16+
* Spinning up new Compute Instance
17+
* Enabling Management Agent on the created instance
18+
* Deploying Logging Analytics Plugin on the Management Agent
19+
* Configuration for monitoring Unified DB Audit Logs of ATP Instance
20+
21+
## Using this stack
22+
23+
1. Click on above Deploy to Oracle Cloud button which will redirect you to OCI console and prompt a dialogue box with further steps on deploying this application.
24+
2. Configure the variables for the infrastructure resources that this stack will create when you run the apply job for this execution plan.
25+
3. This stack contains cloud-init scripts which runs after instance is created (which means terraform has completed). Due to this, it might take some time until you can see agent been registered with Logging Analaytics on UI.
26+
4. Note that this stack assumes that you have already on-boarded your tenancy to Logging Analytics. If you have not already done that please follow [these](https://docs.oracle.com/en-us/iaas/logging-analytics/doc/configure-your-service.html) steps to on-board your tenancy
27+
28+
Note: For more details on Management Agent please refer
29+
https://docs.oracle.com/en-us/iaas/management-agents/index.html
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)