Dcycle Blog

Deploying Drupal to Kubernetes >

Setup

This page is part of the Deploying Drupal to Kubernetes series.

Try the following commands to make sure everything is set up:

docker -v
docker-compose -v
kubectl version

The output should look something like this, although the version numbers may differ:

$ docker -v
Docker version 19.03.5, build 633a0ea
$ docker-compose -v
docker-compose version 1.25.4, build 8d51620a
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.3", GitCommit:"f0efb3cb883751c5ffdbe6d515f3cb4fbe7b7acd", GitTreeState:"clean", BuildDate:"2017-11-08T18:39:33Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"darwin/amd64"}

You can ignore errors (if any) related to the kubectl for now, as long as you see version info. If any of these commands are “not found”, make sure you install them before moving on.

Previous knowledge

OK, I know I said “no previous knowledge”. I was bending the truth there a bit: you should be comfortable using the command line and logging into servers via ssh. We will not assume any other knowledge… for now.

This page is part of the Deploying Drupal to Kubernetes series.