-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from francescotimperi/static-web-fix
Fixes nuvolaris/nuvolaris#300
- Loading branch information
Showing
6 changed files
with
214 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- | ||
~ 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. | ||
~ | ||
--> | ||
<html> | ||
<head> | ||
<title>Welcome to Nuvolaris Content Example</title> | ||
</head> | ||
<body> | ||
<h1>This is another HTML page uploaded via upload action</h1> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
# 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: 146.148.119.191 | ||
storageclass: rook-ceph-block | ||
provisioner: rook-ceph.rbd.csi.ceph.com | ||
components: | ||
# start openwhisk controller | ||
openwhisk: true | ||
# start openwhisk invoker | ||
invoker: false | ||
# start couchdb | ||
couchdb: true | ||
# start kafka | ||
kafka: false | ||
# start mongodb | ||
mongodb: true | ||
# start redis | ||
redis: true | ||
# start cron based action parser | ||
cron: true | ||
# enable TLS | ||
tls: false | ||
# minio enabled or not | ||
minio: true | ||
# zookeeper enabled or not | ||
zookeeper: false | ||
# minio static enabled or not | ||
static: true | ||
# monitoring enabled or not | ||
monitoring: false | ||
# 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: [email protected] | ||
acme-server-url: https://acme-v02.api.letsencrypt.org/directory | ||
zookeeper: | ||
host: zookeeper | ||
data-volume-size: 10 | ||
log-volume-size: 5 | ||
configs: | ||
limits: | ||
actions: | ||
sequence-maxLength: 500 | ||
invokes-perMinute: 9999 | ||
invokes-concurrent: 2500 | ||
triggers: | ||
fires-perMinute: 5000 | ||
memory: | ||
limit-min: 128m | ||
limit-std: 256m | ||
limit-max: 2048m | ||
concurrency: | ||
limit-min: 1 | ||
limit-std: 1 | ||
limit-max: 1 | ||
loadbalancer: | ||
timeout-factor: 2 | ||
blackbox-fraction: 25% | ||
controller: | ||
javaOpts: "-Xmx2048M" | ||
loggingLevel: "INFO" | ||
invoker: | ||
javaOpts: "-Xmx8192M" | ||
loggingLevel: "INFO" | ||
containerPool: | ||
userMemory: "51200m" | ||
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 |