fix: expose container to host only with labels (#1880)
Signed-off-by: ahmed.g <ahmed.g@adjoe.io> Signed-off-by: TessaIO <ahmedgrati1999@gmail.com>
This commit is contained in:
-4
@@ -68,10 +68,8 @@ spec:
|
||||
name: another-namenode
|
||||
ports:
|
||||
- containerPort: 50070
|
||||
hostPort: 50070
|
||||
protocol: TCP
|
||||
- containerPort: 8020
|
||||
hostPort: 8020
|
||||
protocol: TCP
|
||||
restartPolicy: Always
|
||||
|
||||
@@ -123,10 +121,8 @@ spec:
|
||||
name: namenode
|
||||
ports:
|
||||
- containerPort: 50070
|
||||
hostPort: 50070
|
||||
protocol: TCP
|
||||
- containerPort: 8020
|
||||
hostPort: 8020
|
||||
protocol: TCP
|
||||
restartPolicy: Always
|
||||
|
||||
|
||||
-4
@@ -78,10 +78,8 @@ spec:
|
||||
name: another-namenode
|
||||
ports:
|
||||
- containerPort: 50070
|
||||
hostPort: 50070
|
||||
protocol: TCP
|
||||
- containerPort: 8020
|
||||
hostPort: 8020
|
||||
protocol: TCP
|
||||
restartPolicy: Always
|
||||
test: false
|
||||
@@ -149,10 +147,8 @@ spec:
|
||||
name: namenode
|
||||
ports:
|
||||
- containerPort: 50070
|
||||
hostPort: 50070
|
||||
protocol: TCP
|
||||
- containerPort: 8020
|
||||
hostPort: 8020
|
||||
protocol: TCP
|
||||
restartPolicy: Always
|
||||
test: false
|
||||
|
||||
Reference in New Issue
Block a user