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

Add support for Arm64 #176

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
7 changes: 6 additions & 1 deletion deployment/kubernetes/cdc-service/ftgo-cdc-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,25 @@ spec:
selector:
svc: ftgo-cdc-service
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: ftgo-cdc-service
labels:
application: ftgo
spec:
replicas: 1
selector:
matchLabels:
app: ftgo-cdc-service
svc: ftgo-cdc-service
strategy:
rollingUpdate:
maxUnavailable: 0
template:
metadata:
labels:
app: ftgo-cdc-service
svc: ftgo-cdc-service
spec:
containers:
Expand Down
2 changes: 1 addition & 1 deletion deployment/kubernetes/scripts/kubernetes-deploy-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ kubectl apply -f <(cat deployment/kubernetes/stateful-services/*.yml)

./deployment/kubernetes/scripts/kubernetes-wait-for-ready-pods.sh ftgo-mysql-0 ftgo-kafka-0 ftgo-dynamodb-local-0 ftgo-zookeeper-0

kubectl apply -f <(cat deployment/kubernetes/cdc-services/*.yml)
kubectl apply -f <(cat deployment/kubernetes/cdc-service/*.yml)

kubectl apply -f <(cat */src/deployment/kubernetes/*.yml)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
selector:
svc: ftgo-dynamodb-local
---
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: ftgo-dynamodb-local
Expand All @@ -18,14 +18,19 @@ metadata:
spec:
serviceName: "ftgo-dynamodb"
replicas: 1
selector:
matchLabels:
app: ftgo-dynamodb-local
svc: ftgo-dynamodb-local
template:
metadata:
labels:
app: ftgo-dynamodb-local
svc: ftgo-dynamodb-local
spec:
containers:
- name: ftgo-dynamodb-local
image: cnadiminti/dynamodb-local:2017-04-22_beta
image: amazon/dynamodb-local:latest
livenessProbe:
tcpSocket:
port: 8000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,27 @@ spec:
selector:
role: ftgo-kafka
---
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: ftgo-kafka
spec:
serviceName: "kafka"
replicas: 1
selector:
matchLabels:
app: ftgo-kafka
role: ftgo-kafka
template:
metadata:
labels:
app: ftgo-kafka
role: ftgo-kafka
spec:
terminationGracePeriodSeconds: 10
containers:
- name: ftgo-kafka
image: confluentinc/cp-kafka:5.2.4
image: confluentinc/cp-kafka:latest
env:
- name: KAFKA_ADVERTISED_LISTENERS
value: PLAINTEXT://ftgo-kafka:9092
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,27 @@ spec:
selector:
role: ftgo-mysql
---
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: ftgo-mysql
spec:
serviceName: "mysql"
replicas: 1
selector:
matchLabels:
app: ftgo-mysql
role: ftgo-mysql
template:
metadata:
labels:
app: ftgo-mysql
role: ftgo-mysql
spec:
terminationGracePeriodSeconds: 10
containers:
- name: ftgo-mysql
image: msapatterns/mysql:latest
image: mysql:latest
imagePullPolicy: Always
args:
- "--ignore-db-dir=lost+found"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,27 @@ spec:
selector:
role: ftgo-zookeeper
---
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: ftgo-zookeeper
spec:
serviceName: "zookeeper"
replicas: 1
selector:
matchLabels:
role: ftgo-zookeeper
app: ftgo-zookeeper
template:
metadata:
labels:
app: ftgo-zookeeper
role: ftgo-zookeeper
spec:
terminationGracePeriodSeconds: 10
containers:
- name: ftgo-zookeeper
image: confluentinc/cp-zookeeper:5.2.4
image: confluentinc/cp-zookeeper:latest
ports:
- containerPort: 2181
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,26 @@ spec:
selector:
svc: ftgo-accounting-service
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: ftgo-accounting-service
labels:
application: ftgo
spec:
replicas: 1
selector:
matchLabels:
app: ftgo-accounting-service
svc: ftgo-accounting-service
application: ftgo
strategy:
rollingUpdate:
maxUnavailable: 0
template:
metadata:
labels:
app: ftgo-accounting-service
svc: ftgo-accounting-service
application: ftgo
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,26 @@ spec:
# loadBalancerSourceRanges:
# - 88.128.82.195/32
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: ftgo-api-gateway
labels:
application: ftgo
spec:
replicas: 1
selector:
matchLabels:
app: ftgo-api-gateway
svc: ftgo-api-gateway
application: ftgo
strategy:
rollingUpdate:
maxUnavailable: 0
template:
metadata:
labels:
app: ftgo-api-gateway
svc: ftgo-api-gateway
application: ftgo
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,26 @@ spec:
selector:
svc: ftgo-consumer-service
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: ftgo-consumer-service
labels:
application: ftgo
spec:
replicas: 1
selector:
matchLabels:
app: ftgo-consumer-service
svc: ftgo-consumer-service
application: ftgo
strategy:
rollingUpdate:
maxUnavailable: 0
template:
metadata:
labels:
app: ftgo-consumer-service
svc: ftgo-consumer-service
application: ftgo
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,26 @@ spec:
selector:
svc: ftgo-kitchen-service
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: ftgo-kitchen-service
labels:
application: ftgo
spec:
replicas: 1
selector:
matchLabels:
app: ftgo-kitchen-service
svc: ftgo-kitchen-service
application: ftgo
strategy:
rollingUpdate:
maxUnavailable: 0
template:
metadata:
labels:
app: ftgo-kitchen-service
svc: ftgo-kitchen-service
application: ftgo
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,26 @@ spec:
selector:
svc: ftgo-order-history-service
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: ftgo-order-history-service
labels:
application: ftgo
spec:
replicas: 1
selector:
matchLabels:
app: ftgo-order-history-service
svc: ftgo-order-history-service
application: ftgo
strategy:
rollingUpdate:
maxUnavailable: 0
template:
metadata:
labels:
app: ftgo-order-history-service
svc: ftgo-order-history-service
application: ftgo
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,26 @@ spec:
selector:
svc: ftgo-order-service
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: ftgo-order-service
labels:
application: ftgo
spec:
replicas: 1
selector:
matchLabels:
app: ftgo-order-service
svc: ftgo-order-service
application: ftgo
strategy:
rollingUpdate:
maxUnavailable: 0
template:
metadata:
labels:
app: ftgo-order-service
svc: ftgo-order-service
application: ftgo
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
selector:
svc: ftgo-restaurant-service
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: ftgo-restaurant-service
Expand All @@ -18,12 +18,18 @@ metadata:
svc: ftgo-restaurant-service
spec:
replicas: 1
selector:
matchLabels:
app: ftgo-restaurant-service
svc: ftgo-restaurant-service
application: ftgo
strategy:
rollingUpdate:
maxUnavailable: 0
template:
metadata:
labels:
app: ftgo-restaurant-service
svc: ftgo-restaurant-service
application: ftgo
spec:
Expand Down