Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 196 Bytes

101_crate_httpd_pod_and_service.md

File metadata and controls

7 lines (4 loc) · 196 Bytes

TASK: create a "web server" deployment from httpd image and the create a service from it

ANSWER

kubectl create deployment foo --image=httpd --port=80

kubectl expose deployment foo