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 22 Mar 2019
      • Report Tweet
      • Report NetzDG Violation

      Kubernetes Borg/Omega history topic 4: Workload controllers. Before I get into the history, some conceptual background may be useful, since the underpinnings come up in many Cloud Native contexts. The key is to explicitly model state such that it can be externally manipulated.

      3 replies 23 retweets 64 likes
      Show this thread
    2. Brian Grant‏ @bgrant0607 22 Mar 2019
      • Report Tweet
      • Report NetzDG Violation

      Around the time Kubernetes was open sourced, there were a number of libraries and tools created to start containers on multiple machines. The original libswarm was one. The problem with such imperative, client-side approaches was that it was hard to add automation.

      1 reply 0 retweets 2 likes
      Show this thread
    3. Brian Grant‏ @bgrant0607 22 Mar 2019
      • Report Tweet
      • Report NetzDG Violation

      One could inject a scheduler in between, by emulating a single machine's remote API, but that would still lack an explicit model of what the user was trying to instantiate, the equivalent of the Pod template in Kubernetes.

      1 reply 1 retweet 1 like
      Show this thread
    4. Brian Grant‏ @bgrant0607 22 Mar 2019
      • Report Tweet
      • Report NetzDG Violation

      That was added by some other tools, but the lack of also modeling the set of instances, with an explicit replica count, was an obstacle to higher-level automation, such as horizontal autoscaling and progressive rolling updates, both of which Kubernetes added in 1.1 and 1.2.

      1 reply 0 retweets 1 like
      Show this thread
      Brian Grant‏ @bgrant0607 22 Mar 2019
      • Report Tweet
      • Report NetzDG Violation

      Kubernetes originally just supported one workload controller, the ReplicationController, which was designed for elastic stateless workloads with fungible replicas. Shortly after we open-sourced Kubernetes we started to discuss how to add support for additional kinds of workloads

      9:05 AM - 22 Mar 2019
      • 2 Likes
      • Rimas Mocevicius
      1 reply 0 retweets 2 likes
        1. New conversation
        2. Brian Grant‏ @bgrant0607 22 Mar 2019
          • Report Tweet
          • Report NetzDG Violation

          In http://issues.k8s.io/1518 , we started to discuss what became DaemonSet. The key decision was whether to add more functionality to ReplicationController or to create new resource types. Users of other systems were concerned about the complexity of using multiple types

          1 reply 0 retweets 2 likes
          Show this thread
        3. Brian Grant‏ @bgrant0607 22 Mar 2019
          • Report Tweet
          • Report NetzDG Violation

          Borg had supported just one workload "controller", the Job. (I'll address the differences between Borg's synchronous state machine and the Kubernetes async controllers later.) It's described well by the Borg paper:https://ai.google/research/pubs/pub43438 …

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

          Job, an array of Tasks, is used for elastic services, agents that ran on every node, batch workloads, and stateful workloads. Consequently, it has a large number of settings, and additional, external controllers are needed in order to support these different workloads.

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

          For instance, for the daemon use case, a special controller / autoscaler is needed to ensure that the Job has a sufficient number of Tasks to cover all the machines, and cases where machines are removed from the middle of the array require special handling.

          1 reply 0 retweets 0 likes
          Show this thread
        6. Brian Grant‏ @bgrant0607 22 Mar 2019
          • Report Tweet
          • Report NetzDG Violation

          And not only is Job is the first-class primitive rather than Tasks, but each Task has a stable identity, as with StatefulSet in Kubernetes. That overly constraining not just for daemons, but also for autoscaled workloads, CI workloads, graceful termination, debugging, etc.

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

          Job also includes published BNS records for tasks, which is the rough equivalent of Endpoints in Kubernetes. BNS records are stored in Chubby, where they can be watched. (I'll cover watch in K8s more generally later.)

          1 reply 0 retweets 0 likes
          Show this thread
        8. Brian Grant‏ @bgrant0607 22 Mar 2019
          • Report Tweet
          • Report NetzDG Violation

          The decoupling of Pod, workload controllers, and Endpoints, and a precedent for multiple workload controllers in Kubernetes has proven very flexible, for supporting many, many types of workloads. There are now many application-specific workload controllers (aka Operators).

          1 reply 0 retweets 1 like
          Show this thread
        9. Brian Grant‏ @bgrant0607 22 Mar 2019
          • Report Tweet
          • Report NetzDG Violation

          Explicitly representing the PodTemplate as a separate object, as proposed in http://issues.k8s.io/170 , may also have been useful for these third-party controllers, but in practice the lack of support for that hasn't been a huge obstacle. (Well, the API exists, but is unused.)

          1 reply 0 retweets 0 likes
          Show this thread
        10. Brian Grant‏ @bgrant0607 22 Mar 2019
          • Report Tweet
          • Report NetzDG Violation

          I proposed the idea of modeling workload controllers as loosely coupled sets of instances grouped using a label selector in June 2013, based on an 11-page analysis of Borg Job use cases, around the same timeframe as the original labels proposal.

          1 reply 0 retweets 2 likes
          Show this thread
        11. Brian Grant‏ @bgrant0607 22 Mar 2019
          • Report Tweet
          • Report NetzDG Violation

          That partly inspired http://replicapool.googleapis.com  also, though the lack of labels in GCE at the time made implementing the full model infeasible.

          1 reply 0 retweets 2 likes
          Show this thread
        12. Brian Grant‏ @bgrant0607 22 Mar 2019
          • Report Tweet
          • Report NetzDG Violation

          Aside on "template": a "template" is a pattern used to make copies of the same shape. I think the Kubernetes "Pod template" usage is true to that colloquial definition, but typical CS usage implies parameterization and/or macro expansion, so maybe "prototype" would be better

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

          The idea of explicitly modeling state so that it can be externally controlled and observed is a key principle of Cloud Native. I originally included it in a longer form of the definition I wrote for CNCF: https://github.com/cncf/toc/blob/master/DEFINITION.md …

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

          The principle can also be applied to workflow systems and configuration management (e.g., see https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/declarative-application-management.md …). Embodying these as code is powerful, but with great power comes great responsibility, since it obstructs external tooling and automation

          1 reply 0 retweets 3 likes
          Show this thread
        15. 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