Skip to content

msjelly/azcmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azcmd

Go implementation equivalent to Azure CLI commands:

  • az network traffic-manager endpoint create --profile <profile-name> -g <resource-group> -n <ep-name> --type externalEndpoints --endpoint-location <location> --taresource-groupet <FQDN|IP>
  • az network traffic-manager endpoint delete --profile <profile-name> -g <resource-group> -n <ep-name> --type externalEndpoints

To build:

  • standalone app - make azcmd
  • containers - make docker-build && make docker-push
  • See Makefile.

To run on k8s cluster, see samples.

  • kubectl apply -f samples/aztmCreate.yaml
  • kubectl apply -f samples/aztmDelete.yaml
  • For authentication/authorization, set label aadpodidbinding. For details, see AAD Pod Identity.

Future work: Currently supports Profile with Performance routing method. Add support for Profile with Weighted routing method. For Endpoint in a Profile with Weighted routing method, Location is not a valid arg and Weight can be specified.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published