Httpd Deploy in Kubernetes

From NovaOrdis Knowledge Base
Revision as of 18:26, 15 December 2019 by Ovidiu (talk | contribs) (→‎Procedure)
Jump to navigation Jump to search

Internal

Overview

This is a procedure to deploy httpd as a pod in Kubernetes and make it serve content form a local directory, mounted as "hostPath". The procedure was written using Docker Desktop Kubernetes.

Playground

Procedure

Local Directory

Create a local directory that will host the content to be served by httpd.

<syntaxhighlight lang='yaml'>

Pod and Service Manifest

hostPath