We had one k8s cluster (cluster-1
) defined in GL pipeline. Then I added another one (cluster-2
- still using deprecated way: Deploy to a Kubernetes cluster with cluster certificates
).
Then I triggered pipeline and got this:
This job is deployed to [cluster-2](https://..../..../..../-/environments/129) using
cluster [cluster-1](https://.../.../.../-/clusters/19) and namespace namespace-1.
So it is being deployed to the cluster-1
and not to cluster-2
(where I want it to be deployed).
In the piepline I have the following settings for this job:
environment:
name: cluster-2
url: https://............
but it doesn’t help.
How do I point the deployment to the cluster-2
?