WordPress GUI on Kubernetes

I have brought up mysql and wordpress containers on my master-minion single node of the kubernetes cluster (I have created this setup inside my openstack cloud). But when I try to access it on my web, it gives me a “page not found” error.

While listing the endpoints of ther services running, I can use the docker ip to access wordpress through the elinks command.

  • maven plugin for docker (e.g. to run with needed db)
  • Why doesn't a command that works inside a docker container work from outside via docker run?
  • Kong Api's and Plugins are getting removed after kong docker container start and stop
  • How to upgrade docker container after its image changed
  • virsh support for docker
  • docker-compose service and the network
  • $ kubectl get endpoints
    NAME         ENDPOINTS
    $ elinks

    How do I access through my web GUI?

  • How to handle specific hostname like -h option in Dockerfile
  • How to set bash aliases for docker containers in Dockerfile?
  • Does 'docker start' execute the CMD command?
  • how to assign a group of logical Linux interfaces to a Docker container?
  • Electron development on Windows using Docker?
  • How can I Provide Permissions to a PHP Docker Image and Host VOLUME?
  • 2 Solutions collect form web for “WordPress GUI on Kubernetes”

    Please check out the following documentation:

    You need to set up a load balancer to expose your Kubernetes service externally.

    Here is a soup-to-nuts WordPress example with backing persistent storage: https://github.com/openshift/origin/tree/master/examples/wordpress.

    You’ll want to use Cinder volumes, though. Here is the github pull that adds Cinder support to the WordPress example: https://github.com/openshift/origin/pull/4403

    The example is in OpenShift, but OpenShift is based on Kube (Red Hat is a major contributor to Kube). The example works exactly the same, you’ll just substitute the OpenShift client (oc) with the Kube client (kubectl).

    Like Abhishek mentioned, you need a Service. The example above contains services that front MySQL and WordPress.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.