Newer
Older
# Copyright (c) 2019 InterDigital Communications, Inc
#
# Licensed 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.
repo:
name: AdvantEDGE
#------------------------------
# Deployment
#------------------------------
deployment:
Kevin Di Lallo
committed
# permissions
permissions:
# user id
uid: 1000
# group id
gid: 1000
# user supplied resources
user:
# user supplied frontend UI located @ .meep/user/frontend
frontend: false
# user supplied platform swagger UI located @ .meep/user/swagger
# user supplied sandbox swagger UI located @ .meep/user/sandbox-swagger
swagger: false
Kevin Di Lallo
committed
# platform ingress configuration
Kevin Di Lallo
committed
ingress:
Kevin Di Lallo
committed
# host name
Kevin Di Lallo
committed
# enable https only (redirect http requests to https port)
https-only: false
Kevin Di Lallo
committed
# bind to host ports (true) or node ports (false)
host-ports: true
Kevin Di Lallo
committed
# https config
https-port: 443
# certificate authority (none|self-signed|lets-encrypt) default: none
ca: self-signed
# lets-encrypt production server (true) or staging server (false)
le-server-prod: false
Kevin Di Lallo
committed
# authentication & authorization config
Kevin Di Lallo
committed
auth:
Kevin Di Lallo
committed
# enable authentication & authorization
Kevin Di Lallo
committed
enabled: true
Kevin Di Lallo
committed
# Provider-authenticated users allowed (open) or limited to user database (secure)
Kevin Di Lallo
committed
# Session config
session:
# session encryption key k8s secret (data: encryption-key)
key-secret: meep-session
# maximum simultaneous sessions
max-sessions: 10
# GitHub OAuth provider config
github:
# enable GitHub OAuth
Kevin Di Lallo
committed
enabled: false
# authorization url
auth-url: https://github.com/login/oauth/authorize
# access token url
token-url: https://github.com/login/oauth/access_token
# OAuth redirect URI
Kevin Di Lallo
committed
redirect-uri: https://my-platform-fqdn/auth/v1/authorize
# OAuth k8s secret (data: client-id, secret)
secret: meep-oauth-github
# GitLab OAuth provider config
gitlab:
# enable GitLab OAuth
Kevin Di Lallo
committed
enabled: false
# authorization url
auth-url: https://gitlab.com/oauth/authorize
# access token url
token-url: https://gitlab.com/oauth/token
# OAuth redirect URI
Kevin Di Lallo
committed
redirect-uri: https://my-platform-fqdn/auth/v1/authorize
# GitLab api url
# api-url: https://gitlab.com
# OAuth k8s secret (data: client-id, secret)
secret: meep-oauth-gitlab
Kevin Di Lallo
committed
# Influx configuration
influx:
# enable influx data backups
enabled: false
# object store url
url: my-object-store-fqdn
# object store configuration secret
secret: meep-influx-objstore-config
# Number of days to retain daily data backups
retention: 7
# Prometheus configuration
prometheus:
# external labels added to prometheus metrics
external-labels:
# deployment region (geographic or logical)
region: idcc
# prometheus environment (dev|prod)
promenv: prod
# unique deployment identifier
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
# Thanos long-term storage
thanos:
# enable Thanos
enabled: false
# object store configuration secret
secret: meep-thanos-objstore-config
# query component
query:
# enable querier
enabled: true
# query frontend component
query-frontend:
# enable query frontend
enabled: true
# store gateway component
store-gateway:
# enable store gateway
enabled: true
# compactor component
compactor:
# enable compactor
enabled: false
# data retention times
retention:
# raw data retention
resolution-raw: 30d
# 5m downsampled data retention
# 1h downsampled data retention
resolution-1h: 10y
# Thanos long-term storage archive
thanos-archive:
# enable Thanos archive
enabled: false
# archive object store configuration secret
secret: meep-thanos-archive-objstore-config
# Garbage Collection configuration
gc:
# enable garbage collection
enabled: true
# garbage collection interval (duration string)
interval: 1m
# run garbage collection on startup
run-on-startup: true
# Redis configuration
redis:
# enable redis garbage collection
enabled: true
# Influx configuration
influx:
# enable influx garbage collection
enabled: true
# list of databases that must not be removed
exceptions:
- my_db_to_keep
# Postgis configuration
postgis:
# enable postgis garbage collection
enabled: true
# Default monitoring dashboards
dashboards:
network-metrics-point-to-point: dashboards/network-metrics-point-to-point.json
network-metrics-aggregation: dashboards/network-metrics-aggregation.json
wireless-metrics-point-to-point: dashboards/wireless-metrics-point-to-point.json
wireless-metrics-aggregation: dashboards/wireless-metrics-aggregation.json
http-single-log: dashboards/http-log-byId.json
http-logs-aggregation: dashboards/http-loggers.json
Kevin Di Lallo
committed
platform-advantedge: dashboards/platform-advantedge.json
# platform-advantedge: dashboards/platform-advantedge-thanos.json
platform-k8s: dashboards/platform-k8s.json
Kevin Di Lallo
committed
runtime-environment-node: dashboards/runtime-environment-node.json
runtime-environment-k8s-cluster: dashboards/runtime-environment-k8s-cluster.json
kubelet: dashboards/kubelet.json
prometheus: dashboards/prometheus.json
#------------------------------
# Resource Prerequisites
#------------------------------
resource-prerequisites:
# k8s Custom Resource Definitions
crds:
Loading
Loading full blame…