Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow "loadBalancerIP" in Deployer properties #3645

Closed
xetra11 opened this issue Nov 20, 2019 · 1 comment
Closed

Allow "loadBalancerIP" in Deployer properties #3645

xetra11 opened this issue Nov 20, 2019 · 1 comment
Labels
type/question Is a question

Comments

@xetra11
Copy link

xetra11 commented Nov 20, 2019

Problem description:
We want to access the Source Stream via external IP. Creating a LoadBalancer via the Deployer properties works to an extend. If we redeploy the Stream the IP is changing. That is a problem since we want to apply a internal domain name to that source. Without being able to attach an static IP this is not possible.

Solution description:
Allow the loadBalancerIP property in the Deployer properties

Description of alternatives:
Maybe deploying an Ingress besides the LoadBalancer and giving having ingressAnnotations (similar to podAnnotation properties) might work, too.

Additional context:

kind: Service
metadata:
  name: helloweb
  labels:
    app: hello
spec:
  selector:
    app: hello
    tier: web
  ports:
  - port: 80
    targetPort: 8080
  type: LoadBalancer
  loadBalancerIP: "YOUR.IP.ADDRESS.HERE"
@sabbyanandan
Copy link
Contributor

@xetra11. We recommend handling this with the help of an explicit LoadBalancer (LB) configuration that remains static regardless of whatever happens to your application. Along with the label selector support we have in the K8s-deployer, you'd then be able to use the deployer.<yourapp>.kubernetes.deploymentLabels property to pass the label included in the LB, so the traffic can be routed predictably.

I described the configuration with an example on the duplicate post of this topic in StackOverflow.

I hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Is a question
Projects
None yet
Development

No branches or pull requests

2 participants