Hello,
I am in the process of migrating a kubernetes cluster from Google to AWS. My environment is stable and working with all services using let's encrypt certificates with nginx and cert-manager.
I use helm to deploy my apps and the problem I am facing is: how can I deploy my apps on my new kubernetes environment while the IP addresses are not yet pointing to this new environment? My issuer is the following:
apiVersion: cert-manager.io/v1alpha2
kind: Issuer
metadata:
name: my-issuer
namespace: ns
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: dev@domain.com
privateKeySecretRef:
name: my-issuer
solvers:
- selector: {}
http01:
ingress:
class: nginx
If I try to deploy the ingress on the new environment with the address (which is currently pointing to the old environment), it will fail. How can I have both environment working in parallel with only one server pointed by the address? The idea is to be able to easily migrate when the new environment is set up by changing the DNS.
What is the best practice for that? I couldn't find any documentation/tuto about that.
Any help is appreciated