Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade horizontal scaling information (Keda) #633

Merged
merged 25 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2776423
initialize kedaClient
Richard87 May 31, 2024
de280c2
fix hpa metrics
Richard87 May 31, 2024
6580691
log request errors as warnings
Richard87 May 31, 2024
9f12907
insert HPA for controller test
Richard87 May 31, 2024
2a82aac
remove unused constant
Richard87 May 31, 2024
c4008ce
add client request logging
Richard87 Jun 7, 2024
c037a94
add client request logging (simplified)
Richard87 Jun 7, 2024
1782c7c
add client request logging (simplified)
Richard87 Jun 7, 2024
416eac7
add client request logging (simplified)
Richard87 Jun 7, 2024
a34ed44
refactor GetComponentsForDeployment
Richard87 Jun 10, 2024
aaae0cd
test responses from scaledobjects and hpa
Richard87 Jun 12, 2024
d387e15
test responses from scaledobjects and hpa
Richard87 Jun 13, 2024
343ff63
Merge branch 'master' into update-operator-with-keda-support
Richard87 Jun 13, 2024
0c55bd4
fix unused import
Richard87 Jun 13, 2024
26a99a4
update swaggerui
Richard87 Jun 13, 2024
b100445
remove unused function
Richard87 Jun 13, 2024
b2db348
Update api/utils/logs/roundtrip_logger.go
Richard87 Jun 13, 2024
9f43d5d
debugging
Richard87 Jun 14, 2024
1e97f25
handle client err seperatley from request error
Richard87 Jun 14, 2024
3ee06de
move getComponentStateFromSpec to environments package
Richard87 Jun 14, 2024
8ef0897
use kubequery where possible, remove unsuded fields
Richard87 Jun 14, 2024
53d1e3c
cleanup deprecated fields, add lint ignore
Richard87 Jun 14, 2024
f48554f
use same status code field as gin middleware
Richard87 Jun 14, 2024
e1f44e5
Update api/deployments/component_handler.go
Richard87 Jun 14, 2024
b6507f3
Update api/deployments/component_handler.go
Richard87 Jun 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"RADIX_CONTAINER_REGISTRY":"radixdev.azurecr.io",
"PIPELINE_IMG_TAG": "master-latest",
"TEKTON_IMG_TAG": "main-latest",
"K8S_API_HOST": "https://weekly-14-clusters-16ede4-97pzjkre.hcp.northeurope.azmk8s.io",
"K8S_API_HOST": "https://weekly-24-clusters-dev-16ede4-uk527vqt.hcp.northeurope.azmk8s.io:443",
"RADIX_CLUSTER_TYPE": "development",
"RADIX_DNS_ZONE": "dev.radix.equinor.com",
"RADIX_CLUSTERNAME": "weekly-14",
"RADIX_CLUSTERNAME": "weekly-24",
"RADIX_ACTIVE_CLUSTER_EGRESS_IPS": "104.45.84.1",
"REQUIRE_APP_CONFIGURATION_ITEM": "true",
"REQUIRE_APP_AD_GROUPS": "true",
Expand Down
2 changes: 1 addition & 1 deletion api/applications/get_applications_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func getComponentsForActiveDeploymentsInEnvironments(ctx context.Context, deploy

envName := env.Name
g.Go(func() error {
componentModels, err := deploy.GetComponentsForDeployment(ctx, appName, deployment)
componentModels, err := deploy.GetComponentsForDeployment(ctx, appName, deployment.Name, deployment.Environment)
if err == nil {
chanData <- &ChannelData{key: envName, components: componentModels}
}
Expand Down
260 changes: 213 additions & 47 deletions api/deployments/component_controller_test.go

Large diffs are not rendered by default.

Loading
Loading