Add k8s installation by vagrant + kubeadm
[openretriever.git] / src / fuel-plugin / deployment_tasks.yaml
1 # Copyright (c) 2017 Intel Corporation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 - id: k8s
15   type: group
16   role: [k8s-master, k8s-slave]
17   requires: [deploy_start]
18   required_for: [deploy_end]
19   tasks: [hiera, setup_repositories, fuel_pkgs, globals, tools, logging, netconfig]
20   parameters:
21     strategy:
22       type: parallel
23
24 - id: k8s-master-install
25   type: puppet
26   version: 2.0.0
27   groups: [k8s-master]
28   required_for: [deploy_end]
29   requires: [netconfig]
30   parameters:
31     puppet_manifest: puppet/manifests/k8s-master-install.pp
32     puppet_modules: puppet/modules:/etc/puppet/modules
33     timeout: 720
34
35 - id: k8s-slave-install
36   type: puppet
37   version: 2.0.0
38   groups: [k8s-slave]
39   required_for: [post_deployment_end]
40   requires: [post_deployment_start]
41   parameters:
42     puppet_manifest: puppet/manifests/k8s-slave-install.pp
43     puppet_modules: puppet/modules:/etc/puppet/modules
44     timeout: 720