Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding support for k8s #12

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions K8s/descriptors/cart-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose -f ../docker-compose.yaml convert
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: cart
app: cart
name: cart
spec:
selector:
matchLabels:
app: cart
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: cart
app: cart
spec:
containers:
- image: linuxacademycontent/rs-cart:latest
Expand Down
4 changes: 2 additions & 2 deletions K8s/descriptors/cart-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ metadata:
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: cart
app: cart
name: cart
spec:
ports:
- name: "8080"
port: 8080
targetPort: 8080
selector:
io.kompose.service: cart
app: cart
status:
loadBalancer: {}
10 changes: 6 additions & 4 deletions K8s/descriptors/catalogue-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose -f ../docker-compose.yaml convert
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: catalogue
app: catalogue
name: catalogue
spec:
selector:
matchLabels:
app: catalogue
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: catalogue
app: catalogue
spec:
containers:
- image: linuxacademycontent/rs-catalogue:latest
Expand Down
4 changes: 2 additions & 2 deletions K8s/descriptors/catalogue-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ metadata:
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: catalogue
app: catalogue
name: catalogue
spec:
ports:
- name: "8080"
port: 8080
targetPort: 8080
selector:
io.kompose.service: catalogue
app: catalogue
status:
loadBalancer: {}
10 changes: 6 additions & 4 deletions K8s/descriptors/dispatch-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose -f ../docker-compose.yaml convert
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: dispatch
app: dispatch
name: dispatch
spec:
selector:
matchLabels:
app: dispatch
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: dispatch
app: dispatch
spec:
containers:
- image: linuxacademycontent/rs-dispatch:latest
Expand Down
4 changes: 2 additions & 2 deletions K8s/descriptors/dispatch-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: dispatch
app: dispatch
name: dispatch
spec:
clusterIP: None
Expand All @@ -15,6 +15,6 @@ spec:
port: 55555
targetPort: 0
selector:
io.kompose.service: dispatch
app: dispatch
status:
loadBalancer: {}
10 changes: 6 additions & 4 deletions K8s/descriptors/mongodb-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose -f ../docker-compose.yaml convert
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: mongodb
app: mongodb
name: mongodb
spec:
selector:
matchLabels:
app: mongodb
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: mongodb
app: mongodb
spec:
containers:
- image: linuxacademycontent/rs-mongodb:latest
Expand Down
4 changes: 2 additions & 2 deletions K8s/descriptors/mongodb-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ metadata:
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: mongodb
app: mongodb
name: mongodb
spec:
ports:
- name: "27017"
port: 27017
targetPort: 27017
selector:
io.kompose.service: mongodb
app: mongodb
status:
loadBalancer: {}
10 changes: 6 additions & 4 deletions K8s/descriptors/mysql-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose -f ../docker-compose.yaml convert
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: mysql
app: mysql
name: mysql
spec:
selector:
matchLabels:
app: mysql
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: mysql
app: mysql
spec:
containers:
- image: linuxacademycontent/rs-mysql-db:latest
Expand Down
4 changes: 2 additions & 2 deletions K8s/descriptors/mysql-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ metadata:
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: mysql
app: mysql
name: mysql
spec:
ports:
- name: "3306"
port: 3306
targetPort: 3306
selector:
io.kompose.service: mysql
app: mysql
status:
loadBalancer: {}
10 changes: 6 additions & 4 deletions K8s/descriptors/payment-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose -f ../docker-compose.yaml convert
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: payment
app: payment
name: payment
spec:
selector:
matchLabels:
app: payment
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: payment
app: payment
spec:
containers:
- image: linuxacademycontent/rs-payment:latest
Expand Down
4 changes: 2 additions & 2 deletions K8s/descriptors/payment-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ metadata:
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: payment
app: payment
name: payment
spec:
ports:
- name: "8080"
port: 8080
targetPort: 8080
selector:
io.kompose.service: payment
app: payment
status:
loadBalancer: {}
10 changes: 6 additions & 4 deletions K8s/descriptors/rabbitmq-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose -f ../docker-compose.yaml convert
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: rabbitmq
app: rabbitmq
name: rabbitmq
spec:
selector:
matchLabels:
app: rabbitmq
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: rabbitmq
app: rabbitmq
spec:
containers:
- image: rabbitmq:3.7-management-alpine
Expand Down
4 changes: 2 additions & 2 deletions K8s/descriptors/rabbitmq-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: rabbitmq
app: rabbitmq
name: rabbitmq
spec:
ports:
Expand All @@ -17,6 +17,6 @@ spec:
port: 15672
targetPort: 15672
selector:
io.kompose.service: rabbitmq
app: rabbitmq
status:
loadBalancer: {}
10 changes: 6 additions & 4 deletions K8s/descriptors/ratings-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose -f ../docker-compose.yaml convert
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: ratings
app: ratings
name: ratings
spec:
selector:
matchLabels:
app: ratings
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: ratings
app: ratings
spec:
containers:
- image: linuxacademycontent/rs-ratings:latest
Expand Down
4 changes: 2 additions & 2 deletions K8s/descriptors/ratings-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ metadata:
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: ratings
app: ratings
name: ratings
spec:
ports:
- name: "80"
port: 80
targetPort: 80
selector:
io.kompose.service: ratings
app: ratings
status:
loadBalancer: {}
10 changes: 6 additions & 4 deletions K8s/descriptors/redis-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose -f ../docker-compose.yaml convert
kompose.version: 1.10.0 (8bb0907)
creationTimestamp: null
labels:
io.kompose.service: redis
app: redis
name: redis
spec:
selector:
matchLabels:
app: redis
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: redis
app: redis
spec:
containers:
- image: redis:4.0.6
Expand Down
Loading