@@ -10,13 +10,14 @@ function (slug, sha) {
"items": [
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"labels": {
"app": "symposion-app"
"app": "symposion-app",
"slug": slug
},
"name": app,
"namespace": namespace
"spec": {
"ports": [
@@ -24,34 +25,37 @@ function (slug, sha) {
"port": 8000,
"protocol": "TCP",
"targetPort": 8000
}
],
"selector": {
"sessionAffinity": "None",
"type": "ClusterIP"
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"slug": slug,
"replicas": 1,
"revisionHistoryLimit": 1,
"matchLabels": {
"strategy": {
"rollingUpdate": {
"maxSurge": 1,
"maxUnavailable": 1