Skip to content

Commit 34b4602

Browse files
authored
[ws-manager-mk2] remove experimental mode feature (#18513)
* [installer] remove experimental mode * [ws-manager-mk2] remove experimental node selector * [ws-manager-api] remove ExperimentalMode from configuration * Add `ws-manager-api` to vscode workspace * [preview] remove experimental & bump deps Depends on gitpod-io/gitpod-packer-gcp-image#246 * [preview] LocalStorageCapacityIsolation is GA, no needed as a gate in 1.27
1 parent 3dc5b4a commit 34b4602

File tree

9 files changed

+6
-24
lines changed

9 files changed

+6
-24
lines changed

components/ws-manager-api/go/config/config.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ type Configuration struct {
131131
// TimeoutMaxConcurrentReconciles configures the max amount of concurrent workspace reconciliations on
132132
// the timeout controller.
133133
TimeoutMaxConcurrentReconciles int `json:"timeoutMaxConcurrentReconciles,omitempty"`
134-
// ExperimentalMode controls if experimental features are enabled
135-
ExperimentalMode bool `json:"experimentalMode"`
136134
// EnableCustomSSLCertificate controls if we need to support custom SSL certificates for git operations
137135
EnableCustomSSLCertificate bool `json:"enableCustomSSLCertificate"`
138136
}

components/ws-manager-mk2/controllers/create.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -348,18 +348,6 @@ func createDefiniteWorkspacePod(sctx *startWorkspaceContext) (*corev1.Pod, error
348348
},
349349
}
350350

351-
if sctx.Config.ExperimentalMode {
352-
matchExpressions = append(matchExpressions, corev1.NodeSelectorRequirement{
353-
Key: "gitpod.io/experimental",
354-
Operator: corev1.NodeSelectorOpExists,
355-
})
356-
} else {
357-
matchExpressions = append(matchExpressions, corev1.NodeSelectorRequirement{
358-
Key: "gitpod.io/experimental",
359-
Operator: corev1.NodeSelectorOpDoesNotExist,
360-
})
361-
}
362-
363351
affinity := &corev1.Affinity{
364352
NodeAffinity: &corev1.NodeAffinity{
365353
RequiredDuringSchedulingIgnoredDuringExecution: &corev1.NodeSelector{

dev/preview/infrastructure/modules/gce/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ variable "harvester_ingress_ip" {
4444
variable "vm_image" {
4545
type = string
4646
description = "The VM image"
47-
default = "gitpod-k3s-202308111617"
47+
default = "gitpod-k3s-202308150341"
4848
}
4949

5050
variable "cert_issuer" {

dev/preview/infrastructure/modules/harvester/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ variable "ssh_key" {
3333
variable "vm_image" {
3434
type = string
3535
description = "The VM image"
36-
default = "gitpod-k3s-202308111617"
36+
default = "gitpod-k3s-202308150341"
3737
}
3838

3939
variable "harvester_ingress_ip" {

dev/preview/infrastructure/scripts/bootstrap-k3s.sh

100644100755
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ export INSTALL_K3S_SKIP_DOWNLOAD=true
1818
--flannel-backend=none \
1919
--kubelet-arg config=/etc/kubernetes/kubelet-config.json \
2020
--kubelet-arg cgroup-driver=systemd \
21-
--kubelet-arg feature-gates=LocalStorageCapacityIsolation=true \
2221
--kubelet-arg feature-gates=LocalStorageCapacityIsolationFSQuotaMonitoring=true \
23-
--kube-apiserver-arg feature-gates=LocalStorageCapacityIsolation=true \
2422
--kube-apiserver-arg feature-gates=LocalStorageCapacityIsolationFSQuotaMonitoring=true \
2523
--cluster-init
2624

dev/preview/infrastructure/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ variable "vm_type" {
3535
variable "vm_image" {
3636
type = string
3737
description = "The VM image"
38-
default = "gitpod-k3s-202308111617"
38+
default = "gitpod-k3s-202308150341"
3939
}
4040

4141
variable "cert_issuer" {

gitpod-ws.code-workspace

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
{
6161
"path": "components/ws-daemon"
6262
},
63+
{
64+
"path": "components/ws-manager-api"
65+
},
6366
{
6467
"path": "components/ws-manager-mk2"
6568
},

install/installer/pkg/components/ws-manager-mk2/configmap.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
7777
}
7878

7979
var schedulerName string
80-
var experimentalMode bool
8180
gitpodHostURL := "https://" + ctx.Config.Domain
8281
workspaceClusterHost := fmt.Sprintf("ws%s.%s", installationShortNameSuffix, ctx.Config.Domain)
8382
workspaceURLTemplate := fmt.Sprintf("https://{{ .Prefix }}.ws%s.%s", installationShortNameSuffix, ctx.Config.Domain)
@@ -142,8 +141,6 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
142141
}
143142
rateLimits = ucfg.Workspace.WSManagerRateLimits
144143

145-
experimentalMode = ucfg.Workspace.UseMk2ExperimentalMode
146-
147144
return nil
148145
})
149146
if err != nil {
@@ -214,7 +211,6 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
214211
RegistryFacadeHost: fmt.Sprintf("reg.%s:%d", ctx.Config.Domain, common.RegistryFacadeServicePort),
215212
WorkspaceMaxConcurrentReconciles: 25,
216213
TimeoutMaxConcurrentReconciles: 15,
217-
ExperimentalMode: experimentalMode,
218214
},
219215
Content: struct {
220216
Storage storageconfig.StorageConfig `json:"storage"`

install/installer/pkg/config/v1/experimental/experimental.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ type WorkspaceConfig struct {
125125
} `json:"contentService"`
126126

127127
EnableProtectedSecrets *bool `json:"enableProtectedSecrets"`
128-
UseMk2ExperimentalMode bool `json:"useMk2ExperimentalMode,omitempty"`
129128
}
130129

131130
type WorkspaceClass struct {

0 commit comments

Comments
 (0)