Azure / aksArc

# Welcome to the Azure Kubernetes Service enabled by Azure Arc (AKS Arc) repo This is where the AKS Arc team will track features and issues with AKS Arc. We will monitor this repo in order to engage with our community and discuss questions, customer scenarios, or feature requests. Checkout our projects tab to see the roadmap for AKS Arc!
MIT License
111 stars 45 forks source link

Failed to retrieve azure-arc-onboarding pods #57

Closed Jerwangsample closed 3 years ago

Jerwangsample commented 3 years ago

Describe the bug failed to retrieve azure-arc-onboarding data

To Reproduce Steps to reproduce the behavior:

  1. create cluster
  2. create a Service Principle
  3. Install-AksHciArcOnboarding -clusterName $clusterName -resourcegroup $resourceGroup -location $location -subscriptionid $subscriptionId -clientid $appId -clientsecret $password -tenantid $tenant
  4. kubectl logs job/azure-arc-onboarding -n azure-arc-onboarding --follow

Expected behavior it show ARC related the pods.

Screenshots

Environment (please complete the following information): Name Value


cloudConfigLocation c:\clusterstorage\volume1\Config controlplaneVmSize Standard_K8S3_v1 deploymentType MultiNode vnetType Transparent skipUpdates False vlanID 0 nodeConfigLocation C:\programdata\wssdagent nodeAgentPort 45000 clusterRoleName ca-4f04d38a-4490-48ef-89b6-4032f7ca790e wssdImageDir c:\clusterstorage\volume1\Images vnetName extSwitch stagingShare http://netapplinux.guest.corp.microsoft.com/AzureEdge vippoolStartIP forceDnsReplication False loadBalancerVmSize Standard_K8S_v1 useStagingShare False nodeAgentAuthorizerPort 45001 skipHostLimitChecks False useStagingCR False macPoolEnd cloudServiceCidr sshPublicKey C:\Users\wolfpack.ssh\id_rsa.pub akshciVersion 0.9.4.4 insecure False vippoolEndIP wssdDir C:\wssd macPoolStart

cluster version: Version : v1.18.8

zawachte commented 3 years ago

You need to do ...

Get-AksHciCredential -clusterName $clusterName

Before attempting to view these logs. Need to add this to the script output. thanks.