Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
SUBMARINE-688. Improve the document "helm.md"
Browse files Browse the repository at this point in the history
### What is this PR for?
Make the document "submarine/docs/userdocs/k8s/helm.md easier to read.

### What type of PR is it?
[Improvement | Documentation]

### Todos

### What is the Jira issue?
[SUBMARINE-688](https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-688)

### How should this be tested?
[Travis CI](https://travis-ci.org/github/lowc1012/submarine/builds/746529317)

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Ryan Lo <[email protected]>
Author: Wen-Chih Lo <[email protected]>

Closes #465 from lowc1012/SUBMARINE-688 and squashes the following commits:

7b60b71 [Wen-Chih Lo] Update docs/userdocs/k8s/helm.md
eb2d126 [Ryan Lo] SUBMARINE-688. Improve the document "helm.md"
  • Loading branch information
lowc1012 authored and jiwq committed Dec 1, 2020
1 parent f4670ad commit 9b669b8
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions docs/userdocs/k8s/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,19 @@ for more details if you want to customize the default value for Traefik.
http://127.0.0.1:32080
```
Or you can use port-forward to forward a local port to a port on the
submarine server pod.
*Notice:*
If you use `kind` to run local Kubernetes cluster,
please refer to this [docs](https://kind.sigs.k8s.io/docs/user/configuration/#extra-port-mappings)
and set the configuration "extraPortMappings" when creating the k8s cluster.
```bash
# Use port-forward
kubectl port-forward svc/submarine-server 8080:8080
# In another terminal. Run below command to verify it works
curl http://127.0.0.1:8080/api/v1/experiment/ping
{"status":"OK","code":200,"success":true,"message":null,"result":"Pong","attributes":{}}
```
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
extraPortMappings:
- containerPort: 32080
hostPort: [the port you want to access]
```
### Uninstall Submarine
Expand Down

0 comments on commit 9b669b8

Please sign in to comment.