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

Test ci #1

Closed
wants to merge 31 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
fd7299e
karmada operator: fixed karmada label beinging overwritten
Aug 9, 2023
fe0febb
fix federated-hpa plain metric calc
Aug 9, 2023
c1d82ba
add e2e coverage analisis
Aug 10, 2023
6dea121
Merge pull request #3928 from Vacant2333/add_e2e_coverage_analysis
karmada-bot Aug 11, 2023
4924872
changed sigs.k8s.io/cluster-api v1.5.0-rc.0 to v1.5.0
parthn2 Aug 11, 2023
22d4636
Merge pull request #3934 from parthn2/master
karmada-bot Aug 14, 2023
54e900c
Merge pull request #3922 from ctripcloud/fix-plain-calc
karmada-bot Aug 14, 2023
9f7215a
Merge pull request #3919 from calvin0327/fixed-karmada-label
karmada-bot Aug 14, 2023
d4eeb9e
update k8s compatibility for CI of cli
liangyuanpeng Aug 14, 2023
25db1e0
Merge pull request #3938 from liangyuanpeng/update_ci_k8sversion
karmada-bot Aug 14, 2023
0cf3c07
judge with the label on the resources returned by karmadactl get comm…
XiShanYongYe-Chang Aug 7, 2023
f496308
upgraded alpine base image
Rajan-226 Aug 14, 2023
b134d68
Merge pull request #3942 from Rajan-226/update-alpine
karmada-bot Aug 15, 2023
62482f4
feat: introducing a karmada top command
chaunceyjiang May 28, 2023
ec6a83c
improve overridemanager test
vie-serendipity Aug 15, 2023
f243a18
Merge pull request #3593 from chaunceyjiang/top
karmada-bot Aug 15, 2023
6246da1
automatic modify image version in helm chart when releasing
chaosi-zju Aug 10, 2023
27eb29c
Merge pull request #3910 from XiShanYongYe-Chang/karmadactl-get-witho…
karmada-bot Aug 16, 2023
ba1800f
Merge pull request #3931 from chaosi-zju/helmfix
karmada-bot Aug 16, 2023
999c7ae
Merge pull request #3943 from vie-serendipity/improve_overridemanager…
karmada-bot Aug 16, 2023
6401c3e
add http limit for the Slowloris attack
zishen Aug 17, 2023
bd0c511
proposal for native service discovery (#3694)
bivas Aug 17, 2023
a6de637
update operator default timeout
Aug 15, 2023
f3d7b72
ResourceSummary add check index for -1
liangyuanpeng Aug 17, 2023
dc921e8
Merge pull request #3951 from zishen/slowloris-attack
karmada-bot Aug 17, 2023
2a8fb8e
repair the cluster_status_controller_test
zishen Aug 16, 2023
f7a10b9
Merge pull request #3950 from liangyuanpeng/rs_check
karmada-bot Aug 18, 2023
7f72c0d
Add proposal for remove derived mcs
zishen Jul 20, 2023
a4e3957
Merge pull request #3705 from zishen/remove-derived-mcs
karmada-bot Aug 18, 2023
276d6a8
Merge pull request #3944 from Vacant2333/update_operator_default_timeout
karmada-bot Aug 18, 2023
608ef20
Merge branch 'master' of https://github.com/karmada-io/karmada into u…
zishen Aug 18, 2023
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 .github/workflows/cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# Here support the latest three minor releases of Kubernetes, this can be considered to be roughly
# the same as the End of Life of the Kubernetes release: https://kubernetes.io/releases/
# Please remember to update the CI Schedule Workflow when we add a new version.
k8s: [ v1.24.2, v1.25.0, v1.26.0 ]
k8s: [ v1.25.0, v1.26.0, v1.27.3 ]
steps:
- name: checkout code
uses: actions/checkout@v3
Expand All @@ -31,7 +31,7 @@ jobs:
go-version: 1.20.6
- uses: engineerd/setup-kind@v0.5.0
with:
version: "v0.17.0"
version: "v0.20.0"
- name: run karmadactl init test
run: |
export CLUSTER_VERSION=kindest/node:${{ matrix.k8s }}
Expand Down
24 changes: 16 additions & 8 deletions charts/karmada/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ global:
## - myRegistryKeySecretName
imagePullSecrets: []

## @karmadaImageVersion the image version of each karmada components
## "latest" is a default value for local installation.
## If update this anchors("&karmadaImageVersion"), also update hack/package-helm-chart.sh.
## See https://yaml.org/spec/1.2/spec.html#id2765878 and
## https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_advanced_syntax.html#yaml-anchors-and-aliases-sharing-variable-values
## for more details about yaml anchors and aliases.
karmadaImageVersion: &karmadaImageVersion latest

## @param installMode "host" and "agent" are provided
## "host" means install karmada in the control-cluster
## "agent" means install agent client in the member cluster
Expand Down Expand Up @@ -148,7 +156,7 @@ scheduler:
image:
registry: docker.io
repository: karmada/karmada-scheduler
tag: latest
tag: *karmadaImageVersion
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
##
Expand Down Expand Up @@ -205,7 +213,7 @@ webhook:
image:
registry: docker.io
repository: karmada/karmada-webhook
tag: latest
tag: *karmadaImageVersion
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
##
Expand Down Expand Up @@ -262,7 +270,7 @@ controllerManager:
image:
registry: docker.io
repository: karmada/karmada-controller-manager
tag: latest
tag: *karmadaImageVersion
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
##
Expand Down Expand Up @@ -409,7 +417,7 @@ aggregatedApiServer:
image:
registry: docker.io
repository: karmada/karmada-aggregated-apiserver
tag: latest
tag: *karmadaImageVersion
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
##
Expand Down Expand Up @@ -636,7 +644,7 @@ agent:
image:
registry: docker.io
repository: karmada/karmada-agent
tag: latest
tag: *karmadaImageVersion
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
##
Expand Down Expand Up @@ -714,7 +722,7 @@ schedulerEstimator:
image:
registry: docker.io
repository: karmada/karmada-scheduler-estimator
tag: latest
tag: *karmadaImageVersion
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
##
Expand Down Expand Up @@ -771,7 +779,7 @@ descheduler:
image:
registry: docker.io
repository: karmada/karmada-descheduler
tag: latest
tag: *karmadaImageVersion
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
##
Expand Down Expand Up @@ -830,7 +838,7 @@ search:
image:
registry: docker.io
repository: karmada/karmada-search
tag: latest
tag: *karmadaImageVersion
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
##
Expand Down
2 changes: 1 addition & 1 deletion cluster/images/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.2
FROM alpine:3.18.3

ARG BINARY

Expand Down
2 changes: 1 addition & 1 deletion cluster/images/buildx.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.2
FROM alpine:3.18.3

ARG BINARY
ARG TARGETPLATFORM
Expand Down
18 changes: 18 additions & 0 deletions cmd/descheduler/app/descheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,22 @@ const (
// References:
// - https://en.wikipedia.org/wiki/Slowloris_(computer_security)
ReadHeaderTimeout = 32 * time.Second
// WriteTimeout is the amount of time allowed to write the
// request data.
// HTTP timeouts are necessary to expire inactive connections
// and failing to do so might make the application vulnerable
// to attacks like slowloris which work by sending data very slow,
// which in case of no timeout will keep the connection active
// eventually leading to a denial-of-service (DoS) attack.
WriteTimeout = 5 * time.Minute
// ReadTimeout is the amount of time allowed to read
// response data.
// HTTP timeouts are necessary to expire inactive connections
// and failing to do so might make the application vulnerable
// to attacks like slowloris which work by sending data very slow,
// which in case of no timeout will keep the connection active
// eventually leading to a denial-of-service (DoS) attack.
ReadTimeout = 5 * time.Minute
)

// NewDeschedulerCommand creates a *cobra.Command object with default parameters
Expand Down Expand Up @@ -174,6 +190,8 @@ func serveHealthzAndMetrics(address string) {
Addr: address,
Handler: mux,
ReadHeaderTimeout: ReadHeaderTimeout,
WriteTimeout: WriteTimeout,
ReadTimeout: ReadTimeout,
}
if err := httpServer.ListenAndServe(); err != nil {
klog.Errorf("Failed to serve healthz and metrics: %v", err)
Expand Down
18 changes: 18 additions & 0 deletions cmd/scheduler-estimator/app/scheduler-estimator.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,22 @@ const (
// References:
// - https://en.wikipedia.org/wiki/Slowloris_(computer_security)
ReadHeaderTimeout = 32 * time.Second
// WriteTimeout is the amount of time allowed to write the
// request data.
// HTTP timeouts are necessary to expire inactive connections
// and failing to do so might make the application vulnerable
// to attacks like slowloris which work by sending data very slow,
// which in case of no timeout will keep the connection active
// eventually leading to a denial-of-service (DoS) attack.
WriteTimeout = 5 * time.Minute
// ReadTimeout is the amount of time allowed to read
// response data.
// HTTP timeouts are necessary to expire inactive connections
// and failing to do so might make the application vulnerable
// to attacks like slowloris which work by sending data very slow,
// which in case of no timeout will keep the connection active
// eventually leading to a denial-of-service (DoS) attack.
ReadTimeout = 5 * time.Minute
)

// NewSchedulerEstimatorCommand creates a *cobra.Command object with default parameters
Expand Down Expand Up @@ -121,6 +137,8 @@ func serveHealthzAndMetrics(address string) {
Addr: address,
Handler: mux,
ReadHeaderTimeout: ReadHeaderTimeout,
WriteTimeout: WriteTimeout,
ReadTimeout: ReadTimeout,
}
if err := httpServer.ListenAndServe(); err != nil {
klog.Errorf("Failed to serve healthz and metrics: %v", err)
Expand Down
18 changes: 18 additions & 0 deletions cmd/scheduler/app/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,22 @@ const (
// References:
// - https://en.wikipedia.org/wiki/Slowloris_(computer_security)
ReadHeaderTimeout = 32 * time.Second
// WriteTimeout is the amount of time allowed to write the
// request data.
// HTTP timeouts are necessary to expire inactive connections
// and failing to do so might make the application vulnerable
// to attacks like slowloris which work by sending data very slow,
// which in case of no timeout will keep the connection active
// eventually leading to a denial-of-service (DoS) attack.
WriteTimeout = 5 * time.Minute
// ReadTimeout is the amount of time allowed to read
// response data.
// HTTP timeouts are necessary to expire inactive connections
// and failing to do so might make the application vulnerable
// to attacks like slowloris which work by sending data very slow,
// which in case of no timeout will keep the connection active
// eventually leading to a denial-of-service (DoS) attack.
ReadTimeout = 5 * time.Minute
)

// Option configures a framework.Registry.
Expand Down Expand Up @@ -207,6 +223,8 @@ func serveHealthzAndMetrics(address string) {
Addr: address,
Handler: mux,
ReadHeaderTimeout: ReadHeaderTimeout,
WriteTimeout: WriteTimeout,
ReadTimeout: ReadTimeout,
}
if err := httpServer.ListenAndServe(); err != nil {
klog.Errorf("Failed to serve healthz and metrics: %v", err)
Expand Down
Binary file added docs/proposals/mcs/additional-dns-server.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading