-
Notifications
You must be signed in to change notification settings - Fork 360
Inspecting blobstore cc resources and cc packages(webdav)
Renee Chu edited this page May 23, 2019
·
3 revisions
dora app includes both source code and vendored packages
z dora
tree
.
├── Gemfile
├── dora.rb
[...]
├── scripts
│ ├── README.md
│ ├── clean\ up\ map\ script
[...]
│ └── scale_dora
├── spec
│ ├── curl_spec.rb
│ ├── instances_spec.rb
[...]
├── stress
├── stress_testers.rb
└── vendor
└── cache
├── json-2.1.0.gem
├── rack-2.0.6.gem
[...]
bosh ssh singleton-blobstore
cd /var/vcap/store/shared/cc-resources/app_bits_cache
cc-resources
- cached files
- mostly
bosh ssh singleton-blobstore
cd /var/vcap/store/shared/cc-resources/app_bits_cache
ls
12 15 1c 69 8b b1 ba
find . type f
./69/62/6962a1ca12fd2fd71d7940932ef57559991feabb
./b1/52/b15267e1f94e69238a00a6f1bd48fb7683c03a78
./15/d8/15d8209c5c420a141e38763b153b41e5de2535ba
./8b/9e/8b9e81a2a6ff57f97bec1f65940c61cc6b6d81be
./8b/9e/8b9e81a2a6ff57f97bec1f65940c61cc6b6d81be
> POSIX tar archive
tar -xvf ./8b/9e/8b9e81a2a6ff57f97bec1f65940c61cc6b6d81be
metadata.gz
data.tar.gz
checksums.yaml.gz
gunzip data.tar.gz
data.tar
tar -xvf data.tar
README.md
> "JSON implementation for Ruby"
install.rb
java/src/json/ext/ByteListTranscoder.java
java/src/json/ext/Generator.java
[...]
cc-packages
- compiled / bundled apps
- contains source code AND vendored packages
cd /var/vcap/store/shared/cc-packages
find . -type f
./9a/e6/9ae6806e-743e-429b-8ea0-09b3e4a08f02
./40/37/40374e35-b53d-47a3-8973-d279919c681d # 2 tar'd packages, one for each cf push
file ./9a/e6/9ae6806e-743e-429b-8ea0-09b3e4a08f02
./9a/e6/9ae6806e-743e-429b-8ea0-09b3e4a08f02: Zip archive data, at least v2.0 to extract
unzip -t ./9a/e6/9ae6806e-743e-429b-8ea0-09b3e4a08f02
Archive: ./9a/e6/9ae6806e-743e-429b-8ea0-09b3e4a08f02
testing: .rspec OK
testing: Gemfile OK
testing: dora.rb OK
[...]
testing: vendor/cache/typhoeus-1.3.1.gem OK
testing: vendor/cache/json-2.1.0.gem OK
[...]
-
Pipelines
-
Contributing
- Tips and Tricks
- Cloud Controller API v3 Style Guide
- Playbooks
- Development configuration
- Testing
-
Architectural Details
-
CC Resources
- Apps
- Audit Events
- Deployments
- Labels
- Services
- Sidecars
-
Dependencies
-
Troubleshooting
- Ruby Console Script to Find Fields that Cannot Be Decrypted
- Logging database queries in unit tests
- Inspecting blobstore cc resources and cc packages(webdav)
- How to Use USR1 Trap for Diagnostics
- How to Perf: Finding and Fixing Bottlenecks
- How to get access to mysql database
- How To Get a Ruby Heap Dumps & GC Stats from CC
- How to curl v4 internal endpoints with mtls
- How to access Bosh Director console and restore an outdated Cloud Config
- Analyzing Cloud Controller's NGINX logs using the toplogs script
-
k8s
-
Archive