2017-08-24 17:09:52 +08:00
|
|
|
---
|
2016-09-08 02:02:06 +08:00
|
|
|
dependencies:
|
2017-10-05 15:43:04 +08:00
|
|
|
- role: kubernetes-apps/ansible
|
2018-09-10 17:39:26 +08:00
|
|
|
when:
|
2021-03-24 08:26:05 +08:00
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
2017-10-05 15:43:04 +08:00
|
|
|
|
2017-03-17 19:56:25 +08:00
|
|
|
- role: kubernetes-apps/helm
|
2018-09-10 17:39:26 +08:00
|
|
|
when:
|
|
|
|
- helm_enabled
|
2017-10-05 15:43:04 +08:00
|
|
|
tags:
|
|
|
|
- helm
|
2018-02-01 14:14:18 +08:00
|
|
|
|
2021-05-03 22:16:03 +08:00
|
|
|
- role: kubernetes-apps/krew
|
|
|
|
when:
|
|
|
|
- krew_enabled
|
|
|
|
tags:
|
|
|
|
- krew
|
|
|
|
|
2018-02-04 12:32:33 +08:00
|
|
|
- role: kubernetes-apps/registry
|
2018-09-10 17:39:26 +08:00
|
|
|
when:
|
|
|
|
- registry_enabled
|
2021-03-24 08:26:05 +08:00
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
2018-02-04 12:32:33 +08:00
|
|
|
tags:
|
|
|
|
- registry
|
|
|
|
|
2018-11-23 16:36:21 +08:00
|
|
|
- role: kubernetes-apps/metrics_server
|
|
|
|
when:
|
|
|
|
- metrics_server_enabled
|
2021-03-24 08:26:05 +08:00
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
2018-11-23 16:36:21 +08:00
|
|
|
tags:
|
|
|
|
- metrics_server
|
|
|
|
|
2020-09-03 19:01:43 +08:00
|
|
|
- role: kubernetes-apps/csi_driver/csi_crd
|
|
|
|
when:
|
2021-09-06 19:24:29 +08:00
|
|
|
- cinder_csi_enabled or csi_snapshot_controller_enabled
|
2021-03-24 08:26:05 +08:00
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
2020-09-03 19:01:43 +08:00
|
|
|
tags:
|
|
|
|
- csi-driver
|
|
|
|
|
2019-11-01 15:59:24 +08:00
|
|
|
- role: kubernetes-apps/csi_driver/cinder
|
|
|
|
when:
|
|
|
|
- cinder_csi_enabled
|
|
|
|
tags:
|
|
|
|
- cinder-csi-driver
|
2020-03-13 20:34:39 +08:00
|
|
|
- csi-driver
|
2019-11-01 15:59:24 +08:00
|
|
|
|
2020-03-26 04:10:25 +08:00
|
|
|
- role: kubernetes-apps/csi_driver/aws_ebs
|
|
|
|
when:
|
|
|
|
- aws_ebs_csi_enabled
|
|
|
|
tags:
|
|
|
|
- aws-ebs-csi-driver
|
|
|
|
- csi-driver
|
|
|
|
|
2020-04-01 15:53:27 +08:00
|
|
|
- role: kubernetes-apps/csi_driver/azuredisk
|
|
|
|
when:
|
|
|
|
- azure_csi_enabled
|
|
|
|
tags:
|
|
|
|
- azure-csi-driver
|
|
|
|
- csi-driver
|
|
|
|
|
2020-03-31 15:06:40 +08:00
|
|
|
- role: kubernetes-apps/csi_driver/gcp_pd
|
|
|
|
when:
|
|
|
|
- gcp_pd_csi_enabled
|
|
|
|
tags:
|
|
|
|
- gcp-pd-csi-driver
|
|
|
|
- csi-driver
|
|
|
|
|
2022-04-12 06:13:23 +08:00
|
|
|
- role: kubernetes-apps/csi_driver/upcloud
|
|
|
|
when:
|
|
|
|
- upcloud_csi_enabled
|
|
|
|
tags:
|
|
|
|
- upcloud-csi-driver
|
|
|
|
- csi-driver
|
|
|
|
|
2020-04-20 23:47:39 +08:00
|
|
|
- role: kubernetes-apps/csi_driver/vsphere
|
|
|
|
when:
|
|
|
|
- vsphere_csi_enabled
|
|
|
|
tags:
|
|
|
|
- vsphere-csi-driver
|
|
|
|
- csi-driver
|
|
|
|
|
2017-12-19 22:47:00 +08:00
|
|
|
- role: kubernetes-apps/persistent_volumes
|
2018-09-10 17:39:26 +08:00
|
|
|
when:
|
|
|
|
- persistent_volumes_enabled
|
2021-03-24 08:26:05 +08:00
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
2017-12-19 22:47:00 +08:00
|
|
|
tags:
|
|
|
|
- persistent_volumes
|
2018-07-20 22:56:38 +08:00
|
|
|
|
2020-09-03 19:01:43 +08:00
|
|
|
- role: kubernetes-apps/snapshots
|
2021-03-24 08:26:05 +08:00
|
|
|
when: inventory_hostname == groups['kube_control_plane'][0]
|
2020-09-03 19:01:43 +08:00
|
|
|
tags:
|
|
|
|
- snapshots
|
|
|
|
- csi-driver
|
|
|
|
|
2020-06-22 15:28:39 +08:00
|
|
|
- role: kubernetes-apps/container_runtimes
|
|
|
|
when:
|
2021-03-24 08:26:05 +08:00
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
2020-06-22 15:28:39 +08:00
|
|
|
tags:
|
|
|
|
- container-runtimes
|
|
|
|
|
2018-09-13 17:52:09 +08:00
|
|
|
- role: kubernetes-apps/container_engine_accelerator
|
|
|
|
when: nvidia_accelerator_enabled
|
|
|
|
tags:
|
|
|
|
- container_engine_accelerator
|
|
|
|
|
2018-07-20 22:56:38 +08:00
|
|
|
- role: kubernetes-apps/cloud_controller/oci
|
2018-09-10 17:39:26 +08:00
|
|
|
when:
|
|
|
|
- cloud_provider is defined
|
|
|
|
- cloud_provider == "oci"
|
2021-03-24 08:26:05 +08:00
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
2018-07-20 22:56:38 +08:00
|
|
|
tags:
|
|
|
|
- oci
|
2020-06-30 06:11:59 +08:00
|
|
|
|
|
|
|
- role: kubernetes-apps/metallb
|
|
|
|
when:
|
|
|
|
- metallb_enabled
|
2021-03-24 08:26:05 +08:00
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
2020-06-30 06:11:59 +08:00
|
|
|
tags:
|
|
|
|
- metallb
|
2021-11-07 18:22:51 +08:00
|
|
|
|
|
|
|
- role: kubernetes-apps/argocd
|
|
|
|
when:
|
|
|
|
- argocd_enabled
|
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
|
|
|
tags:
|
|
|
|
- argocd
|
2024-01-23 14:42:33 +08:00
|
|
|
|
|
|
|
- role: kubernetes-apps/scheduler_plugins
|
|
|
|
when:
|
|
|
|
- scheduler_plugins_enabled
|
|
|
|
- kube_major_version is version('v1.28', '<')
|
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
|
|
|
tags:
|
|
|
|
- scheduler_plugins
|
2024-03-06 00:36:08 +08:00
|
|
|
|
|
|
|
- role: kubernetes-apps/node_feature_discovery
|
|
|
|
when:
|
|
|
|
- node_feature_discovery_enabled
|
|
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
|
|
|
tags:
|
|
|
|
- node_feature_discovery
|