-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
Kubernetes has introduced native sidecar support in version 1.28. This feature improves network proxy sidecar compatability for jobs and initContainers. Introduce a new annotation config.alpha.linkerd.io/proxy-enable-native-sidecar and configuration option Proxy.NativeSidecar that causes the proxy container to run as an init-container. Fixes: #11461 Signed-off-by: TJ Miller <[email protected]>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: web | ||
namespace: emojivoto | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: web-svc | ||
template: | ||
metadata: | ||
labels: | ||
app: web-svc | ||
spec: | ||
containers: | ||
- env: | ||
- name: WEB_PORT | ||
value: "80" | ||
- name: EMOJISVC_HOST | ||
value: emoji-svc.emojivoto:8080 | ||
- name: VOTINGSVC_HOST | ||
value: voting-svc.emojivoto:8080 | ||
- name: INDEX_BUNDLE | ||
value: dist/index_bundle.js | ||
image: buoyantio/emojivoto-web:v10 | ||
name: web-svc | ||
ports: | ||
- containerPort: 80 | ||
name: http | ||
--- |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
deployment "web" injected | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
√ pods do not use host networking | ||
√ pods do not have a 3rd party proxy or initContainer already injected | ||
√ pods are not annotated to disable injection | ||
√ at least one resource can be injected or annotated | ||
√ pod specs do not include UDP ports | ||
√ pods do not have automountServiceAccountToken set to "false" or service account token projection is enabled | ||
|
||
deployment "web" injected | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.