This project is mirrored from https://opendev.org/openstack/magnum.git. Pull mirroring updated .
  1. 12 Sep, 2017 1 commit
  2. 23 Aug, 2017 1 commit
  3. 21 Aug, 2017 1 commit
  4. 14 Aug, 2017 1 commit
  5. 09 Aug, 2017 2 commits
    • Spyros Trigazis's avatar
      [cern] k8s-fedora: Add docker_volume_type label · 88fc64e6
      Spyros Trigazis authored
      Cherry-pick: https://review.openstack.org/#/c/462962/
      
      * add docker_volume_type for the cinder volumes which are
        used for docker storage.
      
      Related-Bug: #1678153
      Change-Id: I55418a667cc8af043c61130aa61138d700fdc4ca
      
      Conflicts:
      	magnum/drivers/k8s_fedora_ironic_v1/templates/kubecluster.yaml
      	magnum/tests/unit/conductor/handlers/test_k8s_cluster_conductor.py
      	magnum/tests/unit/drivers/test_template_definition.py
      88fc64e6
    • Spyros Trigazis's avatar
      [cern] swarm: Add docker_volume_type label · 21787031
      Spyros Trigazis authored
      Cherry-pick: https://review.openstack.org/#/c/462887/
      
      * add docker_volume_type for the cinder volumes which are
        used for docker storage.
      * add default_docker_volume_type configuration option
      
      Related-Bug: #1678153
      Change-Id: Ie18096acf24873ef91a904df4f1a84694a2bb644
      
      Conflicts:
      	magnum/conf/cinder.py
      	magnum/tests/unit/conductor/handlers/test_swarm_cluster_conductor.py
      	magnum/tests/unit/drivers/test_template_definition.py
      21787031
  6. 27 Jul, 2017 1 commit
  7. 05 Jul, 2017 1 commit
    • Ricardo Rocha's avatar
      [cern] add label to pass arbitraty kube options · bb1dc688
      Ricardo Rocha authored
      Add new labels kubelet_options, kubeapi_options, kubescheduler_options,
      kubecontroller_options, kubeproxy_options to allow users to add
      additional options for each daemon directly using labels.
      bb1dc688
  8. 23 Jun, 2017 1 commit
  9. 07 Jun, 2017 1 commit
    • Ricardo Rocha's avatar
      [cern] drop k8s requirement on .sh file · 5d175930
      Ricardo Rocha authored
      Rely purely on nova metadata to get the IP of the master VM and use that
      IP for all subject alt name settings. Drop requirement on getting the ip
      using a bash command.
      5d175930
  10. 29 May, 2017 1 commit
    • Ricardo Rocha's avatar
      Add CoreDNS deployment in kubernetes atomic · 0e65577d
      Ricardo Rocha authored
      Cherry-pick: https://review.openstack.org/#/c/462181/
      
      Enable internal cluster DNS by deploying CoreDNS in the kube-system
      namespace. It covers dns queries for both the cluster and external,
      acting as a proxy with a cache layer in front.
      
      Version of CoreDNS hard-coded to 007, image taken from dockerhub.
      
      Related-Bug: #1692449
      
      Change-Id: I0a9703b531fe872416dcd79fa7d4d27c1ea61586
      
      Conflicts:
      	magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-minion.sh
      	magnum/drivers/common/templates/kubernetes/fragments/write-heat-params-master.yaml
      	magnum/drivers/common/templates/kubernetes/fragments/write-heat-params.yaml
      	magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml
      	magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml
      	magnum/drivers/k8s_fedora_atomic_v1/templates/kubeminion.yaml
      0e65577d
  11. 12 Apr, 2017 2 commits
  12. 11 Apr, 2017 1 commit
    • Ricardo Rocha's avatar
      [cern] drop kube-ui and kube-examples · 1784c59a
      Ricardo Rocha authored
      we've reached the 64kb limit for user data in nova. drop the kube-ui and
      kube-examples configs (currently unused) so we can get the prometheus
      setup to go through as expected.
      1784c59a
  13. 07 Apr, 2017 1 commit
    • Cristovao Cordeiro's avatar
      [cern] [k8s] Monitoring with Prometheus and Grafana · 80df6b62
      Cristovao Cordeiro authored
      Cherry-pick: https://review.openstack.org/#/c/426291/
      
      Profit from the default cAdvisor deployed by k8s to deploy the
      remaining monitoring stack on top, made of node-exporter,
      Prometheus and Grafana.
      
      Node-exporter is ran as a normal pod through a manifest, while
      Prometheus and Grafana are deployments with 1 replica.
      
      Prometheus has compliance with Kubernetes, so the discovery of
      the nodes and other k8s components is configured directly in
      Prometheus configuration.
      
      Change-Id: If2cab996b9458580a55b5212ab298c909622e7f3
      Partially-Implements: blueprint container-monitoring
      
      Conflicts:
      	magnum/drivers/common/k8s_template_def.py
      	magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml
      	magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml
      	magnum/drivers/k8s_fedora_ironic_v1/templates/kubecluster.yaml
      	magnum/drivers/k8s_fedora_ironic_v1/templates/kubeminion_software_configs.yaml
      	magnum/tests/unit/conductor/handlers/test_k8s_cluster_conductor.py
      80df6b62
  14. 06 Apr, 2017 2 commits
    • Mathieu Velten's avatar
      [cern] Use Kubernetes config to launch services pods · 7368f738
      Mathieu Velten authored
      Cherry-pick: https://review.openstack.org/#/c/397668
      
      Mount certs, sysconfig and /srv/kubernetes in the pods in case an argument
      references it (cinder support for example).
      
      CERN: dropped ssl cert directories from scheduler and controller-manager
      
      Partially-Implements: blueprint run-kube-as-container
      Change-Id: If7b0f4ad956ed9492a3889b5eb9d287a235b747d
      7368f738
    • Vijendar Komalla's avatar
      [cern] Set k8s apiserver preferred address type arg · a29fdb54
      Vijendar Komalla authored
      Cherry-pick: https://review.openstack.org/#/c/439906/
      
      Currently not able to run kubectl exec/logs commands
      with a k8s cluster created on devstack. This is due
      to the fact that apiserver is not able to resolve
      the worker node by hostname. This change fixes the
      issue by passing --kubelet-preferred-address-types
      argument to apiserver.
      
      Change-Id: I9d328626723d11372a6d912fae4edd33b8f01277
      Closes-Bug: #1668337
      
      Conflicts:
      	magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-master.sh
      a29fdb54
  15. 04 Apr, 2017 1 commit
    • Mathieu Velten's avatar
      [cern] Fix usage of the trustee user in K8S Cinder plugin · 60be1038
      Mathieu Velten authored
      Cherry-pick: https://review.openstack.org/#/c/445404
      
      Closes-Bug: #1672667
      Change-Id: I702818777ea4664ecd560c4b7a02431c86988e17
      
      Conflicts:
      	magnum/drivers/common/template_def.py
      	magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-master.sh
      	magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-minion.sh
      	magnum/drivers/common/templates/kubernetes/fragments/write-kube-os-config.sh
      	magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml
      60be1038
  16. 31 Mar, 2017 1 commit
    • Ricardo Rocha's avatar
      [cern] enable cvmfs in swarm mode · 91df4825
      Ricardo Rocha authored
      setup docker-volume-cvmfs in all nodes, including the master nodes.
      swarm mode schedules services and containers in any of the manager or
      workers, so we should enable it everywhere.
      91df4825
  17. 28 Mar, 2017 1 commit
  18. 27 Mar, 2017 1 commit
  19. 24 Mar, 2017 2 commits
  20. 02 Mar, 2017 5 commits
  21. 15 Feb, 2017 1 commit
  22. 13 Feb, 2017 1 commit
    • Ricardo Rocha's avatar
      [cern] update dcos driver to cern setup · ba824b46
      Ricardo Rocha authored
      drop all neutron objects, replace _ with - in nova nodes, add
      cern-services false to instance metadata, replace first_address with
      resources.0.dcos_master_external_ip in dcoscluster apiaddress output.
      ba824b46
  23. 10 Feb, 2017 2 commits
  24. 06 Feb, 2017 1 commit
    • Bertrand NOEL's avatar
      [cern] K8S: Allows to specify admission control plugins to enable · 0eb96907
      Bertrand NOEL authored
      Cherry-pick: https://review.openstack.org/#/c/405374/
      
      If nothing is specified a set of recommended default plugins is used,
      which includes the ServiceAccount one.
      
      Change-Id: I1383aae09ba68f8e83b07e3eaae40ab071f7be94
      Closes-Bug: #1646489
      
      Conflicts:
      	doc/source/userguide.rst
      	magnum/drivers/common/k8s_template_def.py
      	magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-master.sh
      	magnum/drivers/k8s_coreos_v1/templates/kubecluster.yaml
      	magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml
      	magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml
      	magnum/drivers/k8s_fedora_ironic_v1/templates/kubecluster.yaml
      	magnum/drivers/k8s_fedora_ironic_v1/templates/kubemaster.yaml
      	magnum/tests/functional/k8s/test_k8s_python_client.py
      	magnum/tests/unit/conductor/handlers/test_k8s_cluster_conductor.py
      	magnum/tests/unit/drivers/test_template_definition.py
      0eb96907
  25. 24 Jan, 2017 1 commit
  26. 23 Jan, 2017 1 commit
    • Ricardo Rocha's avatar
      [cern] add cvmfs container configuration · 1d1ad781
      Ricardo Rocha authored
      add systemd setup to configure cvmfs via docker-volume-cvmfs.
      
      add new labels to configure cvmfs:
      * cvmfs_enabled: if cvmfs configuration should be done (default true)
      * cvmfs_tag: which docker-volume-cvmfs tag to use (default latest)
      
      Implements OS-3825.
      1d1ad781
  27. 12 Jan, 2017 1 commit
    • Spyros Trigazis's avatar
      [cern] [k8s_fedora_atomic] Remove podmaster · decea7aa
      Spyros Trigazis authored
      Cherry-pick: https://review.openstack.org/#/c/404782/
      
      Podmaster is deprecated since k8s 1.2 and its docker
      image is v1, incompatible with docker >=1.12.
      
      * Remove podmaster pod
      * Update manifests of kube-controller-manager and kube-scheduler
      * Rename SoftwareConfig to reflect the new functionality
      
      Closes-Bug: #1646109
      Change-Id: Ibf4ce06cbf5b79a4241c58c67b13a7c68145d3ae
      
      Conflicts:
      	magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml
      decea7aa
  28. 10 Jan, 2017 2 commits
    • Spyros Trigazis's avatar
      [cern] Add docker-d options in sysconfig/docker · 29798308
      Spyros Trigazis authored
      Cherry-pick: https://review.openstack.org/#/c/404789/7
      
      Remove custom docker unit file and pass the necessary options
      through /etc/sysconfig/docker file.
      
      Change-Id: I6bf91843b9120b700d13aad54cef38342ae1f8bd
      Closes-Bug: #1646123
      
      Conflicts:
      	magnum/drivers/swarm_fedora_atomic_v1/templates/fragments/write-docker-service.sh
      	magnum/drivers/swarm_fedora_atomic_v1/templates/swarmmaster.yaml
      	magnum/drivers/swarm_fedora_atomic_v1/templates/swarmnode.yaml
      29798308
    • Spyros Trigazis's avatar
      [cern] Upgrade to Fedora Atomic 25 · 280096fc
      Spyros Trigazis authored
      Cherry-pick: https://review.openstack.org/#/c/417457/8
      
      Image contains:
      kubernetes-1.4.7-1.fc25.x86_64
      docker-1.12.5-4.git03508cc.fc25.x86_64
      flannel-0.5.5-8.fc25.x86_64
      etcd-3.0.15-1.fc25.x86_64
      
      * For this upgrade the upstream image is used, which is
        uploaded here [1].
      * Minor changes for flannel and docker-storage-setup
        were needed.
      * The image will be built in the CI and uploaded to
        tarballs.openstack.org as soon as possible.
      
      [1] https://fedorapeople.org/groups/magnum/fedora-atomic-25-20161221.qcow2
      
      Change-Id: Iac6e30c530821a49a5c3978e335e0b1d56a576e0
      
      Conflicts:
      	magnum/drivers/common/templates/fragments/configure_docker_storage_driver_atomic.sh
      	magnum/drivers/common/templates/kubernetes/fragments/write-network-config.sh
      	magnum/drivers/k8s_fedora_atomic_v1/version.py
      	magnum/drivers/swarm_fedora_atomic_v1/version.py
      	magnum/tests/contrib/gate_hook.sh
      280096fc
  29. 20 Dec, 2016 1 commit
    • yatin's avatar
      [cern] [k8s_fedora_atomic] Enable TLS in Etcd cluster · cbcf3909
      yatin authored
      Cherry-pick: https://review.openstack.org/#/c/407374/
      
      With this patch following are done:-
      - Configure Etcd with TLS support
      
      Configure Following to commuicate with TLS enabled Etcd:-
      - Flannel
      
      Etcd also listens at http://127.0.0.1:2379, so on master nodes
      etcdctl and kube apiserver can communicate without using
      certificates.
      
      if TLS_DISABLED="True" then TLS is not enabled for etcd.
      
      Change-Id: I2147b67c4e346a4415e1f76c19ac68e94cb0a0fa
      Partially-Implements: blueprint secure-etcd-cluster-coe
      
      Conflicts:
      	magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-master.sh
      	magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-minion.sh
      	magnum/drivers/common/templates/kubernetes/fragments/network-config-service.sh
      cbcf3909
  30. 16 Dec, 2016 1 commit