зеркало из https://github.com/Azure/aztk.git
Родитель
94e551c8c3
Коммит
cc8b2fcca7
|
@ -27,7 +27,7 @@ This toolkit is built on top of Azure Batch but does not require any Azure Batch
|
|||
```
|
||||
3. Login or register for an [Azure Account](https://azure.microsoft.com), navigate to [Azure Cloud Shell](https://shell.azure.com), and run:
|
||||
```sh
|
||||
wget -q https://raw.githubusercontent.com/Azure/aztk/v0.7.0/account_setup.sh -O account_setup.sh &&
|
||||
wget -q https://raw.githubusercontent.com/Azure/aztk/v0.7.2/account_setup.sh -O account_setup.sh &&
|
||||
chmod 755 account_setup.sh &&
|
||||
/bin/bash account_setup.sh
|
||||
```
|
||||
|
|
|
@ -4,7 +4,7 @@ echo "Installing depdendencies..." &&
|
|||
pip install --force-reinstall --upgrade --user pyyaml==3.12 azure==3.0.0 azure-cli-core==2.0.30 msrestazure==0.4.25 > /dev/null 2>&1 &&
|
||||
echo "Finished installing depdencies." &&
|
||||
echo "Getting account setup script..." &&
|
||||
wget -q https://raw.githubusercontent.com/Azure/aztk/v0.7.0/account_setup.py -O account_setup.py &&
|
||||
wget -q https://raw.githubusercontent.com/Azure/aztk/v0.7.2/account_setup.py -O account_setup.py &&
|
||||
chmod 755 account_setup.py &&
|
||||
echo "Finished getting account setup script." &&
|
||||
echo "Running account setup script..." &&
|
||||
|
|
|
@ -152,7 +152,7 @@ class ClusterConfiguration(ConfigurationBase):
|
|||
)
|
||||
|
||||
if self.custom_scripts:
|
||||
deprecate("Custom scripts are DEPRECATED and will be removed in 0.8.0. Use plugins instead See https://aztk.readthedocs.io/en/v0.7.0/15-plugins.html")
|
||||
deprecate("Custom scripts are DEPRECATED and will be removed in 0.9.0. Use plugins instead See https://aztk.readthedocs.io/en/v0.7.2/15-plugins.html")
|
||||
|
||||
|
||||
class RemoteLogin:
|
||||
|
|
|
@ -13,7 +13,6 @@ docker_repo_name=$2
|
|||
|
||||
echo "Installing pre-reqs"
|
||||
apt-get -y update
|
||||
apt-get install -y --no-install-recommends linux-image-extra-$(uname -r) linux-image-extra-virtual
|
||||
apt-get install -y --no-install-recommends apt-transport-https
|
||||
apt-get install -y --no-install-recommends curl
|
||||
apt-get install -y --no-install-recommends ca-certificates
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# DEALINGS IN THE SOFTWARE.
|
||||
major = 0
|
||||
minor = 7
|
||||
patch = 1
|
||||
patch = 2
|
||||
|
||||
suffix = ''
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Job Configuration
|
||||
# An Aztk Job is a cluster and an array of Spark applications to run on that cluster
|
||||
# AZTK Spark Jobs will automatically manage the lifecycle of the cluster
|
||||
# For more information see the documentation at: https://github.com/Azure/aztk/blob/v0.7.0/docs/70-jobs.md
|
||||
# For more information see the documentation at: https://github.com/Azure/aztk/blob/v0.7.2/docs/70-jobs.md
|
||||
|
||||
job:
|
||||
id:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# For instructions on creating a Batch and Storage account, see
|
||||
# Getting Started (https://github.com/Azure/aztk/blob/v0.7.0/docs/00-getting-started.md)
|
||||
# Getting Started (https://github.com/Azure/aztk/blob/v0.7.2/docs/00-getting-started.md)
|
||||
# NOTE - YAML requires a space after the colon. Ex: "batchaccountname: mybatchaccount"
|
||||
|
||||
service_principal:
|
||||
|
|
|
@ -14,7 +14,7 @@ The script outputs all of the necessary information to use `aztk`, just copy the
|
|||
## Usage
|
||||
Copy and paste the following into an [Azure Cloud Shell](https://shell.azure.com):
|
||||
```sh
|
||||
wget -q https://raw.githubusercontent.com/Azure/aztk/v0.7.0/account_setup.sh &&
|
||||
wget -q https://raw.githubusercontent.com/Azure/aztk/v0.7.2/account_setup.sh &&
|
||||
chmod 755 account_setup.sh &&
|
||||
/bin/bash account_setup.sh
|
||||
```
|
||||
|
|
|
@ -17,7 +17,7 @@ aztk spark cluster create ... --docker-repo aztk/base:spark1.6.3
|
|||
```
|
||||
|
||||
## Using a custom Docker Image
|
||||
You can build your own Docker image on top or beneath one of our supported base images _OR_ you can modify the [supported Dockerfiles](https://github.com/Azure/aztk/tree/v0.7.0/docker-image) and build your own image that way.
|
||||
You can build your own Docker image on top or beneath one of our supported base images _OR_ you can modify the [supported Dockerfiles](https://github.com/Azure/aztk/tree/v0.7.2/docker-image) and build your own image that way.
|
||||
|
||||
Once you have your Docker image built and hosted publicly, you can then use the **--docker-repo** parameter in your **aztk spark cluster create** command to point to it.
|
||||
|
||||
|
@ -92,4 +92,4 @@ If you are using your own version of Spark, make that it is symlinked by "/home/
|
|||
## Hosting your Docker Image
|
||||
By default, aztk assumes that your Docker images are publicly hosted on Docker Hub. However, we also support hosting your images privately.
|
||||
|
||||
See [here](https://github.com/Azure/aztk/blob/v0.7.0/docs/12-docker-image.md#using-a-custom-docker-image-that-is-privately-hosted) to learn more about using privately hosted Docker Images.
|
||||
See [here](https://github.com/Azure/aztk/blob/v0.7.2/docs/12-docker-image.md#using-a-custom-docker-image-that-is-privately-hosted) to learn more about using privately hosted Docker Images.
|
||||
|
|
Загрузка…
Ссылка в новой задаче