-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
183 lines (155 loc) · 4.71 KB
/
values.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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# Default values for openNebula.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
# 3 = Debug. 2= Info
debug_level: 2
# Note all autoamted secrets creations are not being tracked by helm. So if you delete this chart the secrets will still be there.
# run kubectl delete secrets <secret-name> -n <namespace> to delete them.
# If you dont delete the secrets and then you re-install the chart in the same namespace it will fail.
# Image (alpine + curl + openssh-keygen) to use for automate ssh_keys secret creation
auto: &auto
image: zakkg3/opennebula-alpine-bootstrap
tag: "3.10"
# enabling adds service account, clusterrole and binding
enabled: true
# Enable auto_ssh to create ssh keys secrets before install the chart. (templates/auto-*)
# If you desable this you can run './createSshkeys.sh' before creating the chart.
# (Note, by default this will push to 'opennebula' namespace)
auto_ssh:
<< : *auto
enabled: true
# Enable auto_serveradmin_secret (recommended) to create a kuberenetes secret from the auto generated secret in
# file /var/lib/one/.one./sunstone_auth by onedeamon. This secret will be mounted in sunstone to "talk" with onedeamon.
# Note, its not possible at the moment to pre mount a secret in /var/lib/one/.one/sunstone_auth in onedeamon
# to bootstrap the db with this secrets.
auto_serveradmin_secret:
<< : *auto
enabled: true
atastore:
enabled: true
id_images: 100
id_system: 101
storageClass: flexible
size: 10Gi
# Opennebula one deamon.
onedeamon:
image:
repository: ethzhpc/opennebula
tag: 5.8.5
pullPolicy: IfNotPresent
port: 2633
replicaCount: 1
auth: # to mount in /var/lib/one/.one/one_auth
username: oneadmin
password: "XXXXX"
service:
type: ClusterIP
port: 2633
config:
default_auth: default
#http://docs.opennebula.org/5.8/deployment/open_cloud_host_setup/kvm_driver.html#opennebula-configuration
parallel_kvm: false
sunstone:
image:
repository: ethzhpc/opennebula-sunstone
tag: 5.8.5
pullPolicy: IfNotPresent
replicaCount: 1
#http://docs.opennebula.org/5.8/deployment/sunstone_setup/sunstone.html#configuration
config:
auth: opennebula
#memcache for server that spawn more than one process
sessions: "memcache"
# Only used with Sessions: "memcached"
memcached:
port: 11211
image: "memcached"
tag: "1.5.6-alpine"
core_auth: cipher
port: 9869
service:
type: ClusterIP
port: 9869
scheduler:
config:
# MAX_HOST: Maximum number of Virtual Machines dispatched to each host in
# each scheduling action
# Use it with onedeamon.config.parallel_kcm=true
# comment this for default value = 1
max_hosts: 10
hosts:
# Enable to deploy deamonset to .
enable: true
image:
repository: ethzhpc/opennebula-node
tag: 5.8.5
pullPolicy: IfNotPresent
# this is work in progress
config: |-
some
config
here
# annotate your nodes to join the oppennebula cluster,
# if Nil {} this will be deployed in all possible nodes.
nodeSelector:
opennebula-node: ""
affinity: {}
tolerations: []
# limits for nodes
# cpu: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-cpu
resources:
limits:
cpu: 1
memory: 4Gi
flow:
enabled: false
image:
repository: ethzhpc/opennebula-flow
tag: 5.8.5
pullPolicy: IfNotPresent
#replicaCount: 1
port: 2474
mysql:
enabled: true
mysqlDatabase: "opennebula"
mysqlUser: "onedeamon"
mysqlPassword: ""
persistence:
#storageClass: "nfs"
size: 10Gi
# to keep this pvc on helm delete:
# annotations:
# helm.sh/resource-policy: keep
ingress: # For Sunstone
enabled: false
annotations:
kubernetes.io/ingress.class: traefik
# traefik.ingress.kubernetes.io/frontend-entry-points: https
# certmanager.k8s.io/issuer: selfsigned
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: opennebula.domain
paths:
- "/"
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}