AzureContainers
R package for working with containers in Azure: ACI, ACR, AKS
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.6%) to scientific vocabulary
Keywords
Repository
R package for working with containers in Azure: ACI, ACR, AKS
Basic Info
- Host: GitHub
- Owner: Azure
- License: other
- Language: R
- Default Branch: master
- Size: 642 KB
Statistics
- Stars: 27
- Watchers: 19
- Forks: 13
- Open Issues: 2
- Releases: 0
Topics
Metadata Files
README.md
AzureContainers 
A package for working with Azure Container Registry (ACR), Azure Kubernetes Service (AKS) and Azure Container Instances (ACI). Extends the Azure Resource Manager interface provided by the AzureRMR package.
AzureContainers lets you build and deploy containerised services in R, using Docker and Kubernetes. For full functionality, you should have Docker installed, as well as the kubectl and helm commandline tools. Otherwise it is relatively lightweight, requiring neither Powershell nor Python.
Note that AzureContainers can talk to any Docker registry that uses the V2 HTTP API, not just those created via ACR. Similarly, it can interface with Kubernetes clusters anywhere, not just those created via AKS.
The primary repo for this package is at https://github.com/Azure/AzureContainers; please submit issues and PRs there. It is also mirrored at the Cloudyr org at https://github.com/cloudyr/AzureContainers. You can install the development version of the package with devtools::install_github("Azure/AzureContainers").
Example workflow
Here is a sample R workflow to package up an R model as a container, deploy it to a Kubernetes cluster, and expose it as a service.
```r library(AzureContainers)
az <- AzureRMR::getazurelogin() resgroup <- az$ getsubscription("<subscriptionid>")$ createresourcegroup("myresgroup", location="australiaeast")
create container registry
acr <- resgroup$create_acr("myacr", location="australiaeast")
create Docker image from a predefined Dockerfile
call_docker("build -t newcontainer .")
get registry endpoint, upload image
reg <- acr$getdockerregistry() reg$push("newcontainer")
create Kubernetes cluster with 2 nodes
aks <- resgroup$createaks("myakscluster", location="australiaeast", agentpools=agent_pool("pool1", 2))
give the cluster pull access to the registry
acr$addroleassignment(aks, "Acrpull")
get cluster endpoint, deploy from ACR to AKS with predefined yaml definition file
clus <- aks$get_cluster() clus$create("model1.yaml") clus$get("service") ```
Owner
- Name: Microsoft Azure
- Login: Azure
- Kind: organization
- Location: United States of America
- Website: https://docs.microsoft.com/en-us/azure/
- Twitter: Azure
- Repositories: 2,270
- Profile: https://github.com/Azure
APIs, SDKs and open source projects from Microsoft Azure
GitHub Events
Total
- Watch event: 1
- Delete event: 1
- Push event: 5
- Pull request event: 2
- Fork event: 2
- Create event: 1
Last Year
- Watch event: 1
- Delete event: 1
- Push event: 5
- Pull request event: 2
- Fork event: 2
- Create event: 1
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Hong Ooi | h****i@m****m | 162 |
| Hong Ooi | h****3@g****m | 5 |
| microsoft-github-policy-service[bot] | 7****] | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 14
- Total pull requests: 8
- Average time to close issues: 22 days
- Average time to close pull requests: 8 days
- Total issue authors: 6
- Total pull request authors: 2
- Average comments per issue: 1.29
- Average comments per pull request: 0.0
- Merged pull requests: 8
- Bot issues: 1
- Bot pull requests: 1
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- hongooi73 (9)
- microsoft-github-policy-service[bot] (1)
- MislavSag (1)
- dareneiri (1)
- Emily-Chai (1)
- martinctc (1)
Pull Request Authors
- hongooi73 (7)
- microsoft-github-policy-service[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 896 last-month
- Total docker downloads: 42,005
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 12
- Total maintainers: 1
cran.r-project.org: AzureContainers
Interface to 'Container Instances', 'Docker Registry' and 'Kubernetes' in 'Azure'
- Homepage: https://github.com/Azure/AzureContainers https://github.com/Azure/AzureR
- Documentation: http://cran.r-project.org/web/packages/AzureContainers/AzureContainers.pdf
- License: MIT + file LICENSE
-
Latest release: 1.3.3
published 10 months ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.3 depends
- AzureGraph >= 1.1.0 imports
- AzureRMR >= 2.0.0 imports
- R6 * imports
- httr * imports
- openssl * imports
- processx * imports
- utils * imports
- AzureKeyVault * suggests
- MASS * suggests
- RestRserve * suggests
- bcrypt * suggests
- knitr * suggests
- plumber * suggests
- randomForest * suggests
- rmarkdown * suggests
- testthat * suggests
- uuid * suggests
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc master composite
- r-lib/actions/setup-r master composite
