Skip to content

Commit

Permalink
feat(platform): support autoscaling v2beta2
Browse files Browse the repository at this point in the history
feat(platform): support autoscaling v2beta2 (tkestack#1828)

Co-authored-by: kanesong <kanesong@tencent.com>

feat(platform): set default client qps unlimit if qps is not set

fix(installer): failed to start docker daemon (tkestack#1830)

fix(platform): import duplicate http package (tkestack#1829)

feat(console): support paste string to vnc (tkestack#1833)

* feat(console): support paste string to vnc

* feat(console): hide volume mode

* fix(console): change vmi text to vm

feat(installer): add nfs, ceph-rbd provisioner chart file (tkestack#1831)

feat(installer): support install platform apps (tkestack#1832)

fix(logaget): correct proxy target url (tkestack#1834)

fix(gateway): correct gateway service port (tkestack#1835)

feat(installer): add tke-registry chart file (tkestack#1837)

fix(console): update images related guide (tkestack#1840)

refactor(installer): upgrade log-agent version to v1.2.0 (tkestack#1843)

feat(installer): support platformApp install provisioner (tkestack#1842)

feat(installer): update nfs, ceph-rbd chart files (tkestack#1841)

feat(installer): add ingres nginx image (tkestack#1844)
  • Loading branch information
kanesong committed Apr 20, 2022
1 parent a192e06 commit 77df073
Show file tree
Hide file tree
Showing 87 changed files with 4,224 additions and 333 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions api/platform/v1/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
"time"

"tkestack.io/tke/pkg/util/http"
utilhttp "tkestack.io/tke/pkg/util/http"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"tkestack.io/tke/cmd/tke-installer/app/installer/constants"
Expand Down Expand Up @@ -200,6 +199,6 @@ func (in *Cluster) AuthzWebhookBuiltinEndpoint() (string, bool) {
}
}

return utilhttp.MakeEndpoint("https", endPointHost,
return http.MakeEndpoint("https", endPointHost,
constants.AuthzWebhookNodePort, "/auth/authz"), true
}
2 changes: 2 additions & 0 deletions build/docker/tools/tke-installer/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ OPTIONS="--name tke-installer -d --privileged --net=host --restart=always
-v $INSTALL_DIR/conf:/app/conf
-v registry-certs:/app/certs
-v tke-installer-bin:/app/bin
-v /tmp:/tmp
-v /lib/modules/:/lib/modules/
"

RegistryHTTPOptions="--name registry-http -d --net=host --restart=always -p 80:5000
Expand Down
22 changes: 0 additions & 22 deletions cmd/tke-installer/app/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package config

import (
"helm.sh/helm/v3/pkg/chartutil"
"tkestack.io/tke/cmd/tke-installer/app/options"
clusterprovider "tkestack.io/tke/pkg/platform/provider/cluster"
"tkestack.io/tke/pkg/util/log"
Expand Down Expand Up @@ -52,27 +51,6 @@ type Config struct {
EnableCustomExpansion bool
// CustomExpansionDir path to expansions. default `data/expansions`
CustomExpansionDir string
PlatformApps []PlatformApp
}
type PlatformApp struct {
Name string
Enable bool
Chart Chart
}

type Chart struct {
Name string
TenantID string
ChartGroupName string
// install options
Version string
// install options
TargetCluster string
// install options
TargetNamespace string
// install options
// chartutil.ReadValues/ReadValuesFile
Values chartutil.Values
}

// CreateConfigFromOptions creates a running configuration instance based
Expand Down
Loading

0 comments on commit 77df073

Please sign in to comment.