-
Notifications
You must be signed in to change notification settings - Fork 3
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 #99 from deefreak/deepakfork/ossCharts
Charts , Installation Guide and Remove some integrations
- Loading branch information
Showing
23 changed files
with
465 additions
and
752 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,51 @@ | ||
port: 9443 | ||
metricBindAddress: ":8080" | ||
healthProbeBindAddress: ":8081" | ||
pprofBindAddress: ":8082" | ||
enableLeaderElection: false | ||
leaderElectionID: "85d48caf.fcp.ottoscalr.io" | ||
metricsScraper: | ||
prometheusUrl: {{ .Values.prometheusUrl }} | ||
queryTimeoutSec: 30 | ||
querySplitIntervalHr: 24 | ||
prometheusUrl: {{ .Values.ottoscalr.config.metricsScraper.prometheusUrl }} | ||
queryTimeoutSec: {{ .Values.ottoscalr.config.metricsScraper.queryTimeoutSec | default "30" }} | ||
querySplitIntervalHr: {{ .Values.ottoscalr.config.metricsScraper.querySplitIntervalHr | default "24" }} | ||
breachMonitor: | ||
pollingIntervalSec: 300 | ||
cpuRedLine: 0.85 | ||
pollingIntervalSec: {{ .Values.ottoscalr.config.breachMonitor.pollingIntervalSec | default "300" }} | ||
cpuRedLine: {{ .Values.ottoscalr.config.breachMonitor.cpuRedLine | default "0.75" }} | ||
stepSec: 30 | ||
concurrentExecutions: {{ .Values.ottoscalr.config.breachMonitor.concurrentExecutions | default "50" }} | ||
periodicTrigger: | ||
pollingIntervalMin: 360 | ||
pollingIntervalMin: {{ .Values.ottoscalr.config.periodicTrigger.pollingIntervalMin | default "1440" }} | ||
policyRecommendationController: | ||
maxConcurrentReconciles: 1 | ||
maxConcurrentReconciles: {{ .Values.ottoscalr.config.policyRecommendationController.maxConcurrentReconciles | default "1" }} | ||
minRequiredReplicas: {{ .Values.ottoscalr.config.policyRecommendationController.minRequiredReplicas | default "3" }} | ||
policyExpiryAge: {{ .Values.ottoscalr.config.policyRecommendationController.policyExpiryAge | default "48h" }} | ||
policyRecommendationRegistrar: | ||
requeueDelayMs: 500 | ||
excludedNamespaces: {{ .Values.ottoscalr.config.policyRecommendationRegistrar.excludedNamespaces | default "kube-system,monitoring,gatekeeper-system,webhook" }} | ||
includedNamespaces: {{ .Values.ottoscalr.config.policyRecommendationRegistrar.includedNamespaces }} | ||
cpuUtilizationBasedRecommender: | ||
metricWindowInDays: 28 | ||
metricWindowInDays: {{ .Values.ottoscalr.config.cpuUtilizationBasedRecommender.metricWindowInDays | default "28" }} | ||
stepSec: 30 | ||
minTarget: 10 | ||
maxTarget: 60 | ||
minTarget: {{ .Values.ottoscalr.config.cpuUtilizationBasedRecommender.minTarget | default "5" }} | ||
maxTarget: {{ .Values.ottoscalr.config.cpuUtilizationBasedRecommender.maxTarget | default "60" }} | ||
metricsPercentageThreshold: {{ .Values.ottoscalr.config.cpuUtilizationBasedRecommender.metricsPercentageThreshold | default "0" }} | ||
metricIngestionTime: 15.0 | ||
metricProbeTime: 15.0 | ||
enableMetricsTransformer: {{ .Values.ottoscalr.config.enableMetricsTransformer | default false }} | ||
eventCallIntegration: | ||
customEventDataConfigMapName: {{ .Values.ottoscalr.config.eventCallIntegration.customEventDataConfigMapName | default "custom-event-data-config" }} | ||
hpaEnforcer: | ||
maxConcurrentReconciles: {{ .Values.ottoscalr.config.hpaEnforcer.maxConcurrentReconciles | default 1 }} | ||
excludedNamespaces: {{ .Values.ottoscalr.config.hpaEnforcer.excludedNamespaces | default "" }} | ||
includedNamespaces: {{ .Values.ottoscalr.config.hpaEnforcer.includedNamespaces | default "" }} | ||
isDryRun: {{ kindIs "invalid" .Values.ottoscalr.config.hpaEnforcer.isDryRun | ternary true .Values.ottoscalr.config.hpaEnforcer.isDryRun }} | ||
whitelistMode: {{ kindIs "invalid" .Values.ottoscalr.config.hpaEnforcer.whitelistMode | ternary true .Values.ottoscalr.config.hpaEnforcer.whitelistMode }} | ||
minRequiredReplicas: {{ .Values.ottoscalr.config.hpaEnforcer.minRequiredReplicas | default 2 }} | ||
autoscalerClient: | ||
scaledObjectConfigs: | ||
enableScaledObject: {{ kindIs "invalid" .Values.ottoscalr.config.autoscalerClient.scaledObjectConfigs.enableScaledObject | ternary true .Values.ottoscalr.config.autoscalerClient.scaledObjectConfigs.enableScaledObject }} | ||
enableEventAutoscaler: {{ kindIs "invalid" .Values.ottoscalr.config.autoscalerClient.scaledObjectConfigs.enableEventAutoscaler | ternary true .Values.ottoscalr.config.autoscalerClient.scaledObjectConfigs.enableEventAutoscaler }} | ||
hpaConfigs: | ||
hpaAPIVersion: {{ .Values.ottoscalr.config.autoscalerClient.hpaConfigs.hpaAPIVersion | default "v2" }} | ||
enableArgoRolloutsSupport: {{ kindIs "invalid" .Values.ottoscalr.config.enableArgoRolloutsSupport | ternary true .Values.ottoscalr.config.enableArgoRolloutsSupport }} | ||
|
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
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,16 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: custom-event-data-config | ||
labels: | ||
app.kubernetes.io/name: configmap | ||
app.kubernetes.io/instance: ottoscalr-manager | ||
app.kubernetes.io/created-by: ottoscalr | ||
app.kubernetes.io/part-of: ottoscalr | ||
{{- include "ottoscalr.labels" . | nindent 4 }} | ||
namespace: {{ .Release.Namespace }} | ||
data: | ||
{{- if .Values.addCustomEventData }} | ||
7f8b9c83: '{"eventId":"7f8b9c83","eventName":"Outlier","startTime":"2023-07-27 04:00","endTime":"2023-07-27 05:00"}' | ||
7f8b9c84: '{"eventId":"7f8b9c84","eventName":"Outlier","startTime":"2023-08-02 21:00","endTime":"2023-08-02 23:59"}' | ||
{{- end }} |
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,22 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: p8s-ottoscalr | ||
labels: | ||
app.kubernetes.io/name: clusterrole | ||
app.kubernetes.io/component: rbac | ||
app.kubernetes.io/created-by: ottoscalr | ||
app.kubernetes.io/part-of: ottoscalr | ||
{{- include "ottoscalr.labels" . | nindent 4 }} | ||
rules: | ||
- apiGroups: | ||
- "" | ||
- apps | ||
- discovery.k8s.io | ||
resources: | ||
- pods | ||
- services | ||
- endpointslices | ||
- endpoints | ||
|
||
verbs: ["get", "list", "watch"] |
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,19 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: p8s-ottoscalr | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: clusterrole | ||
app.kubernetes.io/component: rbac | ||
app.kubernetes.io/created-by: ottoscalr | ||
app.kubernetes.io/part-of: ottoscalr | ||
{{- include "ottoscalr.labels" . | nindent 4 }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: p8s-ottoscalr | ||
subjects: | ||
- namespace: monitoring | ||
kind: ServiceAccount | ||
name: prometheus-k8s |
Oops, something went wrong.