Incorrect validation: Deploy Lemp Stack on Kubernetes Cluster

Hello,

I would like to let you know about the fact that the validation of the task
“Deploy Lemp Stack on Kubernetes Cluster”
is incorrect.

Please find details below:
1)
Requirement:
“Create a deployment to deploy nginx and phpfpm , use any nginx image for nginx container”

Actual setup:
nginx:latest and
wordpress:php7.2-fpm images were used

Validation message/error:

webdevops/php-nginx:alpine-3-php7 image is not used

Requirement:
Create a node port type service for nginx deployment which should be named as nginx-service and the nodePort should be 30008 .

Actual setup:
nginx-service was created

Validation error/message:

Service ‘lemp-service’ doesn’t exist

Requirement:
For phpfpm container the database related environment variables should be MYSQL_DATABASE , MYSQL_USER , MYSQL_ROOT_PASSWORD , MYSQL_PASSWORD and MYSQL_HOST , further these should fetch values from the secrets, you created. Configure other spec as per your choice.

Actual setup:
Was performed according to this requirement,
in wp-config.php was used getenv(‘VARIABLENAME’); to apply it inside config, please see exapmle

https://github.com/alexkonkin/k8s-wp/blob/master/files/wp-config.php

Validation message/error:

Mysql database is hardcoded in ‘index.php’
Mysql user is hard coded in ‘index.php’
Mysql password is hard coded in ‘index.php’
Mysql HOST is hard coded in ‘index.php’

Requirement:
The WordPress website should run properly on nginx service nodePort.

Actual setup:
Please see the confirmation screenshots that WordPress was up and running:

[Screenshot by Lightshot](https://WordPress screenshot 1)

[Screenshot by Lightshot](https://WordPress screenshot 2)

Please also find a reference to the GitHub that you could use to review the configuration
that I used to deploy the WordPress solution.

[GitHub - alexkonkin/k8s-wp](https://WordPress kubernetes deployment yml files)

Could you please help to resolve this issue?

Hello,

Second attempt caused the same validation error.

The validation of results for this lab is wrong. Please see the screenshots below:

  1. related to the image
  1. related to the environment variables:
  1. related to the service name: task:

Create a node port type service for nginx deployment which should be named as nginx-service [NGINX-SERVICE]

validation error (lemp-service)

  1. Website is available on the requested port
  1. Values are not hardcoded to the php file

Could you please check this issue?

Best regards,
Alex

@mmumshad @Inderpreet @Tej-Singh-Rana @rahul456

Could you please check what might we wrong with the validation engine for this task?
Thank you.

@rahul456
Hello,

The task [Deploy Lemp Stack on Kubernetes Cluster] is marked as “Expired” for me,
however because of validation error (please see the details above) I can not finish it
to fullfill the validation tests.
Could you please help or advise how to resolve this?

Thank you.

Best regards,
Alex

Hello,

We apologise for the inconvenience. We are aware of this issue and working on to fix the same. It should be fixed soon and you will be assigned these tasks again.

@rahul456

Hello,

Has this task been fixed [Deploy Lemp Stack on Kubernetes Cluster]?
Can you switch it to the non-expired state so that I could retake it?
Thank you.

Best regards,
Alex

hi @alexkonkin, we are working on this issue, we will inform you once its resolved or you will reassigned these tasks.

@rahul456
Could you please provide me with some details regarding this task?
Has the issue been fixed?
If yes, could you please reset this task for me?

Thank you.

@mmumshad @Inderpreet @Tej-Singh-Rana @rahul456

Hello,

Could you please provide me with some details regarding this task?
Has the issue been fixed?
If yes, could you please reset this task for me?

Thank you.

Hello, @alexkonkin
I don’t know about this. Let them comment.

Regards,

Hi @alexkonkin, sorry for delay we are working on to fix these labs, for now this is marked success for you.

Hello @rahul456 and @Inderpreet ,

Thank you for your reply and for your help.

Best regards,
Alex

@Tej-Singh-Rana
I am facing the same issue. please support