Home
|
Tutorials
|
Articles
|
Videos
|
Products
|
Tools
|
Search
Interviews
|
Open Source
|
Tag Cloud
|
Follow Us
|
Bookmark
|
Contact
In Browser
StumbleUpon
del.icio.us
Google
Google Buzz
reddit
LinkedIn
Facebook
Twitter
Linkedin
E-Mail
Home
Tutorials
Articles
Search Tutorials
Products
Authors
Submit a Tutorial
Report a Bug
Interview FAQ
Subscribe
Container Management
>
Kubernetes
> How to create a Kubernetes Deployment
How to create a Kubernetes Deployment
Author:
Venkata Sudhakar
The below example shows how to create a
Kubernetes Deployment
from commandline.
$ kubectl run http --image=bethecoder/docker-http-server:latest --replicas=1 kubectl run --generator=deployment/apps.v1 is DEPRECATED and will be removed in a future version. Use kubectl run --generator=run-pod/v1 or kubectl create instead. deployment.apps/http created $ $ kubectl get deployments NAME READY UP-TO-DATE AVAILABLE AGE http 1/1 1 1 9s $ $ kubectl get pods NAME READY STATUS RESTARTS AGE http-8d74f97b5-zqqdv 1/1 Running 0 17s
Home
|
Tutorials
|
Random Tutorial
|
Articles
|
Videos
|
Search
|
Google Search
|
Products
|
Student Projects
|
Open Source
Tools
|
Tips And Tricks
|
How to Fix
|
Tag Cloud
|
Share
|
Disclaimer
|
Privacy
|
Contact
|
Login
Send your comments, suggestions or queries regarding this site to
[email protected]
.
Copyright © 2008-2024. All rights reserved.