-
Notifications
You must be signed in to change notification settings - Fork 0
/
gdkube.yml
48 lines (48 loc) · 1021 Bytes
/
gdkube.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
apiVersion: v1
kind: Service
metadata:
name: gdk
labels:
app: gdk
spec:
ports:
- port: 3000
selector:
app: gdk
type: NodePort
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: gdk
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: gdk
template:
metadata:
labels:
app: gdk
spec:
containers:
- name: gdk
image: registry.gitlab.com/gitlab-org/gitlab-development-kit
imagePullPolicy: Always
ports:
- name: gdk
containerPort: 3000
command:
- /bin/bash
- -c
- >
source /home/gdk/.bash_profile;
gem install gitlab-development-kit;
cd /home/gdk;
git clone https://gitlab.com/gitlab-org/gitlab-development-kit.git;
cd gitlab-development-kit;
echo 'hostname: 0.0.0.0' > gdk.yml;
gdk install;
gdk start;
gdk tail