Skip to content

Commit ac9a04a

Browse files
author
vinfry
authored
Add koken.yaml
1 parent 487515f commit ac9a04a

File tree

1 file changed

+110
-0
lines changed

1 file changed

+110
-0
lines changed

koken.yaml

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
apiVersion: v1
2+
kind: ReplicationController
3+
metadata:
4+
name: $APP_NAME|default:Koken| Enter your application name$
5+
kuberdock:
6+
packageID: 0
7+
preDescription: |
8+
You are installing the application [b]Koken[/b].
9+
[b]Koken[/b] is a free website publishing system developed for photographers, designers and creative DIYs
10+
Choose the amount of resources or use recommended parameters set by default.
11+
First choose package.
12+
When you click "Order now", you will get to order processing page.
13+
postDescription: |
14+
You have installed [b]Koken[/b]
15+
Please find more information about Koken on the official helpsite [url]http://help.koken.me/[/url]
16+
To access [b]Koken[/b] use this link: [url]http://%PUBLIC_ADDRESS%/[/url]
17+
18+
Please, restart pod after installation.
19+
20+
# required for cPanel to do proxy to user`s domain
21+
# proxy:
22+
# root:
23+
# container: koken
24+
# domain: $APP_DOMAIN|default:user_domain_list|Select application domain$
25+
appPackages:
26+
- name: S
27+
goodFor: beginner
28+
publicIP: true
29+
pods:
30+
-
31+
name: $APP_NAME$
32+
kubeType: 0
33+
containers:
34+
- name: koken
35+
kubes: 5
36+
persistentDisks:
37+
- name: koken-www-persistent-storage
38+
pdSize: 1
39+
persistentDisks:
40+
- name: koken-mysql-persistent-storage
41+
pdSize: 1
42+
- name: M
43+
recommended: yes
44+
goodFor: regular use
45+
publicIP: true
46+
pods:
47+
-
48+
name: $APP_NAME$
49+
kubeType: 1
50+
containers:
51+
- name: koken
52+
kubes: 5
53+
persistentDisks:
54+
- name: koken-www-persistent-storage
55+
pdSize: 1
56+
persistentDisks:
57+
- name: koken-mysql-persistent-storage
58+
pdSize: 1
59+
- name: L
60+
goodFor: business
61+
publicIP: true
62+
pods:
63+
-
64+
name: $APP_NAME$
65+
kubeType: 2
66+
containers:
67+
- name: koken
68+
kubes: 5
69+
persistentDisks:
70+
- name: koken-www-persistent-storage
71+
pdSize: 2
72+
persistentDisks:
73+
- name: koken-mysql-persistent-storage
74+
pdSize: 2
75+
spec:
76+
template:
77+
metadata:
78+
labels:
79+
name: $APP_NAME$
80+
spec:
81+
volumes:
82+
- name: koken-www-persistent-storage
83+
persistentDisk:
84+
pdName: koken_www_$PD_RAND|default:autogen|PD rand$
85+
- name: koken-mysql-persistent-storage
86+
persistentDisk:
87+
pdName: koken_mysql_$PD_RAND$
88+
restartPolicy: "Always"
89+
containers:
90+
-
91+
name: koken
92+
image: koken/koken-lemp
93+
env:
94+
- name: PATH
95+
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
96+
- name: HOME
97+
value: /root
98+
ports:
99+
- containerPort: 8080
100+
podPort: 80
101+
isPublic: True
102+
readinessProbe:
103+
tcpSocket:
104+
port: 80
105+
initialDelaySeconds: 5
106+
volumeMounts:
107+
- mountPath: /usr/share/nginx/www
108+
name: koken-www-persistent-storage
109+
- mountPath: /var/lib/mysql
110+
name: koken-mysql-persistent-storage

0 commit comments

Comments
 (0)