Skip to content

Update to drain-strategy and drain-time in k8s when using consul-k8s-control-plane inject-connect is not working as expected #4525

@sgunnala

Description

@sgunnala

Question

We use the consul:1.18.1 and consul-k8s-control-plane:1.4.1 in eks. we verified envoy values using the admin ui where drain-strategy and drain-time-s is set and don't match the default values as suggested in the documentation.
Trying to edit them using the annotations or deployment configurations isn't working.

annotations tried :
consul.hashicorp.com/envoy-extra-args: '--drain-strategy "gradual" --drain-time-s 60'
consul.hashicorp.com/dataplane-extra-args: '--drain-strategy "gradual" --drain-time-s 60'

attached a container to verify the running envoy process and we see this
--log-level info --disable-hot-restart --drain-time-s 30 --drain-strategy immediate --concurrency 2

Versions
EKS 1.29
consul:1.18.1
consul-k8s-control-plane:1.4.1

CLI Commands (consul-k8s, consul-k8s-control-plane, helm)

Helm Configuration

Logs

Current understanding and Expected behavior

Environment details

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/questionQuestion about product, ideally should be pointed to discuss.hashicorp.com

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions