Skip to content
Snippets Groups Projects
  1. Dec 13, 2017
  2. Nov 15, 2017
    • Jessica Yuen's avatar
      Normalize environment server URL · c188bc9b
      Jessica Yuen authored
      As part of the environments feature, we want to be able to deploy to a
      specific cluster given the environment's URI. We cross-check against
      kubecfg for this URI's location. For fail-safe comparison, we probably
      want to normalize these URIs.
      c188bc9b
  3. Nov 13, 2017
    • Jessica Yuen's avatar
      Fix bug for duplicate environment params · 911fab4f
      Jessica Yuen authored
      A bug existed where if `param set` was called for the same param twice,
      a duplicate entry was created for the component. This only occured where
      the component name contained a special character.
      911fab4f
  4. Nov 10, 2017
    • Alex Clemmer's avatar
      :nail_care: Add row-padding string pretty printer · 9c2d0a2d
      Alex Clemmer authored
      Historically, every time we've needed to write out something tabular,
      we've hand-rolled an ad hoc padded row writer. Yes, in each case. Such
      is #startuplife.
      
      The third time we did this we wrote this with bugs, and so now we are
      rewriting it in a general, tested function, and transitioning all places
      where we call this to use this function.
      9c2d0a2d
  5. Nov 08, 2017
  6. Nov 04, 2017
    • Jessica Yuen's avatar
      Introduce commands: 'ks param' and 'ks param set' · 8fc6c76c
      Jessica Yuen authored
      Parameters are the customizable fields defining ksonnet components. For
      example, replica count, component name, or deployment image.
      
      Parameters are also able to be defined separately across environments.
      Meaning, this supports features to allow a "development" environment to
      only run a single replication instance for it's components, whereas
      allowing a "production" environment to run more replication instances to
      meet heavier production load demands.
      
      'ks param set' is defined as follows:
        'ks param set <component-name> <param-key> <param-value>'
      
      Examples:
      
      Updates the replica count of the 'guestbook' component to 4.
        'ks param set guestbook replicas 4'
      
      Updates the replica count of the 'guestbook' component to 2 for the
      environment 'dev'
        'ks param set guestbook replicas 2 --env=dev'
      8fc6c76c
  7. Jun 30, 2017
  8. May 12, 2017