added kubernetes .json files

This commit is contained in:
Lars Kellogg-Stedman 2014-09-18 11:48:58 -04:00
parent 1e72f8cb8e
commit dd259a8430
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,10 @@
{
"id": "mariadbmaster",
"kind": "Service",
"apiVersion": "v1beta1",
"port": 3306,
"containerPort": 3306,
"selector": {
"name": "mariadb-master"
}
}

View 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"
}
}