Skip to content

Commit

Permalink
cd: remove container host port requests
Browse files Browse the repository at this point in the history
  • Loading branch information
tyknkd committed May 19, 2024
1 parent 94d4dc1 commit 5c6cf64
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
env:
DEPLOYMENT_NAME: news-analyzer
run: |
helm upgrade $DEPLOYMENT_NAME deployment/ \
helm upgrade $DEPLOYMENT_NAME gke-deployment/ \
--install \
--wait
kubectl rollout status deployment/$DEPLOYMENT_NAME
Expand Down
4 changes: 0 additions & 4 deletions deployment/templates/data-analyzer-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@ spec:
configMapKeyRef:
key: WEBSERVER_HOST
name: env
ports:
- containerPort: 8887
hostPort: 8887
protocol: TCP
volumeMounts:
- mountPath: /run/secrets/mq-password
name: mq-password
Expand Down
4 changes: 0 additions & 4 deletions deployment/templates/data-collector-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@ spec:
configMapKeyRef:
key: WEBSERVER_HOST
name: env
ports:
- containerPort: 8886
hostPort: 8886
protocol: TCP
volumeMounts:
- mountPath: /run/secrets/mq-password
name: mq-password
Expand Down
4 changes: 0 additions & 4 deletions deployment/templates/db-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ spec:
configMapKeyRef:
key: POSTGRES_USER
name: env
ports:
- containerPort: 5432
hostPort: 5432
protocol: TCP
volumeMounts:
- mountPath: /run/secrets/postgres-password
name: postgres-password
Expand Down
4 changes: 0 additions & 4 deletions deployment/templates/grafana-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ spec:
value: publicDashboards
- name: GF_SECURITY_ADMIN_PASSWORD__FILE
value: /run/secrets/grafana-password
ports:
- containerPort: 3000
hostPort: 3000
protocol: TCP
volumeMounts:
- mountPath: /run/secrets/grafana-password
name: grafana-password
Expand Down
7 changes: 0 additions & 7 deletions deployment/templates/mq-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@ spec:
name: env
- name: RABBITMQ_LOGS
value: "-"
ports:
- containerPort: 5672
hostPort: 5672
protocol: TCP
- containerPort: 15692
hostPort: 15692
protocol: TCP
volumeMounts:
- mountPath: /run/secrets/mq-password
name: mq-password
Expand Down
4 changes: 0 additions & 4 deletions deployment/templates/prometheus-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ spec:
containers:
- name: prometheus
image: prom/prometheus:v2.51.2
ports:
- containerPort: 9090
hostPort: 9090
protocol: TCP
volumeMounts:
- mountPath: /etc/prometheus/prometheus.yml
name: prometheus-config
Expand Down
4 changes: 0 additions & 4 deletions deployment/templates/web-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ spec:
configMapKeyRef:
key: WEBSERVER_PORT
name: env
ports:
- containerPort: 8888
hostPort: 8888
protocol: TCP
volumeMounts:
- mountPath: /run/secrets/mq-password
name: mq-password
Expand Down

0 comments on commit 5c6cf64

Please sign in to comment.