Skip to content

Not able to onboard OKE cluster to azure ARC #2881

@roshithrajan

Description

@roshithrajan

Note: For ease of issues and pull requests management and tracking, we kindly ask you to provide a meaningful and concise title to this issue and answer all questions to the best of your ability.

Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora?
no

Describe the issue or the bug
when i tried to onboard OKE cluster to Azure ARC getting below error

az connectedk8s connect --name test --resource-group test-rg
This operation might take a while...

Step: 2024-12-13T12-35-25Z: Validating custom access token
Step: 2024-12-13T12-35-25Z: Checking Provider Registrations
Step: 2024-12-13T12-35-26Z: Setting KubeConfig
Step: 2024-12-13T12-35-26Z: Escape Proxy Settings, if passed in
Step: 2024-12-13T12-35-26Z: Checking Connectivity to Cluster
Unable to verify connectivity to the Kubernetes cluster.
Error occured while connecting to the kubernetes cluster:
Error Response: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Unauthorized","reason":"Unauthorized","code":401}

To Reproduce

Expected behavior

Environment summary

Have you looked at the Troubleshooting and Logs section?

Screenshots

Additional context

Metadata

Metadata

Assignees

Labels

Upstream-Bug-IssueRelated to non-Jumpstart, Azure upstream product bug or an issueUser-Fix-ErrorFixed by the user or user error

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions