-
Notifications
You must be signed in to change notification settings - Fork 13
/
koken.yaml
112 lines (110 loc) · 3.25 KB
/
koken.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
apiVersion: v1
kind: ReplicationController
metadata:
name: $APP_NAME|default:Koken| Enter your application name$
kuberdock:
packageID: 0
preDescription: |
You are installing the application [b]Koken[/b].
[b]Koken[/b] is a free website publishing system developed for photographers, designers and creative DIYs
Choose the amount of resources or use recommended parameters set by default.
First choose package.
When you click "Order now", you will get to order processing page.
postDescription: |
You have installed [b]Koken[/b]
Please find more information about Koken on the official helpsite [url]http://help.koken.me/[/url]
To access [b]Koken[/b] use this link: [url]http://%PUBLIC_ADDRESS%/[/url]
Please, restart pod after installation.
# required for cPanel to do proxy to user`s domain
# proxy:
# root:
# container: koken
# domain: $APP_DOMAIN|default:user_domain_list|Select application domain$
appPackages:
- name: S
goodFor: beginner
publicIP: true
pods:
-
name: $APP_NAME$
kubeType: 0
containers:
- name: koken
kubes: 5
persistentDisks:
- name: koken-www-persistent-storage
pdSize: 1
persistentDisks:
- name: koken-mysql-persistent-storage
pdSize: 1
- name: M
recommended: yes
goodFor: regular use
publicIP: true
pods:
-
name: $APP_NAME$
kubeType: 1
containers:
- name: koken
kubes: 5
persistentDisks:
- name: koken-www-persistent-storage
pdSize: 1
persistentDisks:
- name: koken-mysql-persistent-storage
pdSize: 1
- name: L
goodFor: business
publicIP: true
pods:
-
name: $APP_NAME$
kubeType: 2
containers:
- name: koken
kubes: 5
persistentDisks:
- name: koken-www-persistent-storage
pdSize: 2
persistentDisks:
- name: koken-mysql-persistent-storage
pdSize: 2
spec:
template:
metadata:
labels:
name: $APP_NAME$
spec:
volumes:
- name: koken-www-persistent-storage
persistentDisk:
pdName: koken_www_$PD_RAND|default:autogen|PD rand$
- name: koken-mysql-persistent-storage
persistentDisk:
pdName: koken_mysql_$PD_RAND$
restartPolicy: "Always"
containers:
-
name: koken
image: kuberdock/koken-lemp:2014.08
env:
- name: PATH
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- name: HOME
value: /root
ports:
- containerPort: 8080
podPort: 80
isPublic: True
readinessProbe:
httpGet:
path: /
scheme: HTTP
port: 80
initialDelaySeconds: 5
volumeMounts:
- mountPath: /usr/share/nginx/www
name: koken-www-persistent-storage
- mountPath: /var/lib/mysql
name: koken-mysql-persistent-storage