Skip to content

Arc Platform GA changes#3880

Merged
zhoxing-ms merged 14 commits intoAzure:mainfrom
atharvamulmuley:ArcplatformGAChanges
Oct 5, 2021
Merged

Arc Platform GA changes#3880
zhoxing-ms merged 14 commits intoAzure:mainfrom
atharvamulmuley:ArcplatformGAChanges

Conversation

@atharvamulmuley
Copy link
Copy Markdown
Contributor


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Sep 10, 2021

k8s


with self.command_group('connectedk8s', connectedk8s_sdk_prev, client_factory=cf_connected_cluster_prev_2021_04_01) as g:
g.custom_command('proxy', 'client_side_proxy_wrapper', is_preview=True)
pass
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

pass

Do we require this block now ?.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

we dont require it now, but kept it so that it is easier to add preview commands in future. it wont affect the functionality since we have a pass statement.

# --------------------------------------------------------------------------

VERSION = "1.0.0"
VERSION = "1.0.0b1"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is this version looking like this ?. Compared to the before one ?.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

we haven't made this change. track-2 sdk team made this change.

CC_Provider_Namespace_Not_Registered_Fault_Type = "Connected Cluster Provider MS.K8 namespace not registered"
Default_Namespace_Does_Not_Exist_Fault_Type = "The default namespace defined in the kubeconfig doesn't exist on the kubernetes cluster."
CLIENT_PROXY_VERSION = '1.1.0'
CLIENT_PROXY_VERSION = '1.3.017131'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We would also need to update the HISTORY.rst & setup.py file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

thanks for pointing out. I have made the change.

@rapatchi
Copy link
Copy Markdown
Contributor

Not sure what got finally decided but. Please close on if we are going to use CDN for downloading the CSP binary.


Release History
===============
1.1.11
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This needs to change to 1.1.12 as we recently released the HELM client fix with 1.1.11

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please merge with latest main branch

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

merged latest main.

# Fetching hybrid connection details from Userrp
try:
list_prop = ListClusterUserCredentialsProperties(
list_prop = ListClusterUserCredentialProperties(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we also decided in the last scrum to move CSP bits also to Azure CDN endpoint instead of the storage blob endpoint.
Also, the manifest rollout in FF will complete on monday night. We should not release before tuesday.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

made changes to use cdn endpoint for csp

Copy link
Copy Markdown
Contributor

@akashkeshari akashkeshari left a comment

Choose a reason for hiding this comment

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

left some comments

cloud = send_cloud_telemetry(cmd)
if cloud == consts.Azure_USGovCloudName:
telemetry.set_debug_info('User tried proxy command in fairfax')
raise ClientRequestError(f'Cluster Connect feature is not yet available in {consts.Azure_USGovCloudName}')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if we are raising an exception, we should collect exception telemetry as well. Define a fault type for this error

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

added a telemetry exception as you asked.

CC_Provider_Namespace_Not_Registered_Fault_Type = "Connected Cluster Provider MS.K8 namespace not registered"
Default_Namespace_Does_Not_Exist_Fault_Type = "The default namespace defined in the kubeconfig doesn't exist on the kubernetes cluster."
CLIENT_PROXY_VERSION = '1.1.0'
ClusterConnect_Not_Present_Fault_Type = "Cluster connect feature not present in the chosen cloud."
Copy link
Copy Markdown
Contributor

@akashkeshari akashkeshari Sep 28, 2021

Choose a reason for hiding this comment

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

pls change "Cluster connect feature not present in the chosen cloud." to "cluster-connect-feature-unavailable"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

@zhoxing-ms zhoxing-ms merged commit d867f98 into Azure:main Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants