-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcerdito.toml
More file actions
120 lines (111 loc) · 3.65 KB
/
cerdito.toml
File metadata and controls
120 lines (111 loc) · 3.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Atlas configuration
#
# You can configure here the public key and the private key to access Atlas,
# otherwise the system will use the environment variables
# MONGODB_ATLAS_PUBLIC_KEY and MONGODB_ATLAS_PRIVATE_KEY
#
# [atlas]
# public_key = "your_public_key"
# private_key = "your_private_key"
#
# Next configure the Atlas clusters you want to stop and start, you can set
# as many as you want. You need the cluster name and the group id.
# To obtain the group id you can simply enter the Atlas web site in the
# cluster you are interested in and in the URL itself you will see the id.
#
# [[atlas.clusters]]
# name = "name-of-cluster"
# group_id = "hexadecimal-group-id"
# [[atlas.clusters]]
# name = "other-cluster"
# group_id = "other-cluster-group-id"
#
# You can completely skip this configuration if you do not want to use this
# functionality.
[atlas]
public_key = "somepublickey"
private_key = "someprivatekey"
[[atlas.clusters]]
name = "sample"
group_id = "1a2b3c4d5e6f7a8b9c0dcafe"
# Azure configuration
#
# You can configure here the Azure tenant ID, Azure client ID and Azure
# client secret to access Azure, otherwise the system will use the
# environment variables AZURE_TENANT_ID, AZURE_CLIENT_ID, and
# AZURE_CLIENT_SECRET
#
# [azure]
# tenant_id = "your_tenant_id"
# client_id = "your_client_id"
# client_secret = "your_client_id"
#
# Next configure the AKS you want to stop and start, you can set as many as
# you want. You need the subscription id, resource group name and resource
# name of your AKS.
#
# [[azure.aks]]
# subscription_id = "subscription-uuid"
# resource_group_name = "alice-resource-group-name"
# resource_name = "alice"
# [[azure.aks]]
# subscription_id = "subscription-uuid"
# resource_group_name = "bob-resource-group-name"
# resource_name = "bob"
#
# If you are using Databricks you can configure the URL and the jobs (by
# name) that you want to pause scheduling. If you set the value of all_jobs
# to true you do not need to specify jobs and all scheduled jobs will be
# paused or unpaused. This is independent of AKS, you can have configuration
# for AKS only, Databricks only or both. Optionally you can indicate with
# delete a list of files or directories that you want to delete from
# Databricks file system (in stop action).
#
# [[azure.databricks]]
# url = "https://example.azuredatabricks.net"
# jobs = ["alice", "bob"]
# delete = ["/charlie"]
# [[azure.databricks]]
# url = "https://other.azuredatabricks.net"
# all_jobs = true
#
# You can completely skip this configuration if you do not want to use this
# functionality.
[azure]
tenant_id = "sometenantid"
client_id = "someclientid"
client_secret = "someclientsecret"
[[azure.aks]]
subscription_id = "somesubscriptionid"
resource_group_name = "resourcegroup"
resource_name = "aksname"
[[azure.databricks]]
url = "https://sample.azuredatabricks.net"
jobs = ["sample-alice", "sample-bob"]
delete = ["/some"]
# Kubernetes configuration
#
# You can configure here the kubeconfig location, otherwise the system will
# use the passed config or the environment variable KUBECONFIG (by default
# ~/.kube/config is used)
#
# [kubernetes]
# kubeconfig = "/config/location/.kubeconfig"
#
# Next, you configure the Kubernetes projects you want to stop. You must
# specify the namespace and deployments that you want to scale to zero.
#
# [[kubernetes.projects]]
# namespace = "dev"
# deployments = ["alice", "bob"]
# [[kubernetes.projects]]
# namespace = "pre"
# deployments = ["alice", "bob"]
#
# You can completely skip this configuration if you do not want to use this
# functionality.
[kubernetes]
kubeconfig = "./kubeconfig"
[[kubernetes.projects]]
namespace = "sample-namespace"
deployments = [ "deploy-alice", "deploy-bob" ]