Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
bgrant0607's profile
Brian Grant
Brian Grant
Brian Grant
@bgrant0607

Tweets

Brian Grant

@bgrant0607

Google Cloud. Kubernetes Steering Committee emeritus, K8s SIG Architecture co-Chair emeritus, CNCF TOC member emeritus

Google
github.com/bgrant0607
Joined June 2014

Tweets

  • © 2020 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Imprint
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. Brian Grant‏ @bgrant0607 1 May 2019
      • Report Tweet
      • Report NetzDG Violation

      Kubernetes Borg/Omega history topic 8: Declarative configuration and Apply. Inside Google, the most used configuration approach for Borg is the Turing-complete Borg Configuration Language (BCL). You can see a snippet of BCL on slide 7 in this deck: http://www.inf.ed.ac.uk/teaching/courses/exc/slides/Wilkes.pdf …

      7 replies 74 retweets 255 likes
      Show this thread
    2. Brian Grant‏ @bgrant0607 1 May 2019
      • Report Tweet
      • Report NetzDG Violation

      Millions of lines of BCL have been written. A fair amount of BCL was devoted to configuring application command-line flags, which was the most common way to figure server binaries, which is crazy IMO, but the practice sadly carried over to Kubernetes components

      1 reply 1 retweet 4 likes
      Show this thread
    3. Brian Grant‏ @bgrant0607 1 May 2019
      • Report Tweet
      • Report NetzDG Violation

      BCL was evaluated and instantiated using the borgcfg CLI, which supports commands like up, down, and update. Logic to diff and merge, perform rolling updates, and otherwise update the live state was embedded in the tool. Logic for common generation functions was written in BCL

      1 reply 1 retweet 2 likes
      Show this thread
    4. Brian Grant‏ @bgrant0607 1 May 2019
      • Report Tweet
      • Report NetzDG Violation

      This created a monolithic configuration and tool ecosystem. Even frameworks like mapreduce and services on top of Borg like BorgCron had to use BCL and borgcfg to interact with Borg. Getting-started tools generated BCL

      1 reply 1 retweet 2 likes
      Show this thread
    5. Brian Grant‏ @bgrant0607 1 May 2019
      • Report Tweet
      • Report NetzDG Violation

      A Python-based language was later developed, also. It interfaced with the update logic via a protobuf that wasn't quite the same as Borgmaster's. Other languages, such as Ruby, weren't used in Google. Several new Borg config languages were developed, but none were approved

      1 reply 1 retweet 2 likes
      Show this thread
      Brian Grant‏ @bgrant0607 1 May 2019
      • Report Tweet
      • Report NetzDG Violation

      Not specifically developed for Borg use, https://jsonnet.org/articles/design.html … and https://github.com/cuelang/cue/  were inspired by BCL. http://aurora.apache.org/documentation/latest/reference/configuration-templating/ … and https://github.com/stripe/skycfg  were inspired by the Python language.

      9:11 AM - 1 May 2019
      • 2 Retweets
      • 7 Likes
      • M Carmen H. Andoh ᴊᴀᴍᴇꜱ ᴊᴜꜱᴛ ᴊᴀᴍᴇꜱ Zameer Manji Greg Leclercq « Joshua Suggs » chanezon Mark to Markov Chain William Zhang 👨‍💻
      3 replies 2 retweets 7 likes
        1. New conversation
        2. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          Borgcfg didn't provide configuration packages. Shared templates were unversioned and directly imported from their homes in the monorepo, which inflicted churn on their consumers. There were also no "stacks" or lifecycle directives, so a number of imperative updates were needed

          3 replies 1 retweet 1 like
          Show this thread
        3. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          In Kubernetes, we wanted to decouple configuration authoring and generation from updates to the desired state via the API, so that users could express configuration using languages and tools familiar to them: Jinja, Python, Ruby, Javascript, Terraform, Ansible, whatever

          1 reply 6 retweets 18 likes
          Show this thread
        4. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          I wrote about this in http://prs.k8s.io/1007 . I also felt it needed to be possible for automation to write directly to the API and not need to update some arbitrary configuration language. To do that, we needed to be able to merge user intent and automated changes

          1 reply 2 retweets 6 likes
          Show this thread
        5. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          My initial proposal, in http://issues.k8s.io/1178 , was to maintain and merge 2 separate layers of desired state in the server. Resistance to that idea led to my client-side Apply proposal in http://issues.k8s.io/1702 . We're finally getting server-side apply:https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/0006-apply.md …

          1 reply 2 retweets 8 likes
          Show this thread
        6. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          A gotcha we ran into early in the Apply implementation was complex schema topology. Merging 2 flat maps is easy, but we unfortunately had associative lists: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#lists-of-named-subobjects-preferred-over-maps …. And also sets and undiscriminated unions (being addressed: https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/20190325-unions.md …).

          1 reply 0 retweets 5 likes
          Show this thread
        7. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          Strategic merge patch was developed so that we could diff and merge two objects containing associative lists (non-ordinal lists with index keys in values of fields within list elements): https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/strategic-merge-patch.md …

          2 replies 0 retweets 3 likes
          Show this thread
        8. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          I wrote an overview of the motivation and principles for the configuration design in https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/declarative-application-management.md …. The original draft of that also contained sketches of what became https://github.com/kubernetes-sigs/application … andhttps://github.com/kubernetes-sigs/kustomize …

          2 replies 2 retweets 10 likes
          Show this thread
        9. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          Whereas Apply facilitates collaborative config authoring between humans and machines (thanks to @originalavalamp for that description), kustomize enables collaboration among humans, by facilitating modification of unchanged base prototype/seed configurations.

          1 reply 1 retweet 6 likes
          Show this thread
        10. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          The declarative API, Apply, and kustomize facilitate maintaining configuration as YAML or JSON or proto, amenable to manipulation by tools, rather than as YAML marked up with macros, complex configuration languages, or scripts written in general-purpose programming language.

          2 replies 1 retweet 3 likes
          Show this thread
        11. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          On one hand, the ~100 tools that have been developed show that the decoupling of config format and the API has worked. OTOH, it shows there are still gaps. With work like diff and dry run (https://github.com/kubernetes/enhancements/pull/893 …) and prune (https://github.com/kubernetes/enhancements/pull/810 …), we're working to close them

          1 reply 1 retweet 8 likes
          Show this thread
        12. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          A list of tools can be found here: https://docs.google.com/spreadsheets/d/1FCgqz1Ci7_VCz_wdh8vBitZ3giBtac_H8SBw4uxnrsE/edit#gid=0 …. I just added another 20 or so that I've seen.

          1 reply 0 retweets 17 likes
          Show this thread
        13. Brian Grant‏ @bgrant0607 1 May 2019
          • Report Tweet
          • Report NetzDG Violation

          This thread is already the longest yet, so I'll start another later with configuration terminology: declarative vs intent, macros vs config languages, packages vs stacks, prototypes vs templates, whitebox vs blackbox, overlays, lifecycle directives, etc.

          3 replies 0 retweets 21 likes
          Show this thread
        14. End of conversation

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2020 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Imprint
        • Cookies
        • Ads info