summaryrefslogtreecommitdiff
path: root/robusta_krr/main.py
AgeCommit message (Collapse)Author
2024-06-14Deprecate --prometheus-cluster-labelRobusta Runner
The name is misleading. Before this change we had both --prometheus-cluster-label and --prometheus-label which referred to very different things, leading to a bug in the code (to be fixed in the next commit). We still support -l and have added support for "--prometheus-cluster-value" which is what `-l` really represents.
2024-04-30Minor additional logging improvementsLeaveMyYard
2024-04-30Finished structure changes and workload loadersLeaveMyYard
2024-04-22Moved the logic from #93 for a new refined structureLeaveMyYard
Co-authored-by: Megrez Lu <lujiajing1126@gmail.com>
2024-03-26Improving prometheus detection step (#236)Pavel Zhukov
* Rework prometheus detection logging, fix #119 * Fix success if no scans were made * Fix get_history_range in tests * Remove unused constant --------- Co-authored-by: LeaveMyYard <zhukovpave2001@gmail.com>
2024-03-26Improve limited permissions (cherry-picked from #220) (#238)Pavel Zhukov
* Add --as option to impersonate a specific user * Update test case * Don't exit if the user lacks permissions to auto-discover prometheus * Add a comment * Add support for HPA w/o cluster-level permissions * feat: cli option for --as-group (#224) * feat: cli option for --as-group * add: as-group example * Improve a message in case of API error * Return the debug log with found items in cluster --------- Co-authored-by: Robusta Runner <aantny@gmail.com> Co-authored-by: Rohan Katkar <rohan.katkar@dnv.com> Co-authored-by: LeaveMyYard <zhukovpave2001@gmail.com>
2024-03-26for dgdevops :) (#243)Natan Yellin
2024-03-19use alias when available for strategy setting (#235)Mykola Martynov
* Add --allow_hpa flag * use `--allow-hpa` option * use OptionInfo instead of Option to support different name for same option * revert back allow_hpa field definition * fix issue when there is no underscore exist in option name --------- Co-authored-by: Robusta Runner <aantny@gmail.com>
2024-02-14info about excluded namespaceBartosz Fenski
2024-02-14Add Openshift support with loading sa tokenLeaveMyYard
2024-02-03Fix typo in the commentVahan Terzibashian
2024-01-18Fix TypoManuel Rüger
2023-10-23Add --width parameter for the consoleLeaveMyYard
2023-10-05Refactor how settings are passed and how logging worksLeaveMyYard
2023-08-24added minimum reccomendation from cmd (#134)Avi-Robusta
* added minimum reccomendation from cmd need to add to readme * re-named settings * added config info to readme
2023-08-10Lint and format codeLeaveMyYard
2023-08-10Merge branch 'main' into namspaces-filtering-fixPavel Zhukov
2023-08-10Improve resource parameter validationLeaveMyYard
2023-08-08Unified prometheus support (#121)Avi-Robusta
* initial refactoring initial changes working version aws test added eks managed prom support coralogix prom support and fix prom bug fixed bug added all aws config changes added docs and fixed requirements copying connect changes from robusta fixing bad typing reformatting added prometrix updated prometrix version * rebase fixes * black formatting * refactored check connection * Fixing victoria metrics check * updating poetry file after rebase
2023-08-04Add resource parameterLeaveMyYard
2023-07-19Merge branch 'main' into arnold_slackArnold Yahad
2023-07-18Set default value of prometheus_label to None (#101)chengzw
* set default value of prometheus_label to None * update doc * optimize validate_cluster_name check logic
2023-07-17Merge branch 'main' into custom-prometheus-headersPavel Zhukov
2023-07-12Add `-s` for selectorLeaveMyYard
2023-07-12Add ability to pass custom prometheus headersLeaveMyYard
2023-07-11Label selector argumentLeaveMyYard
2023-07-11Merge branch 'main' into arnold_slackArnold Yahad
2023-07-10Address PR Comments and requirementsarnoldyahad
2023-07-05Run isort on whole codebaseLeaveMyYard
2023-06-27Add max_workers to CLI settings, fix bug with executorLeaveMyYard
2023-06-22[MAIN-553] Create explicit executors to limit threadcountLeaveMyYard
2023-06-19Slack And File integrationarnoldyahad
2023-06-19Initial commit for slack and file integrationarnoldyahad
2023-06-14made the label not optional and look up label for cluster namesavi robusta
2023-06-14support custom label nameavi robusta
the standard is cluster
2023-06-14added cluster name param for centralized supportavi robusta
2023-05-30black isort flake8 formattingavi robusta
2023-05-29Merge branch 'main' into multicluster-improvementПавел Жуков
2023-05-29Fix multi-cluster issuesПавел Жуков
2023-05-26Refactor Formatters, use functional approachПавел Жуков
2023-04-27Fix pytestПавел Жуков
2023-04-24Add --logtostderr flagПавел Жуков
2023-04-21Fix passing additional arguments for the strategyПавел Жуков
2023-04-06Add the example on using KRR as a libraryПавел Жуков
2023-04-06Remove remaining Krakens, change back to KRRПавел Жуков
2023-03-27Fix some stuff on namespaces and clusters optionsПавел Жуков
2023-03-27Merge pull request #1 from robusta-dev/readme-changingПавел Жуков
Readme changing
2023-03-26Add namespaces and clusters options to CLIПавел Жуков
2023-03-26Change KRR to KubeKrakenПавел Жуков
2023-03-20Improve CLI, add dynamic commands based on strategies defined, pass kwargs ↵Павел Жуков
to strategy settings