Skip to content

Commit

Permalink
Enabled the REST API for the trident-ephemeral pod
Browse files Browse the repository at this point in the history
  • Loading branch information
kangarlou committed Jun 19, 2017
1 parent 706a616 commit 430ccc0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ Trident exposes a number of command line options. These are as follows:
* `-address <ip-or-host>`: Optional; specifies the address on which Trident's REST
server should listen. Defaults to localhost. When listening on localhost and
running inside a Kubernetes pod, the REST interface will not be directly
accessible from outside the pod. Use '-address ""' to make the REST interface
accessible from outside the pod. Use `-address ""` to make the REST interface
accessible from the pod IP address.
* `-port <port-number>`: Optional; specifies the port on which Trident's REST
server should listen. Defaults to 8000.
Expand Down
4 changes: 2 additions & 2 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions launcher/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func createTridentEphemeralPod(kubeClient k8s_client.Interface) (*v1.Pod, error)
Command: []string{"/usr/local/bin/trident_orchestrator"},
Args: []string{
"-port", fmt.Sprintf("%d", tridentDefaultPort),
"-address", "",
"-no_persistence",
},
Ports: []v1.ContainerPort{
Expand Down

0 comments on commit 430ccc0

Please sign in to comment.