blob: 6a8433fd39be0b20cefa3fe7becc92eff3f7e842 [file]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
#
apiVersion: nuvolaris.org/v1
kind: Whisk
metadata:
name: controller
namespace: nuvolaris
spec:
nuvolaris:
apihost: eks.n9s.cc
password: nuvpassw0rd
components:
# start openwhisk controller
openwhisk: true
# start openwhisk invoker
invoker: true
# start couchdb
couchdb: true
# start kafka
kafka: true
# start mongodb
mongodb: true
# start redis
redis: true
# start cron based action parser
cron: true
# enable TLS
tls: true
# minio enabled or not
minio: true
# zookeeper enabled or not
zookeeper: true
# minio static enabled or not
static: true
monitoring: true
# postgres enabled or not
postgres: true
openwhisk:
namespaces:
whisk-system: 789c46b1-71f6-4ed5-8c54-816aa4f8c502:abcfO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP
nuvolaris: cbd68075-dac2-475e-8c07-d62a30c7e683:123zO3xKCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP
couchdb:
host: couchdb
volume-size: 10
admin:
user: whisk_admin
password: some_passw0rd
controller:
user: invoker_admin
password: s0meP@ass1
invoker:
user: controller_admin
password: s0meP@ass2
kafka:
host: kafka
volume-size: 10
controller:
protocol: "http"
host : "controller"
port: "3233"
image: "ghcr.io/nuvolaris/openwhisk-controller"
tag: "0.3.0-morpheus.22122609"
invoker:
protocol: "http"
host : "invoker"
port: "8080"
image: "ghcr.io/nuvolaris/openwhisk-invoker"
tag: "0.3.0-morpheus.22122609"
scheduler:
schedule: "* * * * *"
tls:
acme-registered-email: francesco@nuvolaris.io
acme-server-url: https://acme-v02.api.letsencrypt.org/directory
zookeeper:
host: zookeeper
data-volume-size: 5
log-volume-size: 2
configs:
limits:
actions:
sequence-maxLength: 100
invokes-perMinute: 999
invokes-concurrent: 999
triggers:
fires-perMinute: 999
memory:
limit-max: 2048m
concurrency:
limit-min: 1
limit-std: 8
limit-max: 250
loadbalancer:
timeout-factor: 2
blackbox-fraction: 10%
controller:
javaOpts: "-Xmx2048M"
loggingLevel: "INFO"
invoker:
javaOpts: "-Xmx2048M"
loggingLevel: "INFO"
containerPool:
userMemory: "4096m"
redis:
volume-size: 5
default:
password: s0meP@ass3
nuvolaris:
prefix: nuv
password: s0meP@ass3
mongodb:
host: mongodb
volume-size: 10
admin:
user: whisk_admin
password: 0therPa55
nuvolaris:
user: nuvolaris
password: s0meP@ass3
exposedExternally: False
useOperator: False
minio:
volume-size: 10
admin:
user: minioadmin
password: minioadmin
nuvolaris:
user: nuvolaris
password: zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG
monitoring:
prometheus:
volume-size: 10
alert-manager:
enabled: true
volume-size: 2
slack:
enabled: true
default: true
slack_channel_name: '#monitoring-nuvolaris'
slack_api_url: ${SLACK_API_URL}
gmail:
enabled: true
default: false
from: ${ALERT_EMAIL_FROM}
to: ${ALERT_EMAIL_TO}
username: ${GMAIL_USERNAME}
password: ${GMAIL_PASSWORD}
postgres:
volume-size: 5
replicas: 2
admin:
password: 0therPa55
replica-password: 0therPa55RR
nuvolaris:
password: s0meP@ass3