Skip to content

Commit 944cdd1

Browse files
author
Nik Mohamad Aizuddin b. Nik Azmi
committed
fix: Remove port bindings to prevent conflicts with other users
1 parent 92d582a commit 944cdd1

4 files changed

Lines changed: 0 additions & 23 deletions

File tree

kafka-pubsub/kafka-pod.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,11 @@ spec:
77
containers:
88
- name: zookeeper
99
image: docker.io/bitnami/zookeeper:3.6.2
10-
ports:
11-
- containerPort: 2181
12-
protocol: tcp
1310
env:
1411
- name: ALLOW_ANONYMOUS_LOGIN
1512
value: yes
1613
- name: kafka
1714
image: docker.io/bitnami/kafka:2.6.0
18-
ports:
19-
- containerPort: 9092
20-
protocol: tcp
2115
env:
2216
- name: KAFKA_BROKER_ID
2317
value: 1

kong-podman/kong-pod.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@ spec:
77
containers:
88
- name: kong
99
image: docker.io/library/kong:2.3.0
10-
ports:
11-
- containerPort: 8000
12-
hostPort: 8000
13-
protocol: tcp
14-
- containerPort: 8443
15-
protocol: tcp
16-
- containerPort: 8001
17-
protocol: tcp
18-
- containerPort: 8444
19-
protocol: tcp
2010
volumeMounts:
2111
- mountPath: /etc/kong/kong.conf
2212
name: kongconf

kong-podman/postgres-pod.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ spec:
77
containers:
88
- name: postgres
99
image: docker.io/postgres:13.1-alpine
10-
ports:
11-
- containerPort: 5432
12-
protocol: tcp
1310
env:
1411
- name: POSTGRES_PASSWORD
1512
value: abcde12345

zeromq-pushpull/zeromq-pushpull-pod.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ spec:
88
- name: producer
99
image: extra2000/zeromq-pushpull/pushpull
1010
command: ['npm', 'run', 'producer']
11-
ports:
12-
- containerPort: 3000
13-
hostPort: 3000
14-
protocol: tcp
1511
- name: worker
1612
image: extra2000/zeromq-pushpull/pushpull
1713
command: ['npm', 'run', 'worker']

0 commit comments

Comments
 (0)