Skip to content
Snippets Groups Projects
  1. Dec 02, 2016
  2. Nov 29, 2016
  3. Nov 28, 2016
    • Bogdan Dobrelya's avatar
      Add advanced net check for DNS K8s app · b7692fad
      Bogdan Dobrelya authored
      
      * Add an option to deploy K8s app to test e2e network connectivity
        and cluster DNS resolve via Kubedns for nethost/simple pods
        (defaults to false).
      * Parametrize existing k8s apps templates with kube_namespace and
        kube_config_dir instead of hardcode.
      * For CoreOS, ensure nameservers from inventory to be put in the
        first place to allow hostnet pods connectivity via short names
        or FQDN and hostnet agents to pass as well, if netchecker
        deployed.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      b7692fad
  4. Nov 25, 2016
    • Bogdan Dobrelya's avatar
      Tune dnsmasq/kubedns limits, replicas, logging · 2d18e192
      Bogdan Dobrelya authored
      
      * Add dns_replicas, dns_memory/cpu_limit/requests vars for
      dns related apps.
      * When kube_log_level=4, log dnsmasq queries as well.
      * Add log level control for skydns (part of kubedns app).
      * Add limits/requests vars for dnsmasq (part of kubedns app) and
        dnsmasq daemon set.
      * Drop string defaults for kube_log_level as it is int and
        is defined in the global vars as well.
      * Add docs
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      2d18e192
    • Aleksandr Didenko's avatar
      Update calico/ctl image tag · ff7d489f
      Aleksandr Didenko authored
      We no longer need to use v0.22.0 for calicoctl since Kargo has
      support for new calicoctl CLI format.
      
      Also fixing condition logic for calico pool task.
      ff7d489f
  5. Nov 24, 2016
    • Bogdan Dobrelya's avatar
      Fix download dnsmasq image dependency on docker · aa447585
      Bogdan Dobrelya authored
      
      When download_run_once with download_localhost is used, docker is
      expected to be running on the delegate localhost. That may be not
      the case for a non localhost delegate, which is the kube-master
      otherwise. Then the dnsmasq role, had it been invoked early before
      deployment starts, would fail because of the missing docker dependency.
      
      * Fix that dependency on docker and do not pre download dnsmasq image
        for the dnsmasq role, if download_localhost is disabled.
      * Remove become: false for docker CLI invocation because that's not
        the common pattern to allow users access docker CLI w/o sudo.
      * Fix opt bin path hack for localhost delegate to ignore errors when
        it fails with "sudo password required" otherwise.
      * Describe download_run_once with download_localhost use case in docs
        as well.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      aa447585
  6. Nov 23, 2016
  7. Nov 22, 2016
    • Aleksandr Didenko's avatar
      Set defaults for ansible_ssh_user · db03f174
      Aleksandr Didenko authored
      When setting permission for containers download/upload dir we're
      using `ansible_ssh_user`. But if playbook is executed without
      user being explicitly set `ansible_ssh_user` may be undefined.
      In such situations dir ownership will default to `ansible_user_id`
      
      Closes: #644
      db03f174
    • Bogdan Dobrelya's avatar
      Allow pre-downloaded images to be used effectively · dff78f61
      Bogdan Dobrelya authored
      According to http://kubernetes.io/docs/user-guide/images/
      
       :
      By default, the kubelet will try to pull each image from the
      specified registry. However, if the imagePullPolicy property
      of the container is set to IfNotPresent or Never, then a local\
      image is used (preferentially or exclusively, respectively).
      
      Use IfNotPresent value to allow images prepared by the download
      role dependencies to be effectively used by kubelet without pull
      errors resulting apps to stay blocked in PullBackOff/Error state
      even when there are images on the localhost exist.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      dff78f61
    • Bogdan Dobrelya's avatar
      Download images as dependencies of roles · 66f27ed1
      Bogdan Dobrelya authored
      
      Pre download all required container images as roles' deps.
      Drop unused flannel-server-helper images pre download.
      Improve pods creation post-install test pre downloaded busybox.
      Improve logs collection script with kubectl describe, fix sudo/etcd/weave
      commands.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      66f27ed1
  8. Nov 21, 2016
  9. Nov 19, 2016
    • Dan Bode's avatar
      Ensure that etcd health checks always pass · ff675d40
      Dan Bode authored
      in the etcd handler, the reload etcd action
      was called after ansible waits for etcd to be
      up, this means that the health checks which are
      called immediately after fail (resulting in the etcd
      role always failing and never finishing)
      
      This patch changes the order to move the 'wait for etcd
      up' resource after the 'reload etcd resource', ensuring that
      the service is up before the health check is called.
      ff675d40
  10. Nov 18, 2016
  11. Nov 16, 2016
  12. Nov 15, 2016
  13. Nov 14, 2016
  14. Nov 10, 2016
  15. Nov 09, 2016
  16. Nov 08, 2016
  17. Nov 07, 2016
    • Matthew Mosesohn's avatar
      adds ability to have hosts with no floating ips on terraform/openstack (+8 squashed commits) · f106bf5b
      Matthew Mosesohn authored
      Squashed commits:
      [f9355ea1] Swap order in which we reload docker/socket
      [2ca6819c] Reload docker.socket after installing flannel on coreos
      
      Workaround for #569
      [9f976e56] Vagrantfile: setup proxy inside virtual machines
      
      In corporate networks, it is good to pre-configure proxy variables.
      [9d7142f4] Vagrantfile: use Ubuntu 16.04 LTS
      
      Use recent supported version of Ubuntu for local development setup
      with Vagrant.
      [50f77cca] Add CI test layouts
      
      * Drop Wily from test matrix
      * Replace the Wily cases dropped with extra cases to test separate
        roles deployment
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      [03e162b3] Update OWNERS
      [c7b00cae] Use tar+register instead of copy/slurp for distributing tokens and certs
      
      Related bug: https://github.com/ansible/ansible/issues/15405
      
      Uses tar and register because synchronize module cannot sudo on the
      remote side correctly and copy is too slow.
      
      This patch dramatically cuts down the number of tasks to process
      for cert synchronization.
      [2778ac61] Add new var skip_dnsmasq_k8s
      
      If skip_dnsmasq is set, it will still not set up dnsmasq
      k8s pod. This enables independent setup of resolvconf section
      before kubelet is up.
      f106bf5b
  18. Nov 04, 2016
Loading