cfdev

command module
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

README

CF Dev

start


CF Dev is a distribution of Cloud Foundry designed to run on a developer’s laptop or workstation using native hypervisors and a fully functional BOSH Director. CF Dev gives application developers the full Cloud Foundry experience in a lightweight, easy to install package. CF Dev is intended for application developers who wish to develop and debug their application locally on a full-featured Cloud Foundry. CF Dev is also an excellent getting started environment for developers interested in learning and exploring Cloud Foundry.

  • Operating system: MacOS 10.12+/Windows 10+/Linux (Note: Only the Ubuntu distro is currently suppported)
  • CPU: 2 Cores or more
  • Memory: 8 Gigabytes available memory
  • Disk: 60GB flash storage
  • Dependencies: QEMU and Libvirt for Linux
    • Ubuntu: sudo apt install qemu-kvm libvirt-bin libvirt-doc

Getting Started

Install
  1. Install the CF CLI
  2. Install the CF Dev plugin cf install-plugin -r CF-Community cfdev
  3. Run CF Dev cf dev start

Note: For more installation and configuration options, please see the FAQ.

Use BOSH
  1. Install BOSH CLI v2.
  2. Set environment variables to point BOSH to your CF Dev instance
    • Unix: eval "$(cf dev bosh env)"
    • Windows: cf dev bosh env | Invoke-Expression
  3. Run BOSH bosh <command you want to run>
Uninstall

To stop CF Dev run cf dev stop. This will completely stop and destroy the CF Dev VM.

To uninstall the CF Dev cf CLI plugin run cf uninstall-plugin cfdev.

To reclaim consumed disk space, delete your CF Dev directory:

  • Unix: rm -rf ~/.cfdev
  • Windows Remove-Item -Recurse ~/.cfdev

Features

  • Insecure Docker Registries: Invoke cf dev start with the -r flag to specify a comma separated list of insecure docker registries that will be available for use during the cf push process.

  • Proxy Support: Export HTTP_PROXY, HTTPS_PROXY, NO_PROXY environment variables during your terminal session to have them respected during the start process and within your CF Dev virtual machine. Not yet supported on the Linux platform.

  • Host Access: Access the host machine from within application containers using the host.cfdev.sh domain name.

  • TCP Routing: You can learn more about TCP Routing from within the Cloud Foundry platform here.

Telemetry

Here on the CF Dev team, we use telemetry to help us understand how our tool is being used. We value our users privacy, therefore all telemetry is completely anonymous. There is no way for anyone with the telemetry to identify who is using the CF Dev tool. In an effort to make our data as transparent as possible, we will be publishing aggregated anonymous usage data to this page periodically to help our user community understand how the tool is being used.

In addition to making this data completely anonymous, we require users to opt-in to allowing us to collect telemetry from their tool. Upon running $ cf dev start for the first time, we will prompt the user to opt-in to capturing analytics. Any time after that you can turn on/off telemetry by running $ cf dev telemetry --on/off.

You can learn more about what we do with telemetry here

Community

FAQ

See FAQ.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
cmd
bosh/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
deploy-service/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
provision/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
start/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
stop/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
telemetry/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
version/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
hyperv/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
kvm
pkg
analyticsd/command/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
analyticsd/daemon/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
analyticsd/segment/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
cfdevd/cmd/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL