# Infrastructure

Pulumi based infrastructure for the Media Magic platform.

Infrastructure features are generally grouped as 'modules', in the modules package.

## Service

Contains a few generic abstractions around our Kubernetes services. Sets up a deployment, service, and any additional container metadata, such as environment variables. There are several ways to override some of the default values. Check the Option functions.

## Ingress

Ingress contains an abstraction on top of a Kubernetes Ingress. It exposes a way of registering routes, this can be seen in the `main.go` file.

## Modules

Contains factory methods for several of the infrastructure concepts, such as certain services, UI's and ingress rules. The


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mediamagic.dev/product-docs/infrastructure/foundations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
