virtual-kubelet / azure-aci

Things related to Azure Container Instances for Virtual Kubelet
Apache License 2.0
89 stars 71 forks source link

No metrics from Windows Containers #112

Open henrikrox opened 5 years ago

henrikrox commented 5 years ago

Environment summary

Provider (e.g. ACI, AWS Fargate, Hyper) ACI

Version (e.g. 0.1, 0.2-beta)

K8s Master Info (e.g. AKS, ACS, Bare Metal, EKS) AKS

Install Method (e.g. Helm Chart, ) Helm

Issue Details

Deployed this test app

apiVersion: apps/v1 kind: Deployment metadata: name: nanoserver-iis spec: replicas: 1 selector: matchLabels: app: nanoserver-iis template: metadata: labels: app: nanoserver-iis spec: containers:

  • name: nanoserver-iis image: microsoft/iis:nanoserver ports:
    • containerPort: 80 nodeSelector: beta.kubernetes.io/os: windows kubernetes.io/role: agent type: virtual-kubelet tolerations:
  • key: virtual-kubelet.io/provider operator: Equal value: azure effect: NoSchedule

But get no metrics from either the kubernetes dashboard or azure container instances, shows 0 for memory and 0 for cpu. Also during stress testing. The virtual kubelet windows node also doesnt report any metrics. All outpund ports on the cluster is opened for testing purposes.

Repo Steps

Install AKS, install virtual kubelet, install kubernetes dashboard, run the iis deployment

https://imgur.com/a/TF6Ckln

rbitia commented 5 years ago

Known issue with ACI. We don't support much yet. @dkkapur to comment more

srrengar commented 5 years ago

Metrics with Windows containers in ACI is forthcoming in the next few months and will be the same as the Linux container metrics plus a few more. We will keep you updated!

feiskyer commented 3 years ago

@rbitia @MikkelHegn any updates for the above https://github.com/virtual-kubelet/azure-aci/issues/112#issuecomment-466593435?

helayoty commented 1 year ago

@srrengar @feiskyer What is the status for this issue?