File tree 3 files changed +2
-14
lines changed
install/installer/pkg/common 3 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -37,21 +37,12 @@ const (
37
37
// ServiceTypeLabel help differentiate between port service and IDE service
38
38
ServiceTypeLabel = "serviceType"
39
39
40
- // GitpodDiskPressureLabel marks a node as having disk pressure (besides the root disk - used for the workspace SSDs, set by ws-daemon)
41
- GitpodDiskPressureLabel = "gitpod.io/diskPressure"
42
-
43
- // GitpodNodeServiceLabel marks a pod as providing a particular service to a node
44
- GitpodNodeServiceLabel = "gitpod.io/nodeService"
45
-
46
40
// TraceIDAnnotation adds a Jaeger/OpenTracing header to the pod so that we can trace it's behaviour
47
41
TraceIDAnnotation = "gitpod/traceid"
48
42
49
43
// CPULimitAnnotation enforces a strict CPU limit on a workspace by virtue of ws-daemon
50
44
CPULimitAnnotation = "gitpod.io/cpuLimit"
51
45
52
- // RequiredNodeServicesAnnotation lists all Gitpod services required on the node
53
- RequiredNodeServicesAnnotation = "gitpod.io/requiredNodeServices"
54
-
55
46
// ContainerIsGoneAnnotation is used as workaround for containerd https://github.com/containerd/containerd/pull/4214
56
47
// which might cause workspace container status propagation to fail, which in turn would keep a workspace running indefinitely.
57
48
ContainerIsGoneAnnotation = "gitpod.io/containerIsGone"
Original file line number Diff line number Diff line change @@ -305,7 +305,6 @@ func (m *Manager) createDefiniteWorkspacePod(startContext *startWorkspaceContext
305
305
kubernetes .WorkspaceImageSpecAnnotation : imageSpec ,
306
306
kubernetes .OwnerTokenAnnotation : startContext .OwnerToken ,
307
307
wsk8s .TraceIDAnnotation : startContext .TraceID ,
308
- wsk8s .RequiredNodeServicesAnnotation : "ws-daemon,registry-facade" ,
309
308
// TODO(cw): post Kubernetes 1.19 use GA form for settings those profiles
310
309
"container.apparmor.security.beta.kubernetes.io/workspace" : "unconfined" ,
311
310
// We're using a custom seccomp profile for user namespaces to allow clone, mount and chroot.
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import (
13
13
"strconv"
14
14
"strings"
15
15
16
- wsk8s "github.com/gitpod-io/gitpod/common-go/kubernetes"
17
16
config "github.com/gitpod-io/gitpod/installer/pkg/config/v1"
18
17
"github.com/gitpod-io/gitpod/installer/pkg/config/v1/experimental"
19
18
@@ -31,9 +30,8 @@ import (
31
30
32
31
func DefaultLabels (component string ) map [string ]string {
33
32
return map [string ]string {
34
- "app" : AppName ,
35
- "component" : component ,
36
- wsk8s .GitpodNodeServiceLabel : component ,
33
+ "app" : AppName ,
34
+ "component" : component ,
37
35
}
38
36
}
39
37
You can’t perform that action at this time.
0 commit comments