Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/himenon/kubernetes-template
Kubernetes Template: Generated By TypeScript
https://github.com/himenon/kubernetes-template
generator helm kubernetes manifest typescript yaml
Last synced: 24 days ago
JSON representation
Kubernetes Template: Generated By TypeScript
- Host: GitHub
- URL: https://github.com/himenon/kubernetes-template
- Owner: Himenon
- License: mit
- Created: 2022-05-17T10:45:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-17T10:50:43.000Z (over 2 years ago)
- Last Synced: 2024-11-05T22:46:19.425Z (2 months ago)
- Topics: generator, helm, kubernetes, manifest, typescript, yaml
- Language: TypeScript
- Homepage:
- Size: 152 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kubernetes Template
## Setup
```bash
# Install Package Manager
npm i [email protected]# Install node_modules
pnpm i
```## Build
```bash
pnpm run build
# Generate Manifest (output: overlays/*)
# Generate Report (output: report/*)
```## Test
```bash
pnpm run test
```## Manifest Generate Architecture
![Architecture Diagram](./architecture.png)
## Demo
1. Setup Your Kubernetes
- Use [Docker Desktop](https://docs.docker.com/desktop/kubernetes/)
2. Istio Setup
- https://istio.io/latest/docs/setup/getting-started/
- `istioctl install --set profile=demo -y`
- https://istio.io/latest/docs/setup/install/operator
- `istioctl operator init --watchedNamespaces=demo`
3. Argo Rollouts Setup
- https://argoproj.github.io/argo-rollouts/installation/```bash
$ kubectl create ns demo
$ kubectl apply -k ./overlays/dev/
```Write the following in `/etc/hosts`
```
127.0.0.1 pc.localhost.com
127.0.0.1 sp.localhost.com
```**Access**
```bash
http://pc.localhost.com:30000
http://sp.localhost.com:30000
```**Clean Up**
```bash
$ kubectl delete -k ./overlays/dev/
$ kubectl delete ns demo
```## LICENSE
MIT [@Himenon](https://github.com/Himenon)