Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

[stable/kiam] Update serer.service.name from grpc to grpclb #8002

Closed

Description

@alvgarvilla

Is this a request for help?:


BUG REPORT:

Version of Helm and Kubernetes:
Helm 2.10.0
Kubernetes 1.10.7

Which chart:
stable/kiam

What happened:
One of the templates (server-service.yaml) hasn't been updated with the original template https://github.com/uswitch/kiam/blob/master/deploy/server.yaml. The value:

  ports:
    - name: grpc
      port: {{ .Values.server.service.port }}
      targetPort: {{ .Values.server.service.targetPort }}
      protocol: TCP

should be

  ports:
    - name: grpclb
      port: {{ .Values.server.service.port }}
      targetPort: {{ .Values.server.service.targetPort }}
      protocol: TCP

So it causes issues with the DNS discovery:
uswitch/kiam#144

What you expected to happen:
server-service port name is equal to grpclb

How to reproduce it (as minimally and precisely as possible):
Install latest chart and see the logs of any of the agents, error like:
_"INFO: grpc: failed dns SRV record lookup due to lookup _grpclb.tcp.kiam-server on 100.64.0.10:53: no such host"
appears

Activity

  1. cpanato commented on Sep 27, 2018

    @cpanato
    Member

    thanks for the catch, doing a pr

  2. cpanato commented on Sep 27, 2018

    @cpanato
    Member
  3. alvgarvilla commented on Oct 3, 2018

    @alvgarvilla
    ContributorAuthor

    @cpanato thanks to you! I was about to do it myself right now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions