From 29435726ae77533cdf2d48e394482a6b3c4a30a9 Mon Sep 17 00:00:00 2001 From: Charlie Drage Date: Mon, 3 Dec 2018 15:19:07 -0500 Subject: [PATCH] 0.0.17 Release (#1067) --- README.md | 8 ++++---- docs/cli-reference.md | 24 ++++++++++++++---------- scripts/install.sh | 2 +- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 0d9fd1d7f..0d90187b6 100644 --- a/README.md +++ b/README.md @@ -56,20 +56,20 @@ curl -L https://github.com/redhat-developer/odo/raw/master/scripts/install.sh | ```sh # Binary installation -sudo curl -L https://github.com/redhat-developer/odo/releases/download/v0.0.16/odo-darwin-amd64 -o /usr/local/bin/odo && sudo chmod +x /usr/local/bin/odo +sudo curl -L https://github.com/redhat-developer/odo/releases/download/v0.0.17/odo-darwin-amd64 -o /usr/local/bin/odo && sudo chmod +x /usr/local/bin/odo # Alternative, compressed tarball installation -sudo sh -c 'curl -L https://github.com/redhat-developer/odo/releases/download/v0.0.16/odo-darwin-amd64.gz | gzip -d > /usr/local/bin/odo; chmod +x /usr/local/bin/odo' +sudo sh -c 'curl -L https://github.com/redhat-developer/odo/releases/download/v0.0.17/odo-darwin-amd64.gz | gzip -d > /usr/local/bin/odo; chmod +x /usr/local/bin/odo' ``` #### Linux ```sh # Binary installation -sudo curl -L https://github.com/redhat-developer/odo/releases/download/v0.0.16/odo-linux-amd64 -o /usr/local/bin/odo && sudo chmod +x /usr/local/bin/odo +sudo curl -L https://github.com/redhat-developer/odo/releases/download/v0.0.17/odo-linux-amd64 -o /usr/local/bin/odo && sudo chmod +x /usr/local/bin/odo # Alternative, compressed tarball installation -sudo sh -c 'curl -L https://github.com/redhat-developer/odo/releases/download/v0.0.16/odo-linux-amd64.gz | gzip -d > /usr/local/bin/odo; chmod +x /usr/local/bin/odo' +sudo sh -c 'curl -L https://github.com/redhat-developer/odo/releases/download/v0.0.17/odo-linux-amd64.gz | gzip -d > /usr/local/bin/odo; chmod +x /usr/local/bin/odo' ``` #### Windows diff --git a/docs/cli-reference.md b/docs/cli-reference.md index 03292b5ea..e406464cf 100644 --- a/docs/cli-reference.md +++ b/docs/cli-reference.md @@ -7,14 +7,12 @@ git clone https://github.com/openshift/nodejs-ex && cd nodejs-ex odo create nodejs odo push - + # Accessing your Node.js component odo url create ``` -Odo (OpenShift Do) is a CLI tool for running OpenShift applications in a fast and automated matter. Odo reduces the complexity of deployment by adding iterative development without the worry of deploying your source code. - -Find more information at https://github.com/redhat-developer/odo +Odo (OpenShift Do) is a CLI tool for running OpenShift applications in a fast and automated matter. Odo reduces the complexity of deployment by adding iterative development without the worry of deploying your source code. Find more information at https://github.com/redhat-developer/odo # Syntax @@ -47,7 +45,7 @@ Find more information at https://github.com/redhat-developer/odo #### CLI Structure ```sh -odo --alsologtostderr --log_backtrace_at --log_dir --logtostderr --skip-connection-check --stderrthreshold --v --vmodule : Odo (Openshift Do) +odo --alsologtostderr --log_backtrace_at --log_dir --logtostderr --skip-connection-check --stderrthreshold --v --vmodule : Odo (OpenShift Do) app --short : Perform application operations create --project : Create an application delete --force --project : Delete the given application @@ -67,7 +65,7 @@ odo --alsologtostderr --log_backtrace_at --log_dir --logtostderr --skip-connecti component --short : Components of application. get --app --project --short : Get currently active component set --app --project : Set active component. - create --app --binary --env --git --local --port --project : Create a new component + create --app --binary --cpu --env --git --local --max-cpu --max-memory --memory --min-cpu --min-memory --port --project : Create a new component delete --app --force --project : Delete an existing component describe --app --project : Describe the given component link --app --component --port --project --wait : Link component to a service or component @@ -199,6 +197,15 @@ Catalog related operations # A specific image version may also be specified odo create nodejs:latest + # Passing memory limits + odo create nodejs:latest --memory 150Mi + odo create nodejs:latest --min-memory 150Mi --max-memory 300 Mi + + # Passing cpu limits + odo create nodejs:latest --cpu 2 + odo create nodejs:latest --min-cpu 0.25 --max-cpu 2 + odo create nodejs:latest --min-cpu 200m --max-cpu 2 + # Create new Node.js component named 'frontend' with the source in './frontend' directory odo create nodejs frontend --local ./frontend @@ -445,17 +452,14 @@ Push source code to a component. ```sh # Create new postgresql service from service catalog using dev plan and name my-postgresql-db. odo service create dh-postgresql-apb my-postgresql-db --plan dev -p postgresql_user=luke -p postgresql_password=secret - # Delete the service named 'mysql-persistent' odo service delete mysql-persistent - # List all services in the application odo service list - ``` - Perform service catalog operations, Limited to template service broker only. +Perform service catalog operations, limited to template service broker and OpenShift Ansible Broker only. ## storage diff --git a/scripts/install.sh b/scripts/install.sh index 658d46bf3..efc66bcfa 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -7,7 +7,7 @@ set -e ODO_VERSION="latest" # Latest released odo version -LATEST_VERSION="v0.0.16" +LATEST_VERSION="v0.0.17" GITHUB_RELEASES_URL="https://github.com/redhat-developer/odo/releases/download/${LATEST_VERSION}" BINTRAY_URL="https://dl.bintray.com/odo/odo/latest"