Skip to main content

Deploy WordPress with Kubernetes

  • create kind cluster
  • create namespace wordpress
  • create deployment and service for wordpress
  • configure extraPortMappings in kind-config.yaml

extraPortMappings with clusterip does not expose the service. Earlier, gateway API was exposing the ClusterIP but we no longer have that in our cluster.

We can use NodePort or configure a load balancer, then the port mappings in kind configuration would work.


Another dumb thing was telescope neovim. On double leader, it searches in cwd, so the cwd config wasn't the one I edited. This resulted in hours wasted. THANKS!