-
Friends, I am trying to configure the CloudNativePG operator to work with linkerd without luck so far. At this point I can confirm adding this will make cnpg work properly (especially the init cluster import part)
Please advice |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
-
I believe I found the root cause, CloudNativePG have implemeted
Is there a way to enable it for the given use case and not globally?
I confirm I have no issues when enabled globally but this doesn't look optimal?
|
Beta Was this translation helpful? Give feedback.
-
@olix0r maybe it's now the time to ask about Here is sample config
|
Beta Was this translation helpful? Give feedback.
-
Yeah, native sidecars are definitely preferable in general, but they're a beta feature in kubernetes and the support has been inconsistent across cloud providers. If your cluster supports them properly, there should be no harm in enabling the feature cluster-wide via the helm chart.
Oliver Gould < ***@***.*** >
…On Thu, Sep 26 2024 at 23:46, 99hops < ***@***.*** > wrote:
@olix0r ( https://github.com/olix0r ) maybe it's now the time to ask about
config.alpha.linkerd.io/proxy-enable-native-sidecar: enabled
Reading the docs here (
https://linkerd.io/2.16/tasks/graceful-shutdown/#native-sidecar ) I got the
impression that this flag is enough by itself to not allow linkerd-proxy
to be the only container left running but it seems this is not the case? 😸
Here is sample config
---
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name:
postgresql
namespace: dev
spec:
inheritedMetadata:
annotations:
config.alpha.linkerd.io/proxy-enable-native-sidecar: enabled
—
Reply to this email directly, view it on GitHub (
#13105 (comment)
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAB2YYVPPKGNPQ64BEMHRADZYT5MPAVCNFSM6AAAAABO4NBLM6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZXGE2DOMA
).
You are receiving this because you were mentioned. Message ID: <linkerd/linkerd2/repo-discussions/13105/comments/10771470
@ github. com>
|
Beta Was this translation helpful? Give feedback.
Actually, there is, but the docs haven't been updated yet ;) (sorry, it's a known gap and we'll fix it.) The annotation is
config.linkerd.io/proxy-admin-shutdown: enabled
.