-
Notifications
You must be signed in to change notification settings - Fork 39.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a Deployment example for kubectl expose. #23222
Add a Deployment example for kubectl expose. #23222
Conversation
Labelling this PR as size/XS |
GCE e2e build/test failed for commit 749382e74435185e8a3e7c76cf180dc9ef9c834d. Please reference the list of currently known flakes when examining this failure. If you request a re-test, you must reference the issue describing the flake. |
749382e
to
67b70d7
Compare
@@ -72,6 +72,9 @@ kubectl expose rc streamer --port=4100 --protocol=udp --name=video-stream | |||
|
|||
# Create a service for a replicated nginx using replica set, which serves on port 80 and connects to the containers on port 8000. | |||
kubectl expose rs nginx --port=80 --target-port=8000 | |||
|
|||
# Create a service for an nginx deployment, which serves on port 80 and connects to the containers on port 8000. | |||
kubectl expose deployment nginx --port=80 --target-port=8000 | |||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@johndmulhausen @bgrant0607 What's the process to copy these changes to the docs repo?
GCE e2e build/test passed for commit 67b70d7. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 67b70d7. |
Automatic merge from submit-queue |
…-example Auto commit by PR queue bot
Not critical enough to cherrypick. |
Will think about cherrypick a bit more, since a user reported this as confusing. #23231 |
…deployment-example Auto commit by PR queue bot (cherry picked from commit 2c5903a)
Commit ffa1aa3 found in the "release-1.2" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this s an error find help to get your PR picked. |
…deployment-example Auto commit by PR queue bot (cherry picked from commit 2c5903a)
…deployment-example Auto commit by PR queue bot (cherry picked from commit 2c5903a)
…deployment-example Auto commit by PR queue bot (cherry picked from commit 2c5903a)
…deployment-example Auto commit by PR queue bot (cherry picked from commit 2c5903a)
cc @bgrant0607