How to create a service for an existing deployment called "alle" on port 8080 so the Pod(s) accessible via a Load Balancer?
Answer
The imperative way:
kubectl expose deployment alle --type=LoadBalancer --port 8080
The imperative way:
kubectl expose deployment alle --type=LoadBalancer --port 8080