https://github.com/devkyt/fs-helm-chart
Helm Chart for basic files storage applicaton
https://github.com/devkyt/fs-helm-chart
helm kubernetes python
Last synced: about 1 year ago
JSON representation
Helm Chart for basic files storage applicaton
- Host: GitHub
- URL: https://github.com/devkyt/fs-helm-chart
- Owner: devkyt
- Created: 2025-02-01T11:59:12.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-01T12:01:45.000Z (about 1 year ago)
- Last Synced: 2025-02-01T13:21:32.919Z (about 1 year ago)
- Topics: helm, kubernetes, python
- Language: Smarty
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What to do with it
In case of any changes to Helm Chart ensure it is still valid and ready to go:
```shell
helm lint .
helm template .
helm install --dry-run fs-app .
```
Deploy app to cluster:
```shell
helm upgrade --install fs-app . --namespace fs --create-namespace
```
Upgrade app:
```
helm upgrade fs-app . --namespace fs
```
Delete app from cluster:
```
helm uninstall fs-app --namespace fs
```
## How to Test
Map to the service port:
```shell
kubectl port-forward -n fs svc/fs-app-svc 8080:8081
```
Upload file:
```shell
curl -iX POST -F "file=@README.md" http://localhost:8080/upload
```
Download file:
```shell
# with curl
curl -iX GET http://localhost:8080/uploads/README.md --output Uploaded.md
# or just open in browser
http://localhost:8080/uploads/README.md
```