Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AKS Kubernetes Version? #148

Closed
jonstelly opened this issue Jul 5, 2021 · 4 comments
Closed

AKS Kubernetes Version? #148

jonstelly opened this issue Jul 5, 2021 · 4 comments

Comments

@jonstelly
Copy link

I'm having some problems with AKS and Virtual Nodes enabled. I'm trying to set up Knative and the knative queue sidecar injects the snippet below which generates the following output on the aci connector: error="failed to sync pod "..." in the provider: unsupported fieldPath: status.podIP".

I now notice that I deployed my AKS cluster as Kubernetes 1.20.7 but the virtual node shows up as 1.18.4. Is that the latest version of the ACI Connector? I'm guessing I should downgrade my kubernetes deployment to a matching version? Or is there some setting to select the version of the ACI Connector I want to use?

If my assumption is correct that this is a versioning issue, it would be nice to call out versioning requirements in the AKS Virtual Node documentation.

        - name: SERVING_POD_IP
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: status.podIP
@feiskyer
Copy link
Collaborator

feiskyer commented Jul 6, 2021

yes, v1.18.4 is the latest version for virtual node (the version is actually client-go version since kubelet is virtual).

@jonstelly
Copy link
Author

After digging into it, it doesn't seem like a version mismatch issue but that the ACI Virtual Kubelet doesn't support the downward API for status.podIP? Are there any workarounds for this?

I'm trying to run Knative on top of an AKS Virtual Node and they require the pod ip.

@feiskyer
Copy link
Collaborator

feiskyer commented Jul 8, 2021

@jonstelly yes, this is known limitation from virtual-kubelet. Refer virtual-kubelet/virtual-kubelet#123.

@helayoty
Copy link
Member

helayoty commented Sep 1, 2022

duplicate #91

@helayoty helayoty closed this as not planned Won't fix, can't repro, duplicate, stale Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants