Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 39,511
    • Issues 39,511
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1,221
    • Merge requests 1,221
  • Requirements
    • Requirements
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #276888

Closed
Open
Created Nov 05, 2020 by Alexander Tanayno@atanaynoDeveloper

It is not possible to configure gitlab-kas to work with grpc without directly editing gitlab-kas deployment

Summary

Our GitLab Kubernetes Agent docs mention that kas-address on the Agent side can be set to wss, ws or grpc scheme. Though when it is set to grpc address like grpc://gitlab-kas.<gitlab-namespace>:5005, the connection fails with code = Unavailable desc = connection closed".

It is possible to make it work via grpc if one edits gitlab-kas deployment and sets --listen-websocket to false but it should be possible to set grpc scheme on gitlab-kas chart via values.yaml

Steps to reproduce

  • follow the doc GitLab Kubernetes Agent and configure Agent to use grpc scheme
  • observe the error in the agent logs: code = Unavailable desc = connection closed"

What is the current bug behavior?

It is not possible to set grpc scheme via gitlab-kas subchart values without modifying gitlab-kas deployment directly.

What is the expected correct behavior?

It should be possible to set grpc scheme via gitlab-kas subchart values.

Additional notes

--listen-websocket=true is currently hardcoded on the chart.

  • discussed in https://gitlab.slack.com/archives/CB07X8AQ3/p1604480801084300
Assignee
Assign to
Time tracking