diff --git a/README.md b/README.md index fc3101b..7a14baf 100644 --- a/README.md +++ b/README.md @@ -93,13 +93,14 @@ We offer three installation methods: - kubectl (can be installed via `gcloud components install kubectl`) - Docker for Desktop (Mac/Windows): It provides Kubernetes support as [noted here](https://docs.docker.com/docker-for-mac/kubernetes/). - - [skaffold](https://github.com/GoogleContainerTools/skaffold/#installation) + - [skaffold](https://skaffold.dev/docs/getting-started/#installing-skaffold) (ensure version ≥v0.20) 1. Launch “Docker for Desktop”. Go to Preferences: - choose “Enable Kubernetes”, - set CPUs to at least 3, and Memory to at least 6.0 GiB + - on the "Disk" tab, set at least 32 GB disk space 1. Run `kubectl get nodes` to verify you're connected to “Kubernetes on Docker”. @@ -253,6 +254,15 @@ by deploying the [release manifest](./release) directly to an existing cluster. curl -v "http://$INGRESS_HOST" ``` +### Cleanup + +If you've deployed the application with `skaffold run` command, you can run +`skaffold delete` to clean up the deployed resources. + +If you've deployed the application with `kubectl apply -f [...]`, you can +run `kubectl delete -f [...]` with the same argument to clean up the deployed +resources. + ## Conferences featuring Hipster Shop - [Google Cloud Next'18 London – Keynote](https://youtu.be/nIq2pkNcfEI?t=3071) diff --git a/docs/development-principles.md b/docs/development-principles.md index 0deae0c..2e840f2 100644 --- a/docs/development-principles.md +++ b/docs/development-principles.md @@ -5,7 +5,7 @@ ### Minimal configuration -Running the demo locally or on GCP should not require minimal to no +Running the demo locally or on GCP should require minimal to no configuration unless absolutely necessary to run critical parts of the demo. Configuration that takes multiple steps, especially such as creating service diff --git a/docs/img/architecture-diagram.png b/docs/img/architecture-diagram.png index 91a8a18..c95d84b 100644 Binary files a/docs/img/architecture-diagram.png and b/docs/img/architecture-diagram.png differ diff --git a/istio-manifests/whitelist-egress-currencyprovider.yaml b/hack/license_header.txt similarity index 69% rename from istio-manifests/whitelist-egress-currencyprovider.yaml rename to hack/license_header.txt index 8523fc0..2e94f3e 100644 --- a/istio-manifests/whitelist-egress-currencyprovider.yaml +++ b/hack/license_header.txt @@ -11,18 +11,3 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - -apiVersion: networking.istio.io/v1alpha3 -kind: ServiceEntry -metadata: - name: currency-provider-external -spec: - hosts: - - www.ecb.europa.eu - ports: - - number: 80 - name: http - protocol: HTTP - - number: 443 - name: https - protocol: HTTPS diff --git a/hack/make-release-artifacts.sh b/hack/make-release-artifacts.sh index 2a14ae5..10fcb25 100755 --- a/hack/make-release-artifacts.sh +++ b/hack/make-release-artifacts.sh @@ -27,12 +27,35 @@ TAG="${TAG:?TAG env variable must be specified}" REPO_PREFIX="${REPO_PREFIX:?REPO_PREFIX env variable must be specified}" OUT_DIR="${OUT_DIR:-${SCRIPTDIR}/../release}" +print_license_header() { + cat "${SCRIPTDIR}/license_header.txt" + echo +} + +print_autogenerated_warning() { + cat<