File tree 5 files changed +118
-0
lines changed
5 files changed +118
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ pod=outyet
4
+ img=golang
5
+ new_pod=outyet-debug
6
+
7
+ kubectl debug -it $pod \
8
+ --image $img \
9
+ --share-processes \
10
+ --copy-to=$new_pod
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ pod=outyet
4
+ img=ghcr.io/l0rd/outyet-dev:latest
5
+ container=outyet
6
+
7
+ k debug -it $pod \
8
+ --image $img \
9
+ --target $container
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ pod=outyet
4
+ img=ghcr.io/l0rd/outyet-dev:latest
5
+ new_pod=outyet-debug
6
+ repo=https://github.com/l0rd/outyet.git
7
+
8
+ kubectl debug-ide $pod \
9
+ --image $img \
10
+ --share-processes \
11
+ --copy-to=$new_pod \
12
+ --git-repository $repo
Original file line number Diff line number Diff line change
1
+ kind : DevWorkspace
2
+ apiVersion : workspace.devfile.io/v1alpha2
3
+ metadata :
4
+ name : outyet-dw
5
+ spec :
6
+ started : true
7
+ template :
8
+ attributes :
9
+ controller.devfile.io/storage-type : ephemeral
10
+ projects :
11
+ - name : outyet
12
+ git :
13
+ remotes :
14
+ origin : https://github.com/l0rd/outyet.git
15
+ components :
16
+ - name : dev-tooling
17
+ container :
18
+ image : ghcr.io/l0rd/outyet-dev:latest
19
+ memoryRequest : 2G
20
+ memoryLimit : 10G
21
+ cpuRequest : ' 1'
22
+ cpuLimit : ' 4'
23
+ contributions :
24
+ - name : che-code
25
+ uri : https://eclipse-che.github.io/che-plugin-registry/main/v3/plugins/che-incubator/che-code/latest/devfile.yaml
26
+ components :
27
+ - name : che-code-runtime-description
28
+ container :
29
+ env :
30
+ - name : CODE_HOST
31
+ value : 0.0.0.0
32
+
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Pod
3
+ metadata :
4
+ name : outyet
5
+ labels :
6
+ app : outyet
7
+ spec :
8
+ securityContext :
9
+ runAsNonRoot : true
10
+ containers :
11
+ - name : outyet
12
+ image : ghcr.io/l0rd/outyet:latest
13
+ ports :
14
+ - containerPort : 8080
15
+ protocol : TCP
16
+ resources :
17
+ limits :
18
+ memory : " 128Mi"
19
+ cpu : " 500m"
20
+ securityContext :
21
+ allowPrivilegeEscalation : false
22
+ capabilities :
23
+ drop :
24
+ - " ALL"
25
+ seccompProfile :
26
+ type : RuntimeDefault
27
+ ---
28
+ kind : Service
29
+ apiVersion : v1
30
+ metadata :
31
+ labels :
32
+ app : outyet
33
+ name : outyet-service
34
+ spec :
35
+ ports :
36
+ - port : 8080
37
+ protocol : TCP
38
+ targetPort : 8080
39
+ selector :
40
+ app : outyet
41
+ type : ClusterIP
42
+ ---
43
+ apiVersion : route.openshift.io/v1
44
+ kind : Route
45
+ metadata :
46
+ labels :
47
+ app : outyet
48
+ name : outyet-route
49
+ spec :
50
+ port :
51
+ targetPort : 8080
52
+ to :
53
+ kind : Service
54
+ name : outyet-service
55
+ ---
You can’t perform that action at this time.
0 commit comments