Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/julianfbeck/k8s-in-notion

example project to use Kubernetes in Notion
https://github.com/julianfbeck/k8s-in-notion

Last synced: 13 days ago
JSON representation

example project to use Kubernetes in Notion

Awesome Lists containing this project

README

        

# k8s-in-notion
![example](https://raw.githubusercontent.com/julianfbeck/k8s-in-notion/main/media/example.gif)

> Custom k8s dashboard in Notion using [Notion API](https://developers.notion.com/)
> Read the [blog post](https://blog.julianbeck.com/posts/kubernetes-dashboard-in-notion/) for more details
This is a POC to show how to create a kubernetes dashboard in Notion using the Notion API and the kubernetes-client to display the current pods inside the cluster.

## Installation
Clone the repository and install the dependencies:
* ko
* kind

## Usage
Replace the `KO_DOCKER_REPO` in the Makefile with your docker repository.
Replace the NOTION_TOKEN and NOTION_PAGE_ID in the `k8s/deployment.yaml` with your Notion token and page id.

Deploy the custom controller to your notion page:
```bash
# Create a kind cluster
make cluster
# Deploy the controller
make deploy
```