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

[draft]Start controller #221

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zhiying-lin
Copy link
Contributor

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Requirements:

How has this code been tested

Special notes for your reviewer

userAssignedIdentityID: "7099e851-09b2-4214-ba5f-d4d7de33b8a3"
resourceGroup: "zhiyinglin-fleet-networking-e2e-atm-1"
location: "westcentralus"
vnetName: "my-vnet"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since fleet version has been updated, we do not need this vnetName anymore.

"userAssignedIdentityID": "7099e851-09b2-4214-ba5f-d4d7de33b8a3",
"resourceGroup": "zhiyinglin-fleet-networking-e2e-atm-1",
"location": "westcentralus",
"vnetName": "my-vnet",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

cloud: "AzurePublicCloud"
subscriptionId: "c4528d9e-c99a-48bb-b12d-fde2176a43b8"
useManagedIdentityExtension: true
userAssignedIdentityID: "7099e851-09b2-4214-ba5f-d4d7de33b8a3"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's not leave the clientID in PR.

"cloud": "AzurePublicCloud",
"subscriptionId": "c4528d9e-c99a-48bb-b12d-fde2176a43b8",
"useManagedIdentityExtension": true,
"userAssignedIdentityID": "7099e851-09b2-4214-ba5f-d4d7de33b8a3",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

--vnet-subnet-id "/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.Network/virtualNetworks/$VNET/subnets/$MEMBER_2_SUBNET" \
--enable-managed-identity --assign-identity ${MEMBER_CLUSTER_2_AKS_IDENTITY_ID} --assign-kubelet-identity ${MEMBER_CLUSTER_2_AKS_KUBELET_IDENTITY_ID} \
--no-wait
fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A linebreak here

userAssignedIdentityID: "${HUB_CLUSTER_KUBELET_CLIENT_ID}"
resourceGroup: "${RESOURCE_GROUP}"
location: "${LOCATION}"
vnetName: "my-vnet"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not need this anynore.

userAssignedIdentityID: "${MEMBER_CLUSTER_1_KUBELET_CLIENT_ID}"
resourceGroup: "${AKS_MEMBER_1_NODE_RESOURCE_GROUP}"
location: "${LOCATION}"
vnetName: "my-vnet"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

subscriptionId: "${AZURE_SUBSCRIPTION_ID}"
useManagedIdentityExtension: true
userAssignedIdentityID: "${HUB_CLUSTER_KUBELET_CLIENT_ID}"
resourceGroup: "${RESOURCE_GROUP}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So then in the script, we will create the ATM in the aks resource group.

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

Successfully merging this pull request may close these issues.

2 participants