Skip to content

Commit

Permalink
Fix sree dashboard access issue(ODH-557) (opendatahub-io#507)
Browse files Browse the repository at this point in the history
Signed-off-by: Jooho Lee <[email protected]>
  • Loading branch information
Jooho authored Jan 10, 2022
1 parent 2aeb016 commit 01ad643
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ceph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ To install Ceph Object Storage add the following to the `kfctl` yaml file.
### Additional Info
* When `ceph-nano` is deployed, pods in the namespace can access the object storage using the `ceph-nano-0` service name `http://ceph-nano-0`

* Deployment of `ceph-nano` will create a route to a `ceph-nano-dashboard` that provides a S3 web portal for the in pod object storage.
* For S3 web portal, execute this command and access the portal with `http://localhost:5001`
~~~
oc port-forward pod/ceph-nano-0 5001 8000
~~~
If you hit `ACCESS_DENY`, please clean brower cache and try it again.

* The ACCESS_KEY and SECRET_KEY created for this deployment can be found in `ceph-nano-credentials` secret.
```
Expand Down
3 changes: 3 additions & 0 deletions ceph/object-storage/nano/base/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ spec:
name: ceph-nano
ports:
- containerPort: 8000
- containerPort: 5001
protocol: TCP
resources:
limits:
Expand All @@ -53,6 +54,8 @@ spec:
value: "8000"
- name: SREE_PORT
value: "5001"
- name: EXPOSED_IP
value: "127.0.0.1"
- name: CEPH_DEMO_UID
value: "nano"
# Enable all of the ceph daemons to run
Expand Down

0 comments on commit 01ad643

Please sign in to comment.