diff --git a/README.md b/README.md index 0825c93..ba4d240 100644 --- a/README.md +++ b/README.md @@ -61,9 +61,21 @@ kubectl apply --context kind-dnet-data-platform -f ./clusters/local/nginx-kind-d ```console terraform init ```` +- Build and add the Docker image of Spark-Operator: + + ```console + cd docker-images/spark-operator + docker build -t spark-operator:2.0.2 . && kind load docker-image -n dnet-data-platform spark-operator:2.0.2 + ``` + + ```console + cd docker-images/spark-image + docker build -t dnet-spark:1.0.0 . && kind load docker-image -n dnet-data-platform dnet-spark:1.0.0 + ``` + - Create the cluster: ```console terraform apply -var-file="local.tfvars" ``` - + diff --git a/spark-image/Dockerfile b/docker-images/spark-image/Dockerfile similarity index 100% rename from spark-image/Dockerfile rename to docker-images/spark-image/Dockerfile