Skip to content

Commit 4a476ff

Browse files
authored
Merge pull request #105239 from stijndehaes/patch-1
Fix the default port for proxy sidecar port in the docs
2 parents 743ef93 + 567f85a commit 4a476ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/aks/workload-identity-migrate-from-pod-identity.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ If your application is using managed identity and still relies on IMDS to get an
120120
To update or deploy the workload, add these pod annotations only if you want to use the migration sidecar. You inject the following [annotation][pod-annotations] values to use the sidecar in your pod specification:
121121

122122
* `azure.workload.identity/inject-proxy-sidecar` - value is `true` or `false`
123-
* `azure.workload.identity/proxy-sidecar-port` - value is the desired port for the proxy sidecar. The default value is `8080`.
123+
* `azure.workload.identity/proxy-sidecar-port` - value is the desired port for the proxy sidecar. The default value is `8000`.
124124

125125
When a pod with the above annotations is created, the Azure Workload Identity mutating webhook automatically injects the init-container and proxy sidecar to the pod spec.
126126

@@ -148,7 +148,7 @@ spec:
148148
runAsUser: 0
149149
env:
150150
- name: PROXY_PORT
151-
value: "8080"
151+
value: "8000"
152152
containers:
153153
- name: nginx
154154
image: nginx:alpine
@@ -157,7 +157,7 @@ spec:
157157
- name: proxy
158158
image: mcr.microsoft.com/oss/azure/workload-identity/proxy:v0.13.0
159159
ports:
160-
- containerPort: 8080
160+
- containerPort: 8000
161161
```
162162
163163
This configuration applies to any configuration where a pod is being created. After updating or deploying your application, you can verify the pod is in a running state using the [kubectl describe pod][kubectl-describe] command. Replace the value `podName` with the image name of your deployed pod.
@@ -210,4 +210,4 @@ This article showed you how to set up your pod to authenticate using a workload
210210

211211
<!-- EXTERNAL LINKS -->
212212
[kubectl-describe]: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#describe
213-
[kubelet-logs]: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#logs
213+
[kubelet-logs]: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#logs

0 commit comments

Comments
 (0)