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

make it run with kubernetes 1.16 #3

Open
wants to merge 1 commit 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
9 changes: 6 additions & 3 deletions K8s/descriptors/cart-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
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:
replicas: 1
selector:
matchLabels:
app: cart
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: {}
9 changes: 6 additions & 3 deletions K8s/descriptors/catalogue-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
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:
replicas: 1
selector:
matchLabels:
app: catalogue
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: {}
9 changes: 6 additions & 3 deletions K8s/descriptors/dispatch-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
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:
replicas: 1
selector:
matchLabels:
app: dispatch
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: {}
9 changes: 6 additions & 3 deletions K8s/descriptors/mongodb-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
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:
replicas: 1
selector:
matchLabels:
app: mongodb
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: {}
9 changes: 6 additions & 3 deletions K8s/descriptors/mysql-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
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:
replicas: 1
selector:
matchLabels:
app: mysql
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: {}
9 changes: 6 additions & 3 deletions K8s/descriptors/payment-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
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:
replicas: 1
selector:
matchLabels:
app: payment
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: {}
9 changes: 6 additions & 3 deletions K8s/descriptors/rabbitmq-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
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:
replicas: 1
selector:
matchLabels:
app: rabbitmq
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: {}
9 changes: 6 additions & 3 deletions K8s/descriptors/ratings-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
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:
replicas: 1
selector:
matchLabels:
app: ratings
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: {}
9 changes: 6 additions & 3 deletions K8s/descriptors/redis-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
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:
replicas: 1
selector:
matchLabels:
app: redis
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: redis
app: redis
spec:
containers:
- image: redis:4.0.6
Expand Down
Loading