Closed BuddhiWathsala closed 5 years ago
K8s service creation returns an issue when we going to expose the same port more than twice. To fix this issue.
$subject
Create a slice to contain already exposed ports. If the given port is in that slice we are not going to expose it again.
Fix the issue of service creation, when the user gives the same port more than twise in the app.
minikube version: v1.2.0
Purpose
K8s service creation returns an issue when we going to expose the same port more than twice. To fix this issue.
Goals
$subject
Approach
Create a slice to contain already exposed ports. If the given port is in that slice we are not going to expose it again.
Release note
Fix the issue of service creation, when the user gives the same port more than twise in the app.
Test environment
minikube version: v1.2.0