#  Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved.
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
---

k8s_docker_images:
  - docker.io/calico/kube-controllers:v3.19.1
  - docker.io/calico/cni:v3.19.1
  - docker.io/calico/pod2daemon-flexvol:v3.19.1
  - docker.io/calico/node:v3.19.1
  - quay.io/coreos/flannel:v0.14.0
  - xilinxatg/xilinx_k8s_fpga_plugin:2020.11.24
  - nvidia/k8s-device-plugin:v0.7.0
  - quay.io/external_storage/nfs-client-provisioner:v3.1.0-k8s1.11
  - docker.io/rocm/k8s-device-plugin
  - kubernetesui/dashboard:v2.0.5
  - kubernetesui/metrics-scraper:v1.0.6
  - prom/alertmanager:v0.21.0
  - jimmidyson/configmap-reload:v0.4.0
  - prom/node-exporter:v1.0.1
  - prom/pushgateway:v1.2.0
  - prom/prometheus:v2.20.1
  - metallb/controller:v0.8.1
  - metallb/controller:v0.7.3
  - metallb/speaker:v0.7.3
  - volcanosh/vc-controller-manager:latest
  - volcanosh/vc-scheduler:latest
  - volcanosh/vc-webhook-manager:latest
  - mpioperator/mpi-operator:latest
  - rocm/k8s-device-plugin

docker_login_fail_msg: "Docker login failed! Please check the credentials and re-execute playbook."

docker_pull_limit_msg: "You have reached your docker pull rate limit. Please provide docker credentials in omnia_config.yml and try again"

metallb_config_file_dest: /root/k8s/metal-config.yaml

metallb_config_file_mode: 0655

metallb_deployment_file_dest: /root/k8s/metallb.yaml

metallb_deployment_file_mode: 0655

metallb_yaml_url: https://raw.githubusercontent.com/google/metallb/v0.8.1/manifests/metallb.yaml

k8s_dashboard_admin_file_dest: /root/k8s/k8s_dashboard_admin.yaml

k8s_dashboard_admin_file_mode: 0655

k8s_dashboard_yaml_url: https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml

helm_stable_repo_url: https://charts.helm.sh/stable

nfs_server: "{{ ansible_host }}"

nfs_path: /home/k8snfs

mpi_operator_yaml_url: https://raw.githubusercontent.com/kubeflow/mpi-operator/master/deploy/v1alpha2/mpi-operator.yaml

nvidia_k8s_device_plugin_repo_url: https://nvidia.github.io/k8s-device-plugin

nvidia_gpu_discovery_repo_url: https://nvidia.github.io/gpu-feature-discovery

nvidia_device_plugin_version: 0.7.0

mig_strategy: none

gpu_feature_discovery_version: 0.2.0

fpga_device_plugin_yaml_url: https://raw.githubusercontent.com/Xilinx/FPGA_as_a_Service/master/k8s-fpga-device-plugin/fpga-device-plugin.yml

rocm_device_plugin_yaml_url: https://raw.githubusercontent.com/RadeonOpenCompute/k8s-device-plugin/master/k8s-ds-amdgpu-dp.yaml

slurm_exporter_config_file: extraScrapeConfigs.yaml

slurm_exporter_config_file_path: /var/lib/

slurm_exporter_file_mode: 0655

prometheus_path_on_host: /var/lib/prometheus-2.23.0.linux-amd64/

spark_operator_repo: https://googlecloudplatform.github.io/spark-on-k8s-operator

operator_image_tag: v1beta2-1.2.3-3.1.1

volcano_scheduling_yaml_url: https://raw.githubusercontent.com/volcano-sh/volcano/v1.3.0/installer/volcano-development.yaml