Commit c7bcd126 authored by Spiros Koulouzis's avatar Spiros Koulouzis

updated k8s files

parent 9ee95f23
...@@ -3,11 +3,11 @@ services: ...@@ -3,11 +3,11 @@ services:
rabbit: rabbit:
image: rabbitmq:3.8-management image: rabbitmq:3.8-management
ports: #ports:
- "5671-5672:5671-5672" #- "5671-5672:5671-5672"
- "15672:15672" #- "15672:15672"
- "4369:4369" #- "4369:4369"
- "15671:15671" #- "15671:15671"
mysql: mysql:
image: mysql:5.6 image: mysql:5.6
...@@ -16,8 +16,8 @@ services: ...@@ -16,8 +16,8 @@ services:
MYSQL_DATABASE: semaphore MYSQL_DATABASE: semaphore
MYSQL_USER: semaphore MYSQL_USER: semaphore
MYSQL_PASSWORD: semaphore MYSQL_PASSWORD: semaphore
ports: #ports:
- "3306:3306" #- "3306:3306"
semaphore: semaphore:
image: semaphore image: semaphore
...@@ -34,26 +34,26 @@ services: ...@@ -34,26 +34,26 @@ services:
SEMAPHORE_ADMIN: admin SEMAPHORE_ADMIN: admin
SEMAPHORE_WEB_ROOT: http://0.0.0.0:3000 SEMAPHORE_WEB_ROOT: http://0.0.0.0:3000
ports: ports:
- "3000:3000" - "30002:3000"
depends_on: depends_on:
- mysql - mysql
logspout: #logspout:
ports: #ports:
- "30002:80" #- "30002:80"
volumes: #volumes:
- /etc/hostname:/etc/host_hostname:ro #- /etc/hostname:/etc/host_hostname:ro
- /var/run/docker.sock:/var/run/docker.sock #- /var/run/docker.sock:/var/run/docker.sock
environment: #environment:
publish: "127.0.0.1:30002:80" #publish: "127.0.0.1:30002:80"
image: gliderlabs/logspout:latest #image: gliderlabs/logspout:latest
mongo: mongo:
image: mongo:4 image: mongo:4
ports: #ports:
- "27017:27017" #- "27017:27017"
manager: manager:
...@@ -61,7 +61,7 @@ services: ...@@ -61,7 +61,7 @@ services:
- rabbit - rabbit
- mongo - mongo
- sure-tosca - sure-tosca
image: manager:3.0.0 #manager:3.0.0 image: qcdis/manager:3.0.0
environment: environment:
RABBITMQ_HOST: rabbit RABBITMQ_HOST: rabbit
MONGO_HOST: mongo MONGO_HOST: mongo
...@@ -70,15 +70,15 @@ services: ...@@ -70,15 +70,15 @@ services:
- "30000:8080" - "30000:8080"
sure-tosca: sure-tosca:
image: sure-tosca:3.0.0 image: qcdis/sure-tosca:3.0.0
ports: ports:
- "8081:8081" - "30001:8081"
planner: planner:
depends_on: depends_on:
- rabbit - rabbit
- sure-tosca - sure-tosca
image: planner:3.0.0 #planner:3.0.0 image: qcdis/planner:3.0.0 #planner:3.0.0
environment: environment:
RABBITMQ_HOST: rabbit RABBITMQ_HOST: rabbit
...@@ -86,7 +86,7 @@ services: ...@@ -86,7 +86,7 @@ services:
depends_on: depends_on:
- rabbit - rabbit
- sure-tosca - sure-tosca
image: provisioner:3.0.0 #provisioner:3.0.0 image: qcdis/provisioner:3.0.0 #provisioner:3.0.0
environment: environment:
RABBITMQ_HOST: rabbit RABBITMQ_HOST: rabbit
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0 SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
...@@ -95,7 +95,7 @@ services: ...@@ -95,7 +95,7 @@ services:
depends_on: depends_on:
- rabbit - rabbit
- sure-tosca - sure-tosca
image: deployer:3.0.0 #deployer:3.0.0 image: qcdis/deployer:3.0.0 #deployer:3.0.0
environment: environment:
RABBITMQ_HOST: rabbit RABBITMQ_HOST: rabbit
SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0 SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
......
apiVersion: apps/v1 apiVersion: extensions/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose --file docker-compose.yml convert kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309) kompose.version: 1.16.0 (0c01309)
creationTimestamp: null creationTimestamp: null
labels: labels:
io.kompose.service: deployer io.kompose.service: deployer
name: deployer name: deployer
spec: spec:
selector:
matchLabels:
io.kompose.service: deployer
replicas: 1 replicas: 1
strategy: {} strategy: {}
template: template:
...@@ -24,9 +21,10 @@ spec: ...@@ -24,9 +21,10 @@ spec:
- env: - env:
- name: RABBITMQ_HOST - name: RABBITMQ_HOST
value: rabbit value: rabbit
image: alogo53/deployer:3.0.0 - name: SURE_TOSCA_BASE_PATH
value: http://sure-tosca:8081/tosca-sure/1.0.0
image: qcdis/deployer:3.0.0
name: deployer name: deployer
imagePullPolicy: Always
resources: {} resources: {}
restartPolicy: Always restartPolicy: Always
status: {} status: {}
apiVersion: apps/v1 apiVersion: extensions/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose --file docker-compose.yml convert kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309) kompose.version: 1.16.0 (0c01309)
creationTimestamp: null creationTimestamp: null
labels: labels:
...@@ -10,9 +10,6 @@ metadata: ...@@ -10,9 +10,6 @@ metadata:
name: manager name: manager
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
io.kompose.service: manager
strategy: {} strategy: {}
template: template:
metadata: metadata:
...@@ -28,9 +25,8 @@ spec: ...@@ -28,9 +25,8 @@ spec:
value: rabbit value: rabbit
- name: SURE_TOSCA_BASE_PATH - name: SURE_TOSCA_BASE_PATH
value: http://sure-tosca:8081/tosca-sure/1.0.0 value: http://sure-tosca:8081/tosca-sure/1.0.0
image: alogo53/manager:3.0.0 image: qcdis/manager:3.0.0
name: manager name: manager
imagePullPolicy: Always
ports: ports:
- containerPort: 8080 - containerPort: 8080
resources: {} resources: {}
......
...@@ -2,14 +2,13 @@ apiVersion: v1 ...@@ -2,14 +2,13 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose --file docker-compose.yml convert kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309) kompose.version: 1.16.0 (0c01309)
creationTimestamp: null creationTimestamp: null
labels: labels:
io.kompose.service: manager io.kompose.service: manager
name: manager name: manager
spec: spec:
type: NodePort
ports: ports:
- port: 8080 - port: 8080
nodePort: 30000 nodePort: 30000
......
apiVersion: apps/v1 apiVersion: extensions/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose --file docker-compose.yml convert kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309) kompose.version: 1.16.0 (0c01309)
creationTimestamp: null creationTimestamp: null
labels: labels:
...@@ -10,9 +10,6 @@ metadata: ...@@ -10,9 +10,6 @@ metadata:
name: mongo name: mongo
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
io.kompose.service: mongo
strategy: {} strategy: {}
template: template:
metadata: metadata:
......
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose --file docker-compose.yml convert
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
labels:
io.kompose.service: mongo
name: mongo
spec:
ports:
- name: "27017"
port: 27017
targetPort: 27017
selector:
io.kompose.service: mongo
status:
loadBalancer: {}
apiVersion: apps/v1 apiVersion: extensions/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose --file docker-compose.yml convert kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309) kompose.version: 1.16.0 (0c01309)
creationTimestamp: null creationTimestamp: null
labels: labels:
io.kompose.service: jupyter io.kompose.service: mysql
name: jupyter name: mysql
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
io.kompose.service: jupyter
strategy: {} strategy: {}
template: template:
metadata: metadata:
creationTimestamp: null creationTimestamp: null
labels: labels:
io.kompose.service: jupyter io.kompose.service: mysql
spec: spec:
containers: containers:
- env: - env:
- name: MONGO_HOST - name: MYSQL_DATABASE
value: mongo value: semaphore
- name: RABBITMQ_HOST - name: MYSQL_PASSWORD
value: rabbit value: semaphore
- name: SURE_TOSCA_BASE_PATH - name: MYSQL_RANDOM_ROOT_PASSWORD
value: http://sure-tosca:8081/tosca-sure/1.0.0 value: "yes"
image: jupyter/base-notebook - name: MYSQL_USER
name: jupyter value: semaphore
ports: image: mysql:5.6
- containerPort: 8888 name: mysql
resources: {} resources: {}
restartPolicy: Always restartPolicy: Always
status: {} status: {}
apiVersion: apps/v1 apiVersion: extensions/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose --file docker-compose.yml convert kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309) kompose.version: 1.16.0 (0c01309)
creationTimestamp: null creationTimestamp: null
labels: labels:
...@@ -10,9 +10,6 @@ metadata: ...@@ -10,9 +10,6 @@ metadata:
name: planner name: planner
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
io.kompose.service: planner
strategy: {} strategy: {}
template: template:
metadata: metadata:
...@@ -24,8 +21,7 @@ spec: ...@@ -24,8 +21,7 @@ spec:
- env: - env:
- name: RABBITMQ_HOST - name: RABBITMQ_HOST
value: rabbit value: rabbit
image: alogo53/planner:3.0.0 image: qcdis/planner:3.0.0
imagePullPolicy: Always
name: planner name: planner
resources: {} resources: {}
restartPolicy: Always restartPolicy: Always
......
apiVersion: apps/v1 apiVersion: extensions/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose --file docker-compose.yml convert kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309) kompose.version: 1.16.0 (0c01309)
creationTimestamp: null creationTimestamp: null
labels: labels:
...@@ -10,9 +10,6 @@ metadata: ...@@ -10,9 +10,6 @@ metadata:
name: provisioner name: provisioner
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
io.kompose.service: provisioner
strategy: {} strategy: {}
template: template:
metadata: metadata:
...@@ -26,8 +23,7 @@ spec: ...@@ -26,8 +23,7 @@ spec:
value: rabbit value: rabbit
- name: SURE_TOSCA_BASE_PATH - name: SURE_TOSCA_BASE_PATH
value: http://sure-tosca:8081/tosca-sure/1.0.0 value: http://sure-tosca:8081/tosca-sure/1.0.0
image: alogo53/provisioner:3.0.0 image: qcdis/provisioner:3.0.0
imagePullPolicy: Always
name: provisioner name: provisioner
resources: {} resources: {}
restartPolicy: Always restartPolicy: Always
......
apiVersion: apps/v1 apiVersion: extensions/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose --file docker-compose.yml convert kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309) kompose.version: 1.16.0 (0c01309)
creationTimestamp: null creationTimestamp: null
labels: labels:
...@@ -10,9 +10,6 @@ metadata: ...@@ -10,9 +10,6 @@ metadata:
name: rabbit name: rabbit
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
io.kompose.service: rabbit
strategy: {} strategy: {}
template: template:
metadata: metadata:
...@@ -23,12 +20,6 @@ spec: ...@@ -23,12 +20,6 @@ spec:
containers: containers:
- image: rabbitmq:3.8-management - image: rabbitmq:3.8-management
name: rabbit name: rabbit
ports:
- containerPort: 5671
- containerPort: 5672
- containerPort: 15672
- containerPort: 4369
- containerPort: 15671
resources: {} resources: {}
restartPolicy: Always restartPolicy: Always
status: {} status: {}
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose --file docker-compose.yml convert
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
labels:
io.kompose.service: rabbit
name: rabbit
spec:
ports:
- name: "5671"
port: 5671
targetPort: 5671
- name: "5672"
port: 5672
targetPort: 5672
- name: "15672"
port: 15672
targetPort: 15672
- name: "4369"
port: 4369
targetPort: 4369
- name: "15671"
port: 15671
targetPort: 15671
selector:
io.kompose.service: rabbit
status:
loadBalancer: {}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
labels:
io.kompose.service: semaphore
name: semaphore
spec:
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: semaphore
spec:
containers:
- env:
- name: SEMAPHORE_ADMIN
value: admin
- name: SEMAPHORE_ADMIN_EMAIL
value: admin@localhost
- name: SEMAPHORE_ADMIN_NAME
value: Developer
- name: SEMAPHORE_ADMIN_PASSWORD
value: password
- name: SEMAPHORE_DB
value: semaphore
- name: SEMAPHORE_DB_HOST
value: mysql
- name: SEMAPHORE_DB_PASS
value: semaphore
- name: SEMAPHORE_DB_PORT
value: "3306"
- name: SEMAPHORE_DB_USER
value: semaphore
- name: SEMAPHORE_PLAYBOOK_PATH
value: /etc/semaphore
- name: SEMAPHORE_WEB_ROOT
value: http://0.0.0.0:3000
image: semaphore
name: semaphore
ports:
- containerPort: 3000
resources: {}
restartPolicy: Always
status: {}
...@@ -2,18 +2,18 @@ apiVersion: v1 ...@@ -2,18 +2,18 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose --file docker-compose.yml convert kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309) kompose.version: 1.16.0 (0c01309)
creationTimestamp: null creationTimestamp: null
labels: labels:
io.kompose.service: jupyter io.kompose.service: semaphore
name: jupyter name: semaphore
spec: spec:
type: NodePort type: NodePort
ports: ports:
- port: 8888 - port: 3000
nodePort: 30003 nodePort: 30002
selector: selector:
io.kompose.service: jupyter io.kompose.service: semaphore
status: status:
loadBalancer: {} loadBalancer: {}
apiVersion: apps/v1 apiVersion: extensions/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose --file docker-compose.yml convert kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309) kompose.version: 1.16.0 (0c01309)
creationTimestamp: null creationTimestamp: null
labels: labels:
...@@ -10,9 +10,6 @@ metadata: ...@@ -10,9 +10,6 @@ metadata:
name: sure-tosca name: sure-tosca
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
io.kompose.service: sure-tosca
strategy: {} strategy: {}
template: template:
metadata: metadata:
...@@ -21,9 +18,10 @@ spec: ...@@ -21,9 +18,10 @@ spec:
io.kompose.service: sure-tosca io.kompose.service: sure-tosca
spec: spec:
containers: containers:
- image: alogo53/sure-tosca:3.0.0 - image: qcdis/sure-tosca:3.0.0
name: sure-tosca name: sure-tosca
imagePullPolicy: Always ports:
- containerPort: 8081
resources: {} resources: {}
restartPolicy: Always restartPolicy: Always
status: {} status: {}
...@@ -2,17 +2,17 @@ apiVersion: v1 ...@@ -2,17 +2,17 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose --file docker-compose.yml convert kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309) kompose.version: 1.16.0 (0c01309)
creationTimestamp: null creationTimestamp: null
labels: labels:
io.kompose.service: sure-tosca io.kompose.service: sure-tosca
name: sure-tosca name: sure-tosca
spec: spec:
type: NodePort
ports: ports:
- name: "8081" - port: 8081
port: 8081 nodePort: 30001
targetPort: 8081
selector: selector:
io.kompose.service: sure-tosca io.kompose.service: sure-tosca
status: status:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment