Skip to content
Snippets Groups Projects
Commit d46938e7 authored by Luqman Rizal's avatar Luqman Rizal
Browse files

Update README minkube instructions

* add detailed `kubectl get pod` instruction
* add missing `db` persistence default values
* remove deprecated `storage.storage` field
parent c2ca4251
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ helm install demo -f values.example.yaml .
The first deployment can take some time to complete (especially auth service). You can view the status of the pods using:
```bash
kubectl get pod
kubectl get pod -l app.kubernetes.io/instance=demo
NAME READY STATUS RESTARTS AGE
demo-supabase-analytics-xxxxxxxxxx-xxxxx 1/1 Running 0 47s
......@@ -43,33 +43,24 @@ demo-supabase-rest-xxxxxxxxxx-xxxxx 1/1 Running 0 47s
demo-supabase-storage-xxxxxxxxxx-xxxxx 1/1 Running 0 47s
```
### Tunnel with Minikube
When the installation will be complete you'll be able to create a tunnel using minikube:
### Access with Minikube
Assuming that you have enabled Minikube ingress addon, note down the Minikube IP address:
```shell
minikube ip
```
Then, add the IP into your `/etc/hosts` file:
```bash
# First, enable the ingress addon in Minikube
minikube addons enable ingress
# Then enable the tunnel (will need sudo credentials because you are opening Port 80/443 on your local machine)
minikube tunnel
# This will redirect request for example.com to the minikube IP
<minikube-ip> example.com
```
If you just use the `value.example.yaml` file, you can access the API or the Studio App using the following endpoints:
- <http://api.localhost>
- <http://studio.localhost>
Open http://example.com in your browser.
### Uninstall
```Bash
# Uninstall Helm chart
helm uninstall demo
# Delete secrets
kubectl delete secret demo-supabase-db
kubectl delete secret demo-supabase-jwt
kubectl delete secret demo-supabase-smtp
```
## Customize
......
......@@ -30,10 +30,6 @@ db:
initialDelaySeconds: 3
persistence:
enabled: false
size: 20Gi
storageClass: standard
annotations:
helm.sh/resource-policy: "keep"
studio:
image:
......
......@@ -120,6 +120,14 @@ db:
# requests:
# cpu: 100m
# memory: 128Mi
persistence:
enabled: true
storageClassName: ""
annotations: {}
size: 8Gi
accessModes:
- ReadWriteOnce
class: ""
autoscaling:
enabled: true
minReplicas: 1
......@@ -598,8 +606,6 @@ storage:
accessModes:
- ReadWriteOnce
class: ""
storage:
mountPath: /var/lib/storage
autoscaling:
enabled: true
minReplicas: 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment