Skip to content

Commit

Permalink
chore: build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Jul 9, 2024
1 parent 74d3d0c commit bed5468
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 169 deletions.
112 changes: 0 additions & 112 deletions mission-control/docs/installation/_helm_install.mdx

This file was deleted.

13 changes: 1 addition & 12 deletions mission-control/docs/installation/saas/eks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ slug: installation/eks

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import HelmInstall from '../_helm_install.mdx'
import AwsIam from "../_aws_iam.mdx"
import Helm from "@site/src/components/Helm"

Expand All @@ -28,16 +27,6 @@ To install and run Mission Control you need to have the following prerequisites:
}}/>





<Step step={4} name="Install Mission Control with Helm">
<HelmInstall/>

</Step>


<Step step={5} name="Next Steps">
## Next Steps

Install the [AWS](/registry/aws) registry chart to configure the AWS Scraper
</Step>
46 changes: 1 addition & 45 deletions mission-control/docs/installation/self-hosted/eks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ title: AWS EKS
import AwsIam from "../_aws_iam.mdx"
import Helm from "@site/src/components/Helm"
import AdminPassword from '@site/docs/partials/_admin-password.mdx'
import HelmInstall from '../_helm_install.mdx'

# Self Hosted Installation on AWS EKS

Expand All @@ -23,50 +22,7 @@ To install and run Mission Control you need to have the following prerequisites:
}}/>


<Step step={2} name="Install Helm Charts">

<HelmInstall/>



</Step>




<div id="cost-reporting"/>
<Step step={4} name="Cost & Usage Reporting">


Mission Control can read the cost and usage reports stored in the S3 bucket and map it to the resources it discovers in your AWS environment. To achieve this,
1. Setup [Cost and Usage Reports](https://docs.aws.amazon.com/cur/latest/userguide/what-is-cur.html) and integrate it with [Athena](https://docs.aws.amazon.com/cur/latest/userguide/use-athena-cf.html)

2. Modify the config db IAM role used by the config scraper above to give Mission Control the permissions to read the cost reports. Attach a Customer managed policy to the role with [this json policy document](https://github.com/flanksource/docs/blob/main/mission-control/docs/installation/resources/iam-policy.json)

3. We also need to allow athena query executions

Sample IAM Policy required for cost reporting:
```json title=athena-policy.json
{
"Effect": "Allow",
"Action": [
"athena:GetQueryExecution",
"athena:GetQueryResults",
"athena:StartQueryExecution"
],
"Resource": "arn:aws:athena:eu-west-1:765618022540:workgroup/primary"
},

```



- Upgrade the helm chart to apply the changes


</Step>

<Step step={5} name="Next Steps">
## Next Steps

Install the [AWS](/registry/aws) registry chart to configure the AWS Scraper
</Step>
9 changes: 9 additions & 0 deletions mission-control/docs/reference/helm/agent.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Mission Control Agent
---


import Properties from '@site/docs/installation/_properties.mdx'


<Properties section="agent"/>
3 changes: 3 additions & 0 deletions mission-control/docs/reference/helm/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Helm
---
59 changes: 59 additions & 0 deletions mission-control/docs/reference/helm/mission-control.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
title: Mission Control
---
import Properties from '@site/docs/installation/_properties.mdx'



export const toc = [
{
value: "Mission Control",
id: "mission-control",
level: 2,
},
{
value: "Canary Checker",
id: "canary-checker",
level: 3,
},
{
value: "Config DB",
id: "config-db",
level: 3,
},
{
value: "Authentication",
id: "authentication",
level: 2,
},

{
value: "Ingress",
id: "ingress",
level:2,
},
{
value: "Database",
id: "database",
level: 2,
},
{
value: "Custom postgres.conf",
id: "updating-postgresconf-settings",
level: 3,
},
{
value: "Using an External DB",
id: "using-an-external-database",
level: 3,
},





]

## Mission Control

<Properties/>

0 comments on commit bed5468

Please sign in to comment.