added kubernetes .json files
This commit is contained in:
parent
1e72f8cb8e
commit
dd259a8430
10
docker/mariadb/mariadb-service.json
Normal file
10
docker/mariadb/mariadb-service.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"id": "mariadbmaster",
|
||||||
|
"kind": "Service",
|
||||||
|
"apiVersion": "v1beta1",
|
||||||
|
"port": 3306,
|
||||||
|
"containerPort": 3306,
|
||||||
|
"selector": {
|
||||||
|
"name": "mariadb-master"
|
||||||
|
}
|
||||||
|
}
|
21
docker/mariadb/mariadb.json
Normal file
21
docker/mariadb/mariadb.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"id": "mariadb",
|
||||||
|
"desiredState": {
|
||||||
|
"manifest": {
|
||||||
|
"version": "v1beta1",
|
||||||
|
"id": "mariadb-1",
|
||||||
|
"containers": [{
|
||||||
|
"name": "mariadb",
|
||||||
|
"image": "docker.usersys.redhat.com/lhh1/rhel-osp-mariadb",
|
||||||
|
"env": [{
|
||||||
|
'name': 'DB_ROOT_PASSWORD',
|
||||||
|
'value': 'password'
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"name": "mariadb-master"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user