Create a pod named httpd-pod
with a container named httpd-container
.
Use the httpd
image with the latest
tag (httpd:latest
).
Set resource requests:
Memory: 15Mi
CPU: 100m
Set resource limits:
Memory: 20Mi
CPU: 100m
Create a manifest yaml file, httpd-pod.yaml
As I prefer EOF,
Apply the manifest file
pod/httpd-pod
created. Now, Verify the Pod.
Then, check the resources on given pod
#k8s #kubernetes #devops #pods #limitation #happylearning