object-detection --tensorflow.model-fetch=detection_scores,detection_classes,detection_boxes
--tensorflow.object.detection.labels=https://scdf-applications-jars.cfapps.io/label_map.pbtxt
--tensorflow.mode=header --tensorflow.model=https://scdf-applications-jars.cfapps.io/model.pb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:22.04 AS build-app | |
WORKDIR /home/app | |
USER root | |
# Add required libraries | |
RUN apt-get update && apt-get install -y \ | |
curl \ | |
jq \ | |
libnl-3-200 \ |
S3 compatible storage is currently not supported with the S3 source and sink available as app starters for Spring Cloud Data Flow. I added the S3 compatible storage support for new versions of the app starters using Spring Cloud Function available here with more information here.
Archive files built on Jul 8, 2020 (Commit #c397df1) are available here:
http://scdf-applications-jars.cfapps.io/s3-sink-rabbit-3.0.0-SNAPSHOT.jar
http://scdf-applications-jars.cfapps.io/s3-sink-kafka-3.0.0-SNAPSHOT.jar
http://scdf-applications-jars.cfapps.io/s3-source-rabbit-3.0.0-SNAPSHOT.jar
http://scdf-applications-jars.cfapps.io/s3-source-kafka-3.0.0-SNAPSHOT.jar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
export CC_API_URL=https://api.run.pivotal.io | |
curl -G "${CC_API_URL}/v3/packages" \ | |
--data-urlencode "types=docker" \ | |
--data-urlencode "per_page=5000" \ | |
-H "Authorization: $(cf oauth-token)" | jq '.resources[].data?.image?' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
export METRIC_DATA_URL=https://metric-store.run.pivotal.io | |
export APP_GUID=d554cc6d-2f8c-4950-bb97-3cf8805c9b44 | |
export START_TIME=1592995680 | |
export END_TIME=1593082080 | |
echo -e "Issue a PromQL range query against Metric Store data:\n" | |
curl -G "${METRIC_DATA_URL}/api/v1/query_range" \ | |
--data-urlencode "query=avg_over_time(cpu{source_id='${APP_GUID}'}[1m])" \ | |
--data-urlencode "start=${START_TIME}" --data-urlencode "end=${END_TIME}" \ |
- Docker (https://docs.docker.com/install/)
- An image registry like Docker Hub (https://hub.docker.com/)
- Access to a Pivotal Build Service Instance
- Pivotal Network User Account (https://network.pivotal.io)
- pks CLI (https://docs.pivotal.io/pks/1-7/installing-pks-cli.html) (optional)
- Download and install the
pb
CLI from Pivotal Network https://network.pivotal.io/products/build-service
mv pb-0.1.0-darwin pb
- Docker (https://docs.docker.com/install/)
- Install pack on macOS or see https://buildpacks.io/docs/install-pack/ for alternatives
brew install buildpacks/tap/pack
- Clone the sample repository and go to the application directory
- Docker (https://docs.docker.com/install/)
- kubectl (https://kubernetes.io/docs/tasks/tools/install-kubectl/)
- An image registry like Docker Hub (https://hub.docker.com/)
With kind tool (https://github.com/kubernetes-sigs/kind)
- Install kind with go 1.11+ or see https://github.com/kubernetes-sigs/kind for alternatives