https://github.com/julianfbeck/k8s-in-notion
example project to use Kubernetes in Notion
https://github.com/julianfbeck/k8s-in-notion
Last synced: about 1 month ago
JSON representation
example project to use Kubernetes in Notion
- Host: GitHub
- URL: https://github.com/julianfbeck/k8s-in-notion
- Owner: julianfbeck
- Created: 2022-11-19T10:17:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-28T17:00:14.000Z (over 2 years ago)
- Last Synced: 2025-04-23T08:08:20.262Z (about 1 month ago)
- Language: Go
- Size: 327 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# k8s-in-notion
> 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
```