Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Update expose command for kubectl cli #16

Merged
rizchelwood merged 2 commits into IBM:master from mofsal:patch-1
Dec 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ kubectl get pods
Expose the app to the web by setting the port. Run the command:

```
$ kubectl expose deployment/deploy-react-kubernetes-deployment
—-type=NodePort —-name=deploy-react-kubernetes-service —-port=3000
$ kubectl expose deployment/deploy-react-kubernetes-deployment —-port=3000 —-type=NodePort
```

* To access your application. You would need the public IP address of your cluster and NodePort of the service.
Expand Down

AltStyle によって変換されたページ (->オリジナル) /