Solution: Run an Apache Container
Learn how we can run an apache container.
We'll cover the following...
Running an Apache container
Creating a pod manifest file to run an Apache file is not much different than what we have seen before.
apiVersion: v1 kind: Pod metadata: name: apache spec: containers: - name: apache-container image: httpd
Testing the Solution
Note: Please run the above widget, and wait for the application to load before clicking on the above URL.
In the apache.yaml
file, we’re creating a pod named apache
. We can name it whatever we want. But for this solution, we’re ...
Access this course and 1400+ top-rated courses and projects.