| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This project uses Chef's Omnibus toolchain to create full-stack platform-specific 3scale-toolbox packages.
Support for running 3scale-toolbox on the following platforms will be provided on a best-effort basis.
Download packages from latest release section.
rpm -Uvh `URL_RPM_PACKAGE`Files will be installed in /opt/3scale-toolbox
3scale helpwget `URL_DEB_PACKAGE`dpkg -i 3scale-toolbox_VERSION.debFiles will be installed in /opt/3scale-toolbox
3scale helpcurl -sSL https://get.rvm.io | bash -s stablervm install 2.7.1rvm use 2.7.1gem install 3scale_toolbox3scale helpRequires 64 bit Windows 10.
Download and install MSI package.
By default, the toolbox will be installed in C:\3scale-toolbox.
[Optional] Add C:\3scale-toolbox\embedded\bin to the PATH env var.
From you command shell, test executing the help command.
C:\> .\3scale-toolbox\embedded\bin\3scale helpDocker repository
quay.io/redhat/3scale-toolbox
docker run --rm quay.io/redhat/3scale-toolbox 3scale helpAlso working with Openshift.
3scale remote add 3scale-instance "https://123...456@MY-TENANT-admin.3scale.net/"
kubectl create secret generic 3scale-toolbox --from-file="$HOME/.3scalerc.yaml"Write the following yaml template content in a file called toolbox-job.yaml.
apiVersion: batch/v1
kind: Job
metadata:
name: toolbox
spec:
backoffLimit: 4
activeDeadlineSeconds: 300
template:
spec:
restartPolicy: Never
containers:
- name: toolbox-job
image: quay.io/redhat/3scale-toolbox
env:
- name: HOME
value: /var/lib/toolbox
args:
- 3scale
- remote
- list
volumeMounts:
- name: toolbox-config
mountPath: /var/lib/toolbox
volumes:
- name: toolbox-config
secret:
secretName: 3scale-toolboxDeploy the job
kubectl create -f toolbox-job.yamlCheck on the status of the Job
$ kubectl describe jobs/toolbox
Name: toolbox
Namespace: test
Selector: controller-uid=057ec3ff-fa45-11e9-b43e-065562ed0850
Labels: controller-uid=057ec3ff-fa45-11e9-b43e-065562ed0850
job-name=toolbox
Annotations: <none>
Parallelism: 1
Completions: 1
Start Time: Tue, 29 Oct 2019 13:09:56 +0100
Completed At: Tue, 29 Oct 2019 13:10:13 +0100
Duration: 17s
Active Deadline Seconds: 300s
Pods Statuses: 0 Running / 1 Succeeded / 0 Failed
Pod Template:
Labels: controller-uid=057ec3ff-fa45-11e9-b43e-065562ed0850
job-name=toolbox
Containers:
toolbox-job:
Image: quay.io/redhat/3scale-toolbox
Port: <none>
Host Port: <none>
Args:
3scale
remote
list
Environment:
HOME: /var/lib/toolbox
Mounts:
/var/lib/toolbox from toolbox-config (rw)
Volumes:
toolbox-config:
Type: Secret (a volume populated by a Secret)
SecretName: 3scale-toolbox
Optional: false
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfulCreate 24s job-controller Created pod: toolbox-94xsgrvm use system
3scale helpenv -u GEM_PATH 3scale help| Back | FazBrowse Home | New Git URL |