I am trying to deploy my node.js service to Kubernetes (Aws EKS) on self hosted gitlab. The service has Dockerfile, and I am able to use the service using docker-compose locally. I haven’t created .gitlab-ci.yml.
I was trying to deploy to production from master branch. But nothing was working. So I deleted the namespace for production on kubernetes using kubectl command manually. I deleted the production environment also in gitlab. But now when I run the pipeline, production job is not running at all, and I am getting this error:
This job failed because the necessary resources were not successfully created.
I can see the namespace is created in the kubernetes. I am very new to all this. Can somebody help me out how to fix this?