Create a pod named pod-httpd
using the httpd
image with the latest
tag. Ensure to specify the tag as httpd:latest
.
Set the app
label to httpd_app
, and name the container as httpd-container
.
Create a pod called pod-httpd
using the httpd
image with the latest
tag, ensuring the tag is specified as httpd:latest
.
Create a yaml file
You can apply this configuration with this command.
To ensure or check the create pods.
#k8s #pods #devops