mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 10:10:21 +00:00
80 lines
2.2 KiB
Plaintext
80 lines
2.2 KiB
Plaintext
base:
|
|
'*':
|
|
- base
|
|
- debian-auto-upgrades
|
|
- salt-helpers
|
|
{% if grains.get('cloud') == 'aws' %}
|
|
- ntp
|
|
{% endif %}
|
|
{% if pillar.get('e2e_storage_test_environment', '').lower() == 'true' %}
|
|
- e2e
|
|
{% endif %}
|
|
|
|
'roles:kubernetes-pool':
|
|
- match: grain
|
|
- docker
|
|
{% if pillar.get('network_policy_provider', '').lower() == 'calico' %}
|
|
- cni
|
|
{% elif pillar.get('network_provider', '').lower() == 'kubenet' %}
|
|
- cni
|
|
{% elif pillar.get('network_provider', '').lower() == 'cni' %}
|
|
- cni
|
|
{% endif %}
|
|
- helpers
|
|
- kube-client-tools
|
|
- kube-node-unpacker
|
|
- kubelet
|
|
{% if pillar.get('network_provider', '').lower() == 'opencontrail' %}
|
|
- opencontrail-networking-minion
|
|
{% else %}
|
|
- kube-proxy
|
|
{% endif %}
|
|
{% if pillar.get('enable_cluster_registry', '').lower() == 'true' %}
|
|
- kube-registry-proxy
|
|
{% endif %}
|
|
{% if pillar['prepull_e2e_images'] is defined and pillar['prepull_e2e_images'].lower() == 'true' %}
|
|
- e2e-image-puller
|
|
{% endif %}
|
|
- logrotate
|
|
- supervisor
|
|
{% if pillar.get('network_policy_provider', '').lower() == 'calico' %}
|
|
- calico.node
|
|
{% endif %}
|
|
|
|
'roles:kubernetes-master':
|
|
- match: grain
|
|
- generate-cert
|
|
- etcd
|
|
{% if pillar.get('network_provider', '').lower() == 'kubenet' %}
|
|
- cni
|
|
{% elif pillar.get('network_provider', '').lower() == 'cni' %}
|
|
- cni
|
|
{% endif %}
|
|
{% if pillar.get('enable_l7_loadbalancing', '').lower() == 'glbc' %}
|
|
- l7-gcp
|
|
{% endif %}
|
|
- kube-apiserver
|
|
- kube-controller-manager
|
|
- kube-scheduler
|
|
- supervisor
|
|
- kube-client-tools
|
|
- kube-master-addons
|
|
- kube-admission-controls
|
|
{% if grains['cloud'] is defined and grains['cloud'] != 'vagrant' %}
|
|
- logrotate
|
|
{% endif %}
|
|
- kube-addons
|
|
{% if grains['cloud'] is defined and grains['cloud'] in [ 'vagrant', 'gce', 'aws', 'photon-controller', 'openstack', 'azure-legacy'] %}
|
|
- docker
|
|
- kubelet
|
|
{% endif %}
|
|
{% if pillar.get('network_provider', '').lower() == 'opencontrail' %}
|
|
- opencontrail-networking-master
|
|
{% endif %}
|
|
{% if pillar.get('enable_cluster_autoscaler', '').lower() == 'true' %}
|
|
- cluster-autoscaler
|
|
{% endif %}
|
|
{% if pillar.get('enable_rescheduler', '').lower() == 'true' %}
|
|
- rescheduler
|
|
{% endif %}
|