forked from kubernetes-sigs/kube-scheduler-simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
48 lines (36 loc) · 1.52 KB
/
config.yaml
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
# Configuration file for scheduler-simulator
# This is an example config for scheduler-simulator.
apiVersion: kube-scheduler-simulator-config/v1alpha1
kind: SimulatorConfiguration
# This is the port number on which kube-scheduler-simulator
# server is started.
port: 1212
# This is the URL for etcd. The simulator runs kube-apiserver
# internally, and the kube-apiserver uses this etcd.
etcdURL: "http://127.0.0.1:2379"
# This URL represents the URL once web UI is started.
# The simulator and internal kube-apiserver set the allowed
# origin for CorsAllowedOriginList
corsAllowedOriginList:
- "http://localhost:3000"
# This is for the beta feature "Importing cluster's resources".
# This variable is used to find Kubeconfig required to access your
# cluster for importing resources to scheduler simulator.
kubeConfig: ""
# This is the host of kube-apiserver which the simulator
# starts internally. Its default value is 127.0.0.1.
kubeApiHost: "127.0.0.1"
# This is the port of kube-apiserver. Its default value is 3131.
kubeApiPort: 3131
# The path to a KubeSchedulerConfiguration file.
# If passed, the simulator will start the scheduler
# with that configuration. Or, if you use web UI,
# you can change the configuration from the web UI as well.
kubeSchedulerConfigPath: ""
# This variable indicates whether the simulator will
# import resources from an user cluster's or not.
# Note, this is still a beta feature.
externalImportEnabled: false
# This variable indicates whether an external scheduler
# is used.
externalSchedulerEnabled: false