Giter Site home page Giter Site logo

Comments (7)

davewalter avatar davewalter commented on September 13, 2024 1

Closing due to inactivity.

from cf-deployment-concourse-tasks.

cf-gitbot avatar cf-gitbot commented on September 13, 2024

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/151900699

The labels on this github issue will be updated when the story is started.

from cf-deployment-concourse-tasks.

dsabeti avatar dsabeti commented on September 13, 2024

Hi @JohannaSmith.

This is something we thought about trying to support, but decided there were too many variations of DNS support to manage this generically. For example, which tool you use -- gcloud or aws CLI -- depends on which IaaS you're targeting. DNS setups get even more snowflaky than that. Most teams use some mixture of Route53 and Google DNS, but other teams like CAPI just got new domains altogether. With all of this complication, we decided not to tackle this problem.

When you bbl destroy && bbl up, and a new managed zone gets created with different name servers, where do you need to update the record set? A different GCP managed zone, Route 53, etc?

from cf-deployment-concourse-tasks.

johannaratliff avatar johannaratliff commented on September 13, 2024

@dsabeti Yes, a different GCP managed zone Y that referenced the first managed zone X (before it was destroyed) is now out of date with a record set that points to a no longer existing managed zone X. The scope of this issue is only using GCP as our IAAS with no separate DNS considerations.

from cf-deployment-concourse-tasks.

rosenhouse avatar rosenhouse commented on September 13, 2024

On routing, we have a DNS zone routing.cf-app.com. We are in the process of consolidation so that:

  1. all environments are in the same GCP project
  2. our environment DNS is a child of the team DNS, e.g. batman.routing.cf-app.com

With these simplifying assumptions, we're planning to just do some bbl plan-patch magic to make it work.

from cf-deployment-concourse-tasks.

dsabeti avatar dsabeti commented on September 13, 2024

@rosenhouse, my tentative plan for addressing this is to create a new task for setting up DNS (so as not to break the interface for bbl-up), with the requirement that DNS be managed primarily by GCP (more specifically, our task will not try to modify anything in Route53).

from cf-deployment-concourse-tasks.

rosenhouse avatar rosenhouse commented on September 13, 2024

that makes sense, although when I think about the lifecycle of the DNS pointer (from parent to new child zone) it has exactly the same lifecycle as the bbl'ed environment itself. So keeping them together might simplify state management and reduce the likelihood of orphans. cc @evanfarrar

also, fwiw, here's a concourse task I threw together today to get this done quick. It runs immediately before the bbl-up task, dropping a new file in the bbl-state dir.

from cf-deployment-concourse-tasks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.